diff options
author | James Morse <james.morse@arm.com> | 2016-04-27 18:47:09 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-04-28 13:05:46 +0200 |
commit | 28c7258330ee4ce701a4da7af96d6605d1a0b3bd (patch) | |
tree | 4d9985d60c23230c1c1a264f207cf7c89e3540b8 /arch/arm64/include | |
parent | arm64: kernel: Include _AC definition in page.h (diff) | |
download | linux-28c7258330ee4ce701a4da7af96d6605d1a0b3bd.tar.xz linux-28c7258330ee4ce701a4da7af96d6605d1a0b3bd.zip |
arm64: Promote KERNEL_START/KERNEL_END definitions to a header file
KERNEL_START and KERNEL_END are useful outside head.S, move them to a
header file.
Signed-off-by: James Morse <james.morse@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/memory.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/memory.h b/arch/arm64/include/asm/memory.h index f412f502ccdd..72a3025bb583 100644 --- a/arch/arm64/include/asm/memory.h +++ b/arch/arm64/include/asm/memory.h @@ -87,6 +87,9 @@ #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 4)) +#define KERNEL_START _text +#define KERNEL_END _end + /* * The size of the KASAN shadow region. This should be 1/8th of the * size of the entire kernel virtual address space. |