All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 3/16] remove PageSkip() macros
@ 2002-06-01  8:40 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2002-06-01  8:40 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: lkml



Remove some unused PageSkip() macros.  Presumably leftovers from
PG_skip which isn't there any more.


=====================================

--- 2.5.19/include/asm-alpha/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:06 2002
+++ 2.5.19-akpm/include/asm-alpha/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -346,9 +346,6 @@ extern inline pte_t mk_swap_pte(unsigned
 #define pte_to_swp_entry(pte)		((swp_entry_t) { pte_val(pte) })
 #define swp_entry_to_pte(x)		((pte_t) { (x).val })
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)		(0)
-
 #ifndef CONFIG_DISCONTIGMEM
 #define kern_addr_valid(addr)	(1)
 #endif
--- 2.5.19/include/asm-cris/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:06 2002
+++ 2.5.19-akpm/include/asm-cris/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -506,8 +506,6 @@ static inline void update_mmu_cache(stru
 #define pte_to_swp_entry(pte)           ((swp_entry_t) { pte_val(pte) })
 #define swp_entry_to_pte(x)             ((pte_t) { (x).val })
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)          (0)
 #define kern_addr_valid(addr)   (1)
 
 #include <asm-generic/pgtable.h>
--- 2.5.19/include/asm-i386/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:07 2002
+++ 2.5.19-akpm/include/asm-i386/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -277,8 +277,6 @@ static inline pte_t pte_modify(pte_t pte
 
 #endif /* !__ASSEMBLY__ */
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)		(0)
 #define kern_addr_valid(addr)	(1)
 
 #define io_remap_page_range remap_page_range
--- 2.5.19/include/asm-ia64/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:07 2002
+++ 2.5.19-akpm/include/asm-ia64/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -408,9 +408,6 @@ extern void paging_init (void);
 #define pte_to_swp_entry(pte)		((swp_entry_t) { pte_val(pte) })
 #define swp_entry_to_pte(x)		((pte_t) { (x).val })
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)		(0)
-
 #define io_remap_page_range remap_page_range	/* XXX is this right? */
 
 /*
--- 2.5.19/include/asm-m68k/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:07 2002
+++ 2.5.19-akpm/include/asm-m68k/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -164,8 +164,6 @@ extern inline void update_mmu_cache(stru
 
 #endif /* !__ASSEMBLY__ */
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)		(0)
 #define kern_addr_valid(addr)	(1)
 
 #define io_remap_page_range remap_page_range
--- 2.5.19/include/asm-mips/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:07 2002
+++ 2.5.19-akpm/include/asm-mips/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -500,8 +500,6 @@ extern void update_mmu_cache(struct vm_a
 #define swp_entry_to_pte(x)	((pte_t) { (x).val })
 
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)		(0)
 #define kern_addr_valid(addr)	(1)
 
 /* TLB operations. */
--- 2.5.19/include/asm-mips64/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:07 2002
+++ 2.5.19-akpm/include/asm-mips64/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -559,8 +559,6 @@ extern inline pte_t mk_swap_pte(unsigned
 #define pte_to_swp_entry(pte)	((swp_entry_t) { pte_val(pte) })
 #define swp_entry_to_pte(x)	((pte_t) { (x).val })
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)		(0)
 #ifndef CONFIG_DISCONTIGMEM
 #define kern_addr_valid(addr)	(1)
 #endif
--- 2.5.19/include/asm-parisc/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:07 2002
+++ 2.5.19-akpm/include/asm-parisc/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -328,9 +328,6 @@ extern inline void update_mmu_cache(stru
 
 #endif /* !__ASSEMBLY__ */
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)		(0)
-
 #define io_remap_page_range remap_page_range
 
 /*
--- 2.5.19/include/asm-s390/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:07 2002
+++ 2.5.19-akpm/include/asm-s390/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -494,8 +494,6 @@ extern inline pte_t mk_swap_pte(unsigned
 
 #endif /* !__ASSEMBLY__ */
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)          (0)
 #define kern_addr_valid(addr)   (1)
 
 /*
--- 2.5.19/include/asm-s390x/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:07 2002
+++ 2.5.19-akpm/include/asm-s390x/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -514,8 +514,6 @@ extern inline pte_t mk_swap_pte(unsigned
 
 #endif /* !__ASSEMBLY__ */
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)          (0)
 #define kern_addr_valid(addr)   (1)
 
 /*
--- 2.5.19/include/asm-sh/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:07 2002
+++ 2.5.19-akpm/include/asm-sh/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -312,8 +312,6 @@ extern void update_mmu_cache(struct vm_a
 
 #endif /* !__ASSEMBLY__ */
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)		(0)
 #define kern_addr_valid(addr)	(1)
 
 #define io_remap_page_range remap_page_range
--- 2.5.19/include/asm-x86_64/pgtable.h~cleanup-PageSkip	Sat Jun  1 01:18:07 2002
+++ 2.5.19-akpm/include/asm-x86_64/pgtable.h	Sat Jun  1 01:18:07 2002
@@ -337,8 +337,6 @@ extern inline pte_t pte_modify(pte_t pte
 
 #endif /* !__ASSEMBLY__ */
 
-/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
-#define PageSkip(page)		(0)
 #define kern_addr_valid(addr)	(1)
 
 #define io_remap_page_range remap_page_range

-

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-01  8:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-01  8:40 [patch 3/16] remove PageSkip() macros Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.