mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
powerpc/vmlinux: Remove etext, edata and end
etext is not used anymore since commit 843a1ffaf6 ("powerpc/mm: use
core_kernel_text() helper")
edata and end have not been used since the merge of arch/ppc/ and
arch/ppc64/
Remove the three and remove macro PROVIDE32.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/d1686d36cdd6b9d681e7ee4dd677c386d43babb1.1736332415.git.christophe.leroy@csgroup.eu
This commit is contained in:
committed by
Madhavan Srinivasan
parent
779c501cab
commit
2c1cbbab62
@@ -1,10 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifdef CONFIG_PPC64
|
||||
#define PROVIDE32(x) PROVIDE(__unused__##x)
|
||||
#else
|
||||
#define PROVIDE32(x) PROVIDE(x)
|
||||
#endif
|
||||
|
||||
#define BSS_FIRST_SECTIONS *(.bss.prominit)
|
||||
#define EMITS_PT_NOTE
|
||||
#define RO_EXCEPTION_TABLE_ALIGN 0
|
||||
@@ -127,7 +121,6 @@ SECTIONS
|
||||
|
||||
. = ALIGN(PAGE_SIZE);
|
||||
_etext = .;
|
||||
PROVIDE32 (etext = .);
|
||||
|
||||
/* Read-only data */
|
||||
RO_DATA(PAGE_SIZE)
|
||||
@@ -394,7 +387,6 @@ SECTIONS
|
||||
|
||||
. = ALIGN(PAGE_SIZE);
|
||||
_edata = .;
|
||||
PROVIDE32 (edata = .);
|
||||
|
||||
/*
|
||||
* And finally the bss
|
||||
@@ -404,7 +396,6 @@ SECTIONS
|
||||
|
||||
. = ALIGN(PAGE_SIZE);
|
||||
_end = . ;
|
||||
PROVIDE32 (end = .);
|
||||
|
||||
DWARF_DEBUG
|
||||
ELF_DETAILS
|
||||
|
||||
@@ -125,8 +125,6 @@ static u32 *kvmppc_mmu_get_pteg(struct kvm_vcpu *vcpu, u32 vsid, u32 eaddr,
|
||||
return (u32*)pteg;
|
||||
}
|
||||
|
||||
extern char etext[];
|
||||
|
||||
int kvmppc_mmu_map_page(struct kvm_vcpu *vcpu, struct kvmppc_pte *orig_pte,
|
||||
bool iswrite)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user