]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/kprobes.h
[PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / kprobes.h
index 6cd0a3bfa28033a67dd6da3997aff32c6e46127a..0654f79b06df9b81c9c00816ae0a4e9408924c1e 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_KPROBES_H
 #define _ASM_POWERPC_KPROBES_H
+#ifdef __KERNEL__
 /*
  *  Kernel Probes (KProbes)
  *
@@ -78,4 +79,5 @@ static inline int kprobe_exceptions_notify(struct notifier_block *self,
        return 0;
 }
 #endif
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_KPROBES_H */