mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 22:58:29 +00:00
MIPS: page.h: Remove now unnecessary #ifndef __ASSEMBLY__ wrapper.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
bef9ae3d88
commit
730b8dfe01
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||||
*/
|
*/
|
||||||
#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.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue