summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpuid.c
diff options
context:
space:
mode:
authorFigo.zhang <figo1802@gmail.com>2009-06-17 22:25:20 +0800
committerIngo Molnar <mingo@elte.hu>2009-06-17 17:13:25 +0200
commit50a8d4d29735ec99139e58ea3cb11bed3331cf87 (patch)
treec85332036e5b162dbba8bf091e5f5de1158ba470 /arch/x86/kernel/cpuid.c
parent5ce4243dcefbbc43791ffc36e1be55067ceec916 (diff)
x86, io_apic.c: Work around compiler warning
This compiler warning: arch/x86/kernel/apic/io_apic.c: In function ‘ioapic_write_entry’: arch/x86/kernel/apic/io_apic.c:466: warning: ‘eu’ is used uninitialized in this function arch/x86/kernel/apic/io_apic.c:465: note: ‘eu’ was declared here Is bogus as 'eu' is always initialized. But annotate it away by initializing the variable, to make it easier for people to notice real warnings. A compiler that sees through this logic will optimize away the initialization. Signed-off-by: Figo.zhang <figo1802@gmail.com> LKML-Reference: <1245248720.3312.27.camel@myhost> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpuid.c')
0 files changed, 0 insertions, 0 deletions