patch-2.4.4 linux/include/asm-sh/pgtable-2level.h

Next file: linux/include/asm-sh/pgtable.h
Previous file: linux/include/asm-sh/pgalloc.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/include/asm-sh/pgtable-2level.h linux/include/asm-sh/pgtable-2level.h
@@ -32,7 +32,7 @@
 static inline int pgd_none(pgd_t pgd)		{ return 0; }
 static inline int pgd_bad(pgd_t pgd)		{ return 0; }
 static inline int pgd_present(pgd_t pgd)	{ return 1; }
-#define pgd_clear(xp)	do { } while (0)
+static inline void pgd_clear (pgd_t * pgd) 	{ }
 
 /*
  * Certain architectures need to do special things when PTEs

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