Discussion:
[uClinux-dev] [PATCH] m68knommu: remove no longer used rom_length from Palm/Pilot start up code
gerg
2011-12-22 07:18:27 UTC
Permalink
From: Greg Ungerer <gerg at uclinux.org>

Compiling for the m68knommu/68328 Palm/Pilot target you get:

LD vmlinux
arch/m68k/platform/68328/head.o: In function `L3':
(.text+0x170): undefined reference to `rom_length'

"rom_length" is not used any longer by any of the m68knommu code.
So remove it from here too.

Signed-off-by: Greg Ungerer <gerg at uclinux.org>
---
arch/m68k/platform/68328/head-pilot.S | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/m68k/platform/68328/head-pilot.S b/arch/m68k/platform/68328/head-pilot.S
index aecff53..465ca47 100644
--- a/arch/m68k/platform/68328/head-pilot.S
+++ b/arch/m68k/platform/68328/head-pilot.S
@@ -185,9 +185,6 @@ L3:
moveq #79, %d7
movel %d0, _ramend

- movel %a3, %d0
- movel %d0, rom_length
-
pea 0
pea env
pea %sp@(4)
--
1.7.0.4
Loading...