x86: move devmem_is_allowed() to common mm/init.c
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 4 Mar 2009 09:46:40 +0000 (11:46 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 4 Mar 2009 10:40:04 +0000 (11:40 +0100)
commit540aca06b737cc38965b52eeceefba3d24376461
tree0231f664033a2f3ad7632e4030e54a6b7a848447
parent8b0e5860cb099d7958d13b00ffbc35ad02735700
x86: move devmem_is_allowed() to common mm/init.c

Impact: cleanup

The function is identical on 32-bit and 64-bit configurations so move
it to the common mm/init.c file.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <1236160001.29024.29.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init.c
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c