x86: ifdef 32-bit specific setup in init_memory_mapping()
commit54e63f3a4282a8bc5b39db29095f076ece2b1073
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 5 Mar 2009 12:54:56 +0000 (5 14:54 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 5 Mar 2009 13:17:12 +0000 (5 14:17 +0100)
tree105ebabc730cfeed7f27c3de5793d8d809501e90
parente7179853e7552ba6631e2cdd9f5c374383403b4b
x86: ifdef 32-bit specific setup in init_memory_mapping()

Impact: cleanup

Enabling NX, PSE, and PGE are only required on 32-bit so ifdef them
in both versions of the function.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1236257708-27269-5-git-send-email-penberg@cs.helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c