patch-2.4.7 linux/arch/ppc/kernel/ppc_asm.h
Next file: linux/arch/ppc/kernel/prep_setup.c
Previous file: linux/arch/ppc/kernel/pmac_pci.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Thu Jul 19 09:39:44 2001
- Orig file:
v2.4.6/linux/arch/ppc/kernel/ppc_asm.h
- Orig date:
Mon May 21 17:04:47 2001
diff -u --recursive --new-file v2.4.6/linux/arch/ppc/kernel/ppc_asm.h linux/arch/ppc/kernel/ppc_asm.h
@@ -1,5 +1,5 @@
/*
- * BK Id: SCCS/s.ppc_asm.h 1.10 05/17/01 18:14:21 cort
+ * BK Id: SCCS/s.ppc_asm.h 1.14 07/02/01 22:08:05 paulus
*/
/*
* arch/ppc/kernel/ppc_asm.h
@@ -76,6 +76,14 @@
#else
#define SYNC
#endif
+
+#ifndef CONFIG_SMP
+#define TLBSYNC
+#else /* CONFIG_SMP */
+#define TLBSYNC \
+ tlbsync; \
+ sync
+#endif /* CONFIG_SMP */
/*
* This instruction is not implemented on the PPC 603 or 601; however, on
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)