Skip to content

Commit a842789

Browse files
zijun_huwildea01
authored andcommitted
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>
1 parent 3a402a7 commit a842789

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/arm64/include/asm/processor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include <asm/ptrace.h>
3838
#include <asm/types.h>
3939

40-
#ifdef __KERNEL__
4140
#define STACK_TOP_MAX TASK_SIZE_64
4241
#ifdef CONFIG_COMPAT
4342
#define AARCH32_VECTORS_BASE 0xffff0000
@@ -49,7 +48,6 @@
4948

5049
extern phys_addr_t arm64_dma_phys_limit;
5150
#define ARCH_LOW_ADDRESS_LIMIT (arm64_dma_phys_limit - 1)
52-
#endif /* __KERNEL__ */
5351

5452
struct debug_info {
5553
/* Have we suspended stepping by a debugger? */

0 commit comments

Comments
 (0)