From: Ingo Brueckl Date: Fri, 2 Jan 2009 13:42:00 +0000 (+0100) Subject: Fix compiler warning in arch/x86/mm/init_32.c X-Git-Tag: v2.6.29-rc1~544 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e8e32326279cba3d049b4325111f76618953195c;p=linux-2.6-omap-h63xx.git Fix compiler warning in arch/x86/mm/init_32.c Signed-off-by: Ingo Brueckl Signed-off-by: Linus Torvalds --- diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index 8655b5bb096..f99a6c6c432 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c @@ -435,8 +435,12 @@ static void __init set_highmem_pages_init(void) #endif /* !CONFIG_NUMA */ #else -# define permanent_kmaps_init(pgd_base) do { } while (0) -# define set_highmem_pages_init() do { } while (0) +static inline void permanent_kmaps_init(pgd_t *pgd_base) +{ +} +static inline void set_highmem_pages_init(void) +{ +} #endif /* CONFIG_HIGHMEM */ void __init native_pagetable_setup_start(pgd_t *base)