Title: [8742] trunk/arch/blackfin/mach-bf561/secondary.S: bfin: smp: inline _set_sicb_iwr since there is only one caller now
Revision
8742
Author
vapier
Date
2010-05-21 07:48:55 -0400 (Fri, 21 May 2010)

Log Message

bfin: smp: inline _set_sicb_iwr since there is only one caller now

Modified Paths


Diff

Modified: trunk/arch/blackfin/mach-bf561/secondary.S (8741 => 8742)


--- trunk/arch/blackfin/mach-bf561/secondary.S	2010-05-21 11:16:16 UTC (rev 8741)
+++ trunk/arch/blackfin/mach-bf561/secondary.S	2010-05-21 11:48:55 UTC (rev 8742)
@@ -164,17 +164,6 @@
 
 #ifdef CONFIG_HOTPLUG_CPU
 .section ".text"
-ENTRY(_set_sicb_iwr)
-	P0.H = hi(SICB_IWR0);
-	P0.L = lo(SICB_IWR0);
-	P1.H = hi(SICB_IWR1);
-	P1.L = lo(SICB_IWR1);
-	[P0] = R0;
-	[P1] = R1;
-	SSYNC;
-	RTS;
-ENDPROC(_set_sicb_iwr)
-
 ENTRY(_coreb_die)
 	sp.l = lo(INITIAL_STACK);
 	sp.h = hi(INITIAL_STACK);
@@ -187,8 +176,11 @@
 	STI R2;
 
 	R0 = IWR_DISABLE_ALL;
-	R1 = IWR_DISABLE_ALL;
-	call _set_sicb_iwr;
+	P0.H = hi(SYSMMR_BASE);
+	P0.L = lo(SYSMMR_BASE);
+	[P0 + (SICB_IWR0 - SYSMMR_BASE)] = R0;
+	[P0 + (SICB_IWR1 - SYSMMR_BASE)] = R0;
+	SSYNC;
 
 	p0.h = hi(COREB_L1_CODE_START);
 	p0.l = lo(COREB_L1_CODE_START);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to