arm64: remove duplicate macro __KERNEL__ check
authorzijun_hu <zijun_hu@htc.com>
Thu, 1 Sep 2016 10:51:19 +0000 (18:51 +0800)
committerWill Deacon <will.deacon@arm.com>
Thu, 1 Sep 2016 10:54:19 +0000 (11:54 +0100)
remove duplicate macro __KERNEL__ check

Signed-off-by: zijun_hu <zijun_hu@htc.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/processor.h

index ace0a96e7d6e756fa54802ab9ac88740b11633d6..df2e53d3a96959430568e8c23509f28cbf8c9142 100644 (file)
@@ -37,7 +37,6 @@
 #include <asm/ptrace.h>
 #include <asm/types.h>
 
-#ifdef __KERNEL__
 #define STACK_TOP_MAX          TASK_SIZE_64
 #ifdef CONFIG_COMPAT
 #define AARCH32_VECTORS_BASE   0xffff0000
@@ -49,7 +48,6 @@
 
 extern phys_addr_t arm64_dma_phys_limit;
 #define ARCH_LOW_ADDRESS_LIMIT (arm64_dma_phys_limit - 1)
-#endif /* __KERNEL__ */
 
 struct debug_info {
        /* Have we suspended stepping by a debugger? */