Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] arch/i386/kernel/cpu/intel_cacheinfo.c: section fix

num_cache_leaves is used in __devexit cache_remove_dev() and can therefore
not be __devinit.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Adrian Bunk and committed by
Linus Torvalds
70ffc71c 9db29258

+1 -1
+1 -1
arch/i386/kernel/cpu/intel_cacheinfo.c
··· 118 118 }; 119 119 120 120 #define MAX_CACHE_LEAVES 4 121 - static unsigned short __devinitdata num_cache_leaves; 121 + static unsigned short num_cache_leaves; 122 122 123 123 static int __devinit cpuid4_cache_lookup(int index, struct _cpuid4_info *this_leaf) 124 124 {