Skip to content

Commit

Permalink
MIPS: page.h: Remove now unnecessary #ifndef __ASSEMBLY__ wrapper.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Dec 28, 2012
1 parent bef9ae3 commit 730b8df
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/mips/include/asm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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.
*/
Expand Down

0 comments on commit 730b8df

Please sign in to comment.