diff options
author | Geoff Levand <geoff@infradead.org> | 2013-12-14 00:20:13 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-12-20 12:04:48 +0000 |
commit | b22cf637bbaf99d4caf9908997a32f91cdcfae52 (patch) | |
tree | 717a748ba0486a33a66e1c41d094344a7de078b4 /arch/arm64/kernel/vmlinux.lds.S | |
parent | 0a5be743e8c3c3230600fbc0cf923fb5dbefd579 (diff) | |
download | linux-stable-b22cf637bbaf99d4caf9908997a32f91cdcfae52.tar.gz linux-stable-b22cf637bbaf99d4caf9908997a32f91cdcfae52.tar.bz2 linux-stable-b22cf637bbaf99d4caf9908997a32f91cdcfae52.zip |
arm64: Remove unused __data_loc variable
The __data_loc variable is an unused left over from the 32 bit arm implementation.
Remove that variable and adjust the __mmap_switched startup routine accordingly.
Signed-off-by: Geoff Levand <geoff@infradead.org> for Huawei, Linaro
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/arm64/kernel/vmlinux.lds.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.lds.S index 842ca8be5877..4ba7a55b49c7 100644 --- a/arch/arm64/kernel/vmlinux.lds.S +++ b/arch/arm64/kernel/vmlinux.lds.S @@ -99,11 +99,9 @@ SECTIONS . = ALIGN(PAGE_SIZE); _data = .; - __data_loc = _data - LOAD_OFFSET; _sdata = .; RW_DATA_SECTION(64, PAGE_SIZE, THREAD_SIZE) _edata = .; - _edata_loc = __data_loc + SIZEOF(.data); BSS_SECTION(0, 0, 0) _end = .; |