Trivial patch to fix compilation for Armulator

From: Peter Chubb <hidden>
Date: 2011-05-24 01:53:32

Hi Russell,
	In Linux 2.6.39 as updated today there's a typo in
	arch/arm/mm/proc-arm7tdmi.S that prevents compilation with:

   /tmp/ccPWiEKN.s: Error: .size expression for __arm7tdmi_proc_info
	does not evaluate to a constant

Signed-off-by: Peter Chubb <redacted>

Index: linux-2.6/arch/arm/mm/proc-arm7tdmi.S
===================================================================
--- linux-2.6.orig/arch/arm/mm/proc-arm7tdmi.S	2011-05-24 11:48:03.828496126 +1000
+++ linux-2.6/arch/arm/mm/proc-arm7tdmi.S	2011-05-24 11:48:19.724240476 +1000
@@ -139,21 +139,21 @@ __arm7tdmi_proc_info:
 		.long	0
 		b	__arm7tdmi_setup
 		.long	cpu_arch_name
 		.long	cpu_elf_name
 		.long	HWCAP_SWP | HWCAP_26BIT
 		.long	cpu_arm7tdmi_name
 		.long	arm7tdmi_processor_functions
 		.long	0
 		.long	0
 		.long	v4_cache_fns
-		.size	__arm7tdmi_proc_info, . - __arm7dmi_proc_info
+		.size	__arm7tdmi_proc_info, . - __arm7tdmi_proc_info
 
 		.type	__triscenda7_proc_info, #object
 __triscenda7_proc_info:
 		.long	0x0001d2ff
 		.long	0x0001ffff
 		.long	0
 		.long	0
 		b	__arm7tdmi_setup
 		.long	cpu_arch_name
 		.long	cpu_elf_name


--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help