[PATCH] powerpc: sanitize header files for user space includes
[sfrench/cifs-2.6.git] / include / asm-powerpc / kdebug.h
index 9dcbac674811b6094511cb854c5fa4ede8d3156b..7c16265568e0483ebc04b11f7aea695075a45a34 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_KDEBUG_H
 #define _ASM_POWERPC_KDEBUG_H
+#ifdef __KERNEL__
 
 /* nearly identical to x86_64/i386 code */
 
@@ -39,4 +40,5 @@ static inline int notify_die(enum die_val val,char *str,struct pt_regs *regs,lon
        return notifier_call_chain(&powerpc_die_chain, val, &args);
 }
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_KDEBUG_H */