genirq: Make irq_set_vcpu_affinity available for CONFIG_SMP=n
authorFeng Wu <feng.wu@intel.com>
Sat, 3 Oct 2015 08:20:38 +0000 (16:20 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 9 Oct 2015 20:47:27 +0000 (22:47 +0200)
commitfcf1ae2f7a044cda9956ec7afb487296afff058e
treee5df6cfc0ca042c561ff4c19bef47be6a48d8dc6
parente509bd7da149dc34916037484cd7545b2d48a2b0
genirq: Make irq_set_vcpu_affinity available for CONFIG_SMP=n

irq_set_vcpu_affinity() is needed when CONFIG_SMP=n, so move the
definition out of "#ifdef CONFIG_SMP"

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Feng Wu <feng.wu@intel.com>
Cc: jiang.liu@linux.intel.com
Cc: pbonzini@redhat.com
Link: http://lkml.kernel.org/r/1443860438-144926-1-git-send-email-feng.wu@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/manage.c