Commit 730b8dfe authored by Ralf Baechle's avatar Ralf Baechle

MIPS: page.h: Remove now unnecessary #ifndef __ASSEMBLY__ wrapper.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent bef9ae3d
...@@ -45,8 +45,6 @@ ...@@ -45,8 +45,6 @@
#define HUGETLB_PAGE_ORDER ({BUILD_BUG(); 0; }) #define HUGETLB_PAGE_ORDER ({BUILD_BUG(); 0; })
#endif /* CONFIG_MIPS_HUGE_TLB_SUPPORT */ #endif /* CONFIG_MIPS_HUGE_TLB_SUPPORT */
#ifndef __ASSEMBLY__
#include <linux/pfn.h> #include <linux/pfn.h>
#include <asm/io.h> #include <asm/io.h>
...@@ -139,8 +137,6 @@ typedef struct { unsigned long pgprot; } pgprot_t; ...@@ -139,8 +137,6 @@ typedef struct { unsigned long pgprot; } pgprot_t;
*/ */
#define ptep_buddy(x) ((pte_t *)((unsigned long)(x) ^ sizeof(pte_t))) #define ptep_buddy(x) ((pte_t *)((unsigned long)(x) ^ sizeof(pte_t)))
#endif /* !__ASSEMBLY__ */
/* /*
* __pa()/__va() should be used only during mem init. * __pa()/__va() should be used only during mem init.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment