2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Copyright (C) 1996, 1997, 1998, 2000, 2001 by Ralf Baechle
11 #include <linux/linkage.h>
14 * Types of reference for watch_set()
21 extern char watch_available;
23 extern asmlinkage void __watch_set(unsigned long addr, enum wref_type ref);
24 extern asmlinkage void __watch_clear(void);
25 extern asmlinkage void __watch_reenable(void);
27 #define watch_set(addr, ref) \
28 if (watch_available) \
29 __watch_set(addr, ref)
30 #define watch_clear() \
31 if (watch_available) \
33 #define watch_reenable() \
34 if (watch_available) \
37 #endif /* __ASM_WATCH_H */