x86: make ZERO_PAGE() at least parse its argument
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2019 16:51:29 +0000 (09:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2019 16:51:29 +0000 (09:51 -0700)
commit80871482fd5cb1cb396ea232237a7d9c540854f9
tree4e831e907a6ecf4b4359de200cf8a3685d3faa73
parent6a5c5d26c4c6c3cc486fef0bf04ff9551132611b
x86: make ZERO_PAGE() at least parse its argument

This doesn't really do anything, but at least we now parse teh
ZERO_PAGE() address argument so that we'll catch the most obvious errors
in usage next time they'll happen.

See commit 6a5c5d26c4c6 ("rdma: fix build errors on s390 and MIPS due to
bad ZERO_PAGE use") what happens when we don't have any use of the macro
argument at all.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/pgtable.h