Skip to contentSkip to conversation

Fix typo in mm/proc-arm7tdmi.S

PATCH New Peter Chubb 2 participants 2 messages May 30, 2011 – May 31, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo in mm/proc-arm7tdmi.S

There's a typo that prevents building for the arm7tdmi: you get an error like `unknown size' from the assembler because symbol __arm7dmi_proc_info is not defined.

arch/arm/mm/proc-arm7tdmi.S +1 -1
Index: linux-2.6/arch/arm/mm/proc-arm7tdmi.S
===================================================================
@@ -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

#1 lore raw

PATCH 1/1 Fix typo in mm/proc-arm7tdmi.S

Hello Peter,

Quoted 5 lines · Peter Chubb

There's a typo that prevents building for the arm7tdmi: you get an error like `unknown size' from the assembler because symbol __arm7dmi_proc_info is not defined.

This was already fixed by Ben Hutchings[1] back in March, but didn't made it in. Ben's patch also fixed the same error in arch/arm/mm/proc-arm9tdmi.S.

I will forward Ben's patch to Russell's patch system.

Best regards
Uwe

[1] http://article.gmane.org/gmane.linux.ports.arm.kernel/109743

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |