x86_64: Don't mark __exitcall as __cold

gcc currently doesn't support attributes on types, so we can't use it
function pointers. This avoids some warnings on a gcc 4.3 build.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Andi Kleen and committed by Linus Torvalds 3f3f7b74 f055a061

+1 -1
+1 -1
include/linux/init.h
··· 43 #define __init __attribute__ ((__section__ (".init.text"))) __cold 44 #define __initdata __attribute__ ((__section__ (".init.data"))) 45 #define __exitdata __attribute__ ((__section__(".exit.data"))) 46 - #define __exit_call __attribute_used__ __attribute__ ((__section__ (".exitcall.exit"))) __cold 47 48 /* modpost check for section mismatches during the kernel build. 49 * A section mismatch happens when there are references from a
··· 43 #define __init __attribute__ ((__section__ (".init.text"))) __cold 44 #define __initdata __attribute__ ((__section__ (".init.data"))) 45 #define __exitdata __attribute__ ((__section__(".exit.data"))) 46 + #define __exit_call __attribute_used__ __attribute__ ((__section__ (".exitcall.exit"))) 47 48 /* modpost check for section mismatches during the kernel build. 49 * A section mismatch happens when there are references from a