projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b585e85
)
sparc32: drop unused BAD_PAGE stuff
author
Sam Ravnborg
<sam@ravnborg.org>
Thu, 26 Jul 2012 11:02:25 +0000
(11:02 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 26 Jul 2012 23:46:16 +0000
(16:46 -0700)
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/pgtable_32.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/include/asm/pgtable_32.h
b/arch/sparc/include/asm/pgtable_32.h
index 97a48807361e0c1280cd62d4fb71c8fc69ffa6b8..6fc13483f70222cb3ea1da047a005447b80cc0cb 100644
(file)
--- 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;
extern unsigned long pfn_base;
/*
- * BAD_PAGETABLE is used when we need a bogus page-table, while
- * BAD_PAGE is used for a bogus page.
- *
* ZERO_PAGE is a global shared page that is always zero: used
* for zero-mapped memory areas etc..
*/
-extern pte_t * __bad_pagetable(void);
-extern pte_t __bad_page(void);
extern unsigned long empty_zero_page;
-#define BAD_PAGETABLE __bad_pagetable()
-#define BAD_PAGE __bad_page()
#define ZERO_PAGE(vaddr) (virt_to_page(&empty_zero_page))
/*