summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/kdebug.h
blob: 16578b7c9da12cf3ac7a2100ebaeea7e287fce73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __ASM_SH_KDEBUG_H
#define __ASM_SH_KDEBUG_H

#include <linux/notifier.h>

/* Grossly misnamed. */
enum die_val {
	DIE_TRAP,
	DIE_PAGE_FAULT,
};

int register_page_fault_notifier(struct notifier_block *nb);
int unregister_page_fault_notifier(struct notifier_block *nb);

#endif /* __ASM_SH_KDEBUG_H */