Skip to contentSkip to conversation

ppc RT: smp405.patch

PATCH In review Frank Rowand 1 participant 1 message Mar 8, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 5/5 ppc RT: smp405.patch

Source: MontaVista Software, Inc.

arch/ppc/kernel/head_4xx.S +4 -0
Index: linux-2.6.10/arch/ppc/kernel/head_4xx.S
===================================================================
@@ -1017,6 +1017,10 @@ _GLOBAL(set_context)
 					/* TLBs after changing PID */
 	blr
 
+/* needed to be able to compile with SMP enabled */
+_GLOBAL(__save_cpu_setup)
+	blr
+
 /* We put a few things here that have to be page-aligned. This stuff
  * goes at the beginning of the data segment, which is page-aligned.
  */
arch/ppc/mm/4xx_mmu.c +4 -0
Index: linux-2.6.10/arch/ppc/mm/4xx_mmu.c
===================================================================
@@ -53,6 +53,10 @@
 #include "mmu_decl.h"
 
 extern int __map_without_ltlbs;
+
+/* needed to be able to compile with SMP enabled */
+void hash_page_sync(void) {}
+
 /*
  * MMU_init_hw does the chip-specific initialization of the MMU hardware.
  */
arch/ppc/platforms/4xx/walnut.c +48 -0

60 lines not on this page · raw message