]> 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)
commita30c7350022f7c96cc7ab2709d77c938d4cbeb1c
tree4e831e907a6ecf4b4359de200cf8a3685d3faa73
parent0670e9716b05962db582b870785706066d248472
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 0670e9716b05 ("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