1 /* $Id: watch.h,v 1.1 1999/09/27 16:01:41 ralf Exp $
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
7 * Copyright (C) 1996, 1997, 1998, 1999 by Ralf Baechle
12 #include <linux/linkage.h>
15 * Types of reference for watch_set()
22 extern char watch_available
;
24 extern asmlinkage
void __watch_set(unsigned long addr
, enum wref_type ref
);
25 extern asmlinkage
void __watch_clear(void);
26 extern asmlinkage
void __watch_reenable(void);
28 #define watch_set(addr, ref) \
29 if (watch_available) \
30 __watch_set(addr, ref)
31 #define watch_clear() \
32 if (watch_available) \
34 #define watch_reenable() \
35 if (watch_available) \