-#ifndef _POWERPC_KDEBUG_H
-#define _POWERPC_KDEBUG_H 1
+#ifndef _ASM_POWERPC_KDEBUG_H
+#define _ASM_POWERPC_KDEBUG_H
+#ifdef __KERNEL__
/* nearly identical to x86_64/i386 code */
return notifier_call_chain(&powerpc_die_chain, val, &args);
}
-#endif
+#endif /* __KERNEL__ */
+#endif /* _ASM_POWERPC_KDEBUG_H */