aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2015-09-28 10:26:31 +0000
committerThomas Gleixner <[email protected]>2015-09-30 19:17:36 +0000
commite02ae3871355194a61b03a07d96fd71e81d7eff9 (patch)
tree3de05ae041cbac53edd06ff0a4f2ad880767ca0c /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentLinux 4.3-rc3 (diff)
downloadkernel-e02ae3871355194a61b03a07d96fd71e81d7eff9.tar.gz
kernel-e02ae3871355194a61b03a07d96fd71e81d7eff9.zip
x86/x2apic: Make stub functions available even if !CONFIG_X86_LOCAL_APIC
Some CONFIG_X86_X2APIC functions, especially x2apic_enabled(), are not declared if !CONFIG_X86_LOCAL_APIC. However, the same stubs that work for !CONFIG_X86_X2APIC are okay even if there is no local APIC support at all. Avoid the introduction of #ifdefs by moving the x2apic declarations completely outside the CONFIG_X86_LOCAL_APIC block. (Unfortunately, diff generation messes up the actual change that this patch makes). There is no semantic change because CONFIG_X86_X2APIC depends on CONFIG_X86_LOCAL_APIC. Reported-by: Fengguang Wu <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Cc: Feng Wu <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions