Skip to contentSkip to conversation

m68knommu: remove extern definitions of memory_start/memory_end from mm/init

PATCH In review [email protected] 2 participants 3 messages Aug 23, 2011 – Aug 24, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index 66512da..3cf5a50 100644
@@ -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
#1 lore raw
Quoted 4 lines · <[email protected]> writes:

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.

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."
#2 lore raw

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_start and memory_end in mm/init_no.c. There are definitions already in asm/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