/*1* This file is subject to the terms and conditions of the GNU General Public2* License. See the file "COPYING" in the main directory of this archive3* for more details.4*5* Copyright (C) 2009 Wind River Systems,6* written by Ralf Baechle <[email protected]>7*/8#ifndef __ASM_COP2_H9#define __ASM_COP2_H1011#include <linux/notifier.h>1213enum cu2_ops {14CU2_EXCEPTION,15CU2_LWC2_OP,16CU2_LDC2_OP,17CU2_SWC2_OP,18CU2_SDC2_OP,19};2021extern int register_cu2_notifier(struct notifier_block *nb);22extern int cu2_notifier_call_chain(unsigned long val, void *v);2324#define cu2_notifier(fn, pri) \25({ \26static struct notifier_block fn##_nb = { \27.notifier_call = fn, \28.priority = pri \29}; \30\31register_cu2_notifier(&fn##_nb); \32})3334#endif /* __ASM_COP2_H */353637