diff options
Diffstat (limited to 'kernel/sys.c')
| -rw-r--r-- | kernel/sys.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index bce933ebb29f..eecf84526afe 100644 --- a/kernel/sys.c +++ b/kernel/sys.c | |||
| @@ -32,6 +32,7 @@ | |||
| 32 | 32 | ||
| 33 | #include <linux/compat.h> | 33 | #include <linux/compat.h> |
| 34 | #include <linux/syscalls.h> | 34 | #include <linux/syscalls.h> |
| 35 | #include <linux/kprobes.h> | ||
| 35 | 36 | ||
| 36 | #include <asm/uaccess.h> | 37 | #include <asm/uaccess.h> |
| 37 | #include <asm/io.h> | 38 | #include <asm/io.h> |
| @@ -168,7 +169,7 @@ EXPORT_SYMBOL(notifier_chain_unregister); | |||
| 168 | * of the last notifier function called. | 169 | * of the last notifier function called. |
| 169 | */ | 170 | */ |
| 170 | 171 | ||
| 171 | int notifier_call_chain(struct notifier_block **n, unsigned long val, void *v) | 172 | int __kprobes notifier_call_chain(struct notifier_block **n, unsigned long val, void *v) |
| 172 | { | 173 | { |
| 173 | int ret=NOTIFY_DONE; | 174 | int ret=NOTIFY_DONE; |
| 174 | struct notifier_block *nb = *n; | 175 | struct notifier_block *nb = *n; |
