Skip to content

Commit

Permalink
i386: hack for "kbuild: move -Wundef from KBUILD_CFLAGS to KBUILD_CPP…
Browse files Browse the repository at this point in the history
…FLAGS"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
  • Loading branch information
Stephen Rothwell committed Oct 14, 2022
1 parent ec77b21 commit fe0af47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/include/asm/pgtable_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ do { \
* With PAE paging (PTRS_PER_PMD > 1), we allocate PTRS_PER_PGD == 4 pages for
* the PMD's in addition to the pages required for the last level pagetables.
*/
#if PTRS_PER_PMD > 1
#if defined(PTRS_PER_PMD) && (PTRS_PER_PMD > 1)
#define PAGE_TABLE_SIZE(pages) (((pages) / PTRS_PER_PMD) + PTRS_PER_PGD)
#else
#define PAGE_TABLE_SIZE(pages) ((pages) / PTRS_PER_PGD)
Expand Down

0 comments on commit fe0af47

Please sign in to comment.