]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb887c14921979a34e775a13095a128163f03223a
tree4e831e907a6ecf4b4359de200cf8a3685d3faa73
parentdfb13bb5c64f8a1d7ca277f94cb14650df8dafb6
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 dfb13bb5c64f ("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