summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/processor.h
diff options
context:
space:
mode:
authorzijun_hu <zijun_hu@htc.com>2016-09-01 13:51:19 +0300
committerWill Deacon <will.deacon@arm.com>2016-09-01 13:54:19 +0300
commita842789837c0e3734357c6b4c54d39d60a1d24b1 (patch)
tree5b7c0e67281f38687b95088ff05e742c831e26e1 /arch/arm64/include/asm/processor.h
parent3a402a709500c5a3faca2111668c33d96555e35a (diff)
downloadlinux-a842789837c0e3734357c6b4c54d39d60a1d24b1.tar.xz
arm64: remove duplicate macro __KERNEL__ check
remove duplicate macro __KERNEL__ check Signed-off-by: zijun_hu <zijun_hu@htc.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/processor.h')
-rw-r--r--arch/arm64/include/asm/processor.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h
index ace0a96e7d6e..df2e53d3a969 100644
--- a/arch/arm64/include/asm/processor.h
+++ b/arch/arm64/include/asm/processor.h
@@ -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? */