x86: small unifications of address printing
authorVegard Nossum <vegard.nossum@gmail.com>
Tue, 1 Jul 2008 13:38:13 +0000 (15:38 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 1 Jul 2008 14:21:41 +0000 (16:21 +0200)
commitf294a8ce211bed7bfaca19bef21376a86200c421
treef4400393a4f552989bc0560e9588c7457f1a6ae8
parent9d8ad5d6c7fce31fd2c0fd4fe9977bda3e92e340
x86: small unifications of address printing

'man 3 printf' tells me that %p should be printed as if by %#x, but
this is not true for the kernel, which does not use the '0x' prefix
for the %p conversion specifier.

A small cast to (void *) is also prettier than #ifdef/#else/#endif.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/fault.c