diff options
author | Ingo Brueckl <ib@wupperonline.de> | 2009-01-02 14:42:00 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-02 15:41:03 +0100 |
commit | a9067d537615d534dcef06c0d819472e43a0d152 (patch) | |
tree | 471f20f9fee20cd16688b88b037ef9529fa6665e /arch/x86/kernel/cpuid.c | |
parent | c64d8996bd758cedc2ddc04b86ca66fa1d8599cf (diff) | |
download | linux-stable-a9067d537615d534dcef06c0d819472e43a0d152.tar.gz linux-stable-a9067d537615d534dcef06c0d819472e43a0d152.tar.bz2 linux-stable-a9067d537615d534dcef06c0d819472e43a0d152.zip |
x86: convert permanent_kmaps_init() from macro to inline
Impact: cleanup
This compiler warning:
arch/x86/mm/init_32.c:515: warning: unused variable 'pgd_base'
triggers because permanent_kmaps_init() is a CPP macro in the
!CONFIG_HIGHMEM case, that does not tell the compiler that the
'pgd_base' parameter is used.
Convert permanent_kmaps_init() (and set_highmem_pages_init()) to
C inline functions - which gives the parameter a proper type and
which gets rid of the compiler warning as well.
Signed-off-by: Ingo Brueckl <ib@wupperonline.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpuid.c')
0 files changed, 0 insertions, 0 deletions