summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/pgtable-2level.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/pgtable-2level.h')
-rw-r--r--include/asm-sh/pgtable-2level.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-sh/pgtable-2level.h b/include/asm-sh/pgtable-2level.h
index ebfa410b3..2ec0bcbcc 100644
--- a/include/asm-sh/pgtable-2level.h
+++ b/include/asm-sh/pgtable-2level.h
@@ -32,7 +32,7 @@
extern inline int pgd_none(pgd_t pgd) { return 0; }
extern inline int pgd_bad(pgd_t pgd) { return 0; }
extern inline int pgd_present(pgd_t pgd) { return 1; }
-#define pgd_clear(xp) do { pgd_val(*(xp)) = 0; } while (0)
+#define pgd_clear(xp) do { } while (0)
#define pgd_page(pgd) \
((unsigned long) __va(pgd_val(pgd) & PAGE_MASK))
@@ -57,6 +57,4 @@ extern inline pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address)
return (pmd_t *) pgd;
}
-#define SWP_ENTRY(type,offset) __pte((((type) << 1) | ((offset) << 8)))
-
#endif /* __ASM_SH_PGTABLE_2LEVEL_H */