projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64e34ca
)
sh: Fix up pte_mkhuge() build breakage for SH-5.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 12 Feb 2008 07:55:21 +0000
(16:55 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Thu, 14 Feb 2008 05:22:10 +0000
(14:22 +0900)
Applies the fix from
5b67954e804465a4658dd4da8d52b87a8d1ea00c
to
pgtable_64.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/pgtable_64.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-sh/pgtable_64.h
b/include/asm-sh/pgtable_64.h
index 972211671c9aa4ef8eecba2c21551bc334690c8e..bfdcb2084fa4b03e72b3f6cb1696f56038239293 100644
(file)
--- a/
include/asm-sh/pgtable_64.h
+++ b/
include/asm-sh/pgtable_64.h
@@
-137,6
+137,14
@@
static __inline__ void pmd_set(pmd_t *pmdp,pte_t *ptep)
#define _PAGE_SZHUGE (_PAGE_SIZE0 | _PAGE_SIZE1)
#endif
+/*
+ * Stub out _PAGE_SZHUGE if we don't have a good definition for it,
+ * to make pte_mkhuge() happy.
+ */
+#ifndef _PAGE_SZHUGE
+# define _PAGE_SZHUGE (0)
+#endif
+
/*
* Default flags for a Kernel page.
* This is fundametally also SHARED because the main use of this define