diff mbox

Trivial patch to fix compilation for Armulator

Message ID w4zkmcamoz.wl%peter@chubb.wattle.id.au (mailing list archive)
State New, archived
Headers show

Commit Message

Peter Chubb May 24, 2011, 1:53 a.m. UTC
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 <peter.chubb@nicta.com.au>



--
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
diff mbox

Patch

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