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) 2009 Wind River Systems,
7 * written by Ralf Baechle <ralf@linux-mips.org>
12 #include <linux/notifier.h>
22 extern int register_cu2_notifier(struct notifier_block
*nb
);
23 extern int cu2_notifier_call_chain(unsigned long val
, void *v
);
25 #define cu2_notifier(fn, pri) \
27 static struct notifier_block fn##_nb = { \
28 .notifier_call = fn, \
32 register_cu2_notifier(&fn##_nb); \
35 #endif /* __ASM_COP2_H */