diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-11-22 12:48:34 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-11-26 09:57:36 +0100 |
commit | 4917b284db8607e414c334317b7d15239854d39c (patch) | |
tree | a1f3590349e1ef990e0febf789c43bb124fff448 /arch/x86 | |
parent | 37db6c8f1d0c4b8f01dc049f3a893b725288660f (diff) | |
download | linux-4917b284db8607e414c334317b7d15239854d39c.tar.gz linux-4917b284db8607e414c334317b7d15239854d39c.tar.bz2 linux-4917b284db8607e414c334317b7d15239854d39c.zip |
dmar, x86: Use function stubs when CONFIG_INTR_REMAP is disabled
The stubs for CONFIG_INTR_REMAP disabled need to be functions
instead of values to eliminate build warnings.
arch/x86/kernel/apic/apic.c: In function 'lapic_suspend':
arch/x86/kernel/apic/apic.c:2060:3: warning: statement with no effect
arch/x86/kernel/apic/apic.c: In function 'lapic_resume':
arch/x86/kernel/apic/apic.c:2137:3: warning: statement with no effect
Reported-and-Tested-by: Fabio Comolli <fabio.comolli@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
LKML-Reference: <20101122124834.74429004.randy.dunlap@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions