Skip to content

Commit

Permalink
Merge pull request openucx#9 from shamisp/topic/ppc
Browse files Browse the repository at this point in the history
Fixing build on ppc.
  • Loading branch information
hjelmn committed Jun 2, 2016
2 parents 55c1186 + 2652703 commit 0ac0974
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernel/xpmem_pfn.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
#elif defined(CONFIG_X86)
#define pmd_is_huge(p) pmd_large(p)
#define pud_is_huge(p) pud_large(p)
#elif defined(CONFIG_PPC)
#define pmd_is_huge(p) pmd_large(p)
#define pud_is_huge(p) ((pud_val(p) & 0x3) != 0x0)
#else
#error Unsuported architecture
#endif
Expand Down

0 comments on commit 0ac0974

Please sign in to comment.