diff options
author | Pekka J Enberg <penberg@cs.helsinki.fi> | 2009-06-22 17:39:41 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-23 10:33:32 +0200 |
commit | 854c879f5abf309ebd378bea1ee41acf4ddf7194 (patch) | |
tree | 4bdaddf034e7d825a9ea857e195b18bb01427a22 /arch/x86/power | |
parent | b7f797cb600fa88de04903be4df3c8a6cb1cb35c (diff) |
x86: Move init_gbpages() to setup_arch()
The init_gbpages() function is conditionally called from
init_memory_mapping() function. There are two call-sites where
this 'after_bootmem' condition can be true: setup_arch() and
mem_init() via pci_iommu_alloc().
Therefore, it's safe to move the call to init_gbpages() to
setup_arch() as it's always called before mem_init().
This removes an after_bootmem use - paving the way to remove
all uses of that state variable.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <Pine.LNX.4.64.0906221731210.19474@melkki.cs.Helsinki.FI>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/power')
0 files changed, 0 insertions, 0 deletions