[PATCH] iscsi gfp_t annotations
[powerpc.git] / kernel / sys.c
index 3e33213..eecf845 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <linux/compat.h>
 #include <linux/syscalls.h>
+#include <linux/kprobes.h>
 
 #include <asm/uaccess.h>
 #include <asm/io.h>
@@ -168,7 +169,7 @@ EXPORT_SYMBOL(notifier_chain_unregister);
  *     of the last notifier function called.
  */
  
-int notifier_call_chain(struct notifier_block **n, unsigned long val, void *v)
+int __kprobes notifier_call_chain(struct notifier_block **n, unsigned long val, void *v)
 {
        int ret=NOTIFY_DONE;
        struct notifier_block *nb = *n;
@@ -386,7 +387,7 @@ void kernel_restart_prepare(char *cmd)
 /**
  *     kernel_restart - reboot the system
  *     @cmd: pointer to buffer containing command to execute for restart
- *             or NULL
+ *             or %NULL
  *
  *     Shutdown everything and perform a clean reboot.
  *     This is not safe to call in interrupt context.