m68knommu: remove extern definitions of memory_start/memory_end from mm/init
Subsystems (2)
PATCH 1/1 m68knommu: remove extern definitions of memory_start/memory_end from mm/init
From: Greg Ungerer <[email protected]>
We do not need to have local extern definitions of memory_start and memory_end in mm/init_no.c. There are definitions already in asm/page_no.h.
--- arch/m68k/mm/init_no.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
arch/m68k/mm/init_no.c +0 -3
@@ -45,9 +45,6 @@*/ void *empty_zero_page; -extern unsigned long memory_start; -extern unsigned long memory_end; -/* * paging_init() continues the virtual memory environment setup which * was begun by the code in arch/head.S.
Signature · 1 line
1.7.0.4
Quoted 4 lines · <[email protected]> writes:
From: Greg Ungerer <[email protected]>
We do not need to have local extern definitions of
memory_startandmemory_endinmm/init_no.c. There are definitions already inasm/page_no.h.
s/definitions/declarations/
Andreas.
Signature · 3 lines
Andreas Schwab, [email protected] GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Hi Andreas,
Quoted 8 lines · Andreas Schwab
Quoted 4 lines · <[email protected]> writes:
From: Greg Ungerer<[email protected]>
We do not need to have local extern definitions of
memory_startandmemory_endinmm/init_no.c. There are definitions already inasm/page_no.h.s/definitions/declarations/
Yep, I'll change that. Thanks.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: [email protected] SnapGear Group, McAfee PHONE: +61 7 3435 2888 8 Gardner Close FAX: +61 7 3217 5323 Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com