aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-07-26 07:02:25 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-26 19:46:16 -0400
commit2acdf2cefe8065a35844566bf996628fbcc9e014 (patch)
treee62e8f1663b8951413a6d475d996524cff7cc30e /arch/sparc
parentb585e8551b352cee95cf060b7eddc76d16e6120a (diff)
sparc32: drop unused BAD_PAGE stuff
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/include/asm/pgtable_32.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc/include/asm/pgtable_32.h b/arch/sparc/include/asm/pgtable_32.h
index 97a48807361e..6fc13483f702 100644
--- a/arch/sparc/include/asm/pgtable_32.h
+++ b/arch/sparc/include/asm/pgtable_32.h
@@ -87,18 +87,11 @@ extern unsigned long phys_base;
87extern unsigned long pfn_base; 87extern unsigned long pfn_base;
88 88
89/* 89/*
90 * BAD_PAGETABLE is used when we need a bogus page-table, while
91 * BAD_PAGE is used for a bogus page.
92 *
93 * ZERO_PAGE is a global shared page that is always zero: used 90 * ZERO_PAGE is a global shared page that is always zero: used
94 * for zero-mapped memory areas etc.. 91 * for zero-mapped memory areas etc..
95 */ 92 */
96extern pte_t * __bad_pagetable(void);
97extern pte_t __bad_page(void);
98extern unsigned long empty_zero_page; 93extern unsigned long empty_zero_page;
99 94
100#define BAD_PAGETABLE __bad_pagetable()
101#define BAD_PAGE __bad_page()
102#define ZERO_PAGE(vaddr) (virt_to_page(&empty_zero_page)) 95#define ZERO_PAGE(vaddr) (virt_to_page(&empty_zero_page))
103 96
104/* 97/*