summaryrefslogtreecommitdiffstats
path: root/drivers/video/console
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2013-02-04 10:13:15 +0100
committerDave Airlie <airlied@redhat.com>2013-02-08 12:02:39 +1000
commit84b603abd23300df8ee5fb1c23c83634c2aaedea (patch)
treecb2ac76d57cdcbf61e636503e36cbef992896482 /drivers/video/console
parent521dfda999fd4cfe801c49d28ccc09350c0389f5 (diff)
downloadop-kernel-dev-84b603abd23300df8ee5fb1c23c83634c2aaedea.zip
op-kernel-dev-84b603abd23300df8ee5fb1c23c83634c2aaedea.tar.gz
x86/intel/cacheinfo: Shut up annoying warning
I've been getting the following warning when doing randbuilds since forever. Now it finally pissed me off just the perfect amount so that I can fix it. arch/x86/kernel/cpu/intel_cacheinfo.c:489:27: warning: ‘cache_disable_0’ defined but not used [-Wunused-variable] arch/x86/kernel/cpu/intel_cacheinfo.c:491:27: warning: ‘cache_disable_1’ defined but not used [-Wunused-variable] arch/x86/kernel/cpu/intel_cacheinfo.c:524:27: warning: ‘subcaches’ defined but not used [-Wunused-variable] It happens because in randconfigs where CONFIG_SYSFS is not set, the whole sysfs-interface to L3 cache index disabling is remaining unused and gcc correctly warns about it. Make it optional, depending on CONFIG_SYSFS too, as is the case with other sysfs-related machinery in this file. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Andreas Herrmann <andreas.herrmann3@amd.com> Link: http://lkml.kernel.org/r/1359969195-27362-1-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/video/console')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud