From: Ingo Brueckl Date: Fri, 2 Jan 2009 13:42:00 +0000 (+0100) Subject: x86: convert permanent_kmaps_init() from macro to inline X-Git-Tag: v2.6.29-rc1~536^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9067d537615d534dcef06c0d819472e43a0d152;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed