提交 730b8dfe 编写于 作者: R Ralf Baechle

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

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册