projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bef9ae3
)
MIPS: page.h: Remove now unnecessary #ifndef __ASSEMBLY__ wrapper.
author
Ralf Baechle
<ralf@linux-mips.org>
Fri, 28 Dec 2012 14:18:02 +0000
(15:18 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 28 Dec 2012 16:04:23 +0000
(17:04 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/page.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/page.h
b/arch/mips/include/asm/page.h
index 31ab10f02bad555724dffa1e58556bd6508cd79b..bf84e48ad669458b2eb30cb3466186a8ed880095 100644
(file)
--- a/
arch/mips/include/asm/page.h
+++ b/
arch/mips/include/asm/page.h
@@
-45,8
+45,6
@@
#define HUGETLB_PAGE_ORDER ({BUILD_BUG(); 0; })
#endif /* CONFIG_MIPS_HUGE_TLB_SUPPORT */
-#ifndef __ASSEMBLY__
-
#include <linux/pfn.h>
#include <asm/io.h>
@@
-139,8
+137,6
@@
typedef struct { unsigned long pgprot; } pgprot_t;
*/
#define ptep_buddy(x) ((pte_t *)((unsigned long)(x) ^ sizeof(pte_t)))
-#endif /* !__ASSEMBLY__ */
-
/*
* __pa()/__va() should be used only during mem init.
*/