patch-2.4.20 linux-2.4.20/include/asm-i386/pgtable-2level.h

Next file: linux-2.4.20/include/asm-i386/pgtable-3level.h
Previous file: linux-2.4.20/include/asm-i386/msr.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-i386/pgtable-2level.h linux-2.4.20/include/asm-i386/pgtable-2level.h
@@ -40,6 +40,8 @@
  * hook is made available.
  */
 #define set_pte(pteptr, pteval) (*(pteptr) = pteval)
+#define set_pte_atomic(pteptr, pteval) (*(pteptr) = pteval)
+
 /*
  * (pmds are folded into pgds so this doesnt get actually called,
  * but the define is needed for a generic inline function.)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)