diff --git a/arch/sh/include/asm/hw_breakpoint.h b/arch/sh/include/asm/hw_breakpoint.h
index 7295d6290249a5059980715a57b0494481e901fc..965dd780d51b9a1b061d3ad1b8d7bac13d7895ac 100644
--- a/arch/sh/include/asm/hw_breakpoint.h
+++ b/arch/sh/include/asm/hw_breakpoint.h
@@ -1,12 +1,12 @@
 #ifndef __ASM_SH_HW_BREAKPOINT_H
 #define __ASM_SH_HW_BREAKPOINT_H
 
-#include <linux/kdebug.h>
-#include <linux/types.h>
-
 #ifdef __KERNEL__
 #define __ARCH_HW_BREAKPOINT_H
 
+#include <linux/kdebug.h>
+#include <linux/types.h>
+
 struct arch_hw_breakpoint {
 	char		*name; /* Contains name of the symbol to set bkpt */
 	unsigned long	address;