Commit 0f2b38d5 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] remove PageSkip() macros

Remove some unused PageSkip() macros.  Presumably leftovers from
PG_skip which isn't there any more.
parent b9a78e59
......@@ -346,9 +346,6 @@ extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset)
#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
......
......@@ -506,8 +506,6 @@ static inline void update_mmu_cache(struct vm_area_struct * vma,
#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>
......
......@@ -277,8 +277,6 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
#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
......
......@@ -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? */
/*
......
......@@ -164,8 +164,6 @@ extern inline void update_mmu_cache(struct vm_area_struct * vma,
#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
......
......@@ -500,8 +500,6 @@ extern void update_mmu_cache(struct vm_area_struct *vma,
#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. */
......
......@@ -559,8 +559,6 @@ extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset)
#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
......
......@@ -328,9 +328,6 @@ extern inline void update_mmu_cache(struct vm_area_struct * vma,
#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
/*
......
......@@ -494,8 +494,6 @@ extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset)
#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)
/*
......
......@@ -514,8 +514,6 @@ extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset)
#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)
/*
......
......@@ -312,8 +312,6 @@ extern void update_mmu_cache(struct vm_area_struct * vma,
#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
......
......@@ -337,8 +337,6 @@ extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
#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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment