linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Trivial patch to fix compilation for Armulator
@ 2011-05-24  1:53 Peter Chubb
  0 siblings, 0 replies; only message in thread
From: Peter Chubb @ 2011-05-24  1:53 UTC (permalink / raw)
  To: linux-arm-kernel

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>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-24  1:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-24  1:53 Trivial patch to fix compilation for Armulator Peter Chubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).