irq_set_affinity_hint() was never called by any code. This makes it possible to remove struct cpumask. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/linux/cpumask.h | 10 ---------- backport/backport-include/linux/interrupt.h | 16 ---------------- 2 files changed, 26 deletions(-) delete mode 100644 backport/backport-include/linux/cpumask.h diff --git a/backport/backport-include/linux/cpumask.h b/backport/backport-include/linux/cpumask.h deleted file mode 100644 index 7df3457..0000000 --- a/backport/backport-include/linux/cpumask.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef __BACKPORT_LINUX_CPUMASK_H -#define __BACKPORT_LINUX_CPUMASK_H -#include_next <linux/cpumask.h> -#include <linux/version.h> - -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) -typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } compat_cpumask_t; -#endif - -#endif /* __BACKPORT_LINUX_CPUMASK_H */ diff --git a/backport/backport-include/linux/interrupt.h b/backport/backport-include/linux/interrupt.h index 1729567..a9fb503 100644 --- a/backport/backport-include/linux/interrupt.h +++ b/backport/backport-include/linux/interrupt.h @@ -10,22 +10,6 @@ static inline int irq_set_irq_wake(unsigned int irq, unsigned int on) } #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) -#include <linux/cpumask.h> -/* mask irq_set_affinity_hint as RHEL6 backports this */ -#define irq_set_affinity_hint LINUX_BACKPORT(irq_set_affinity_hint) -/* - * We cannot backport this guy as the IRQ data structure - * was modified in the kernel itself to support this. We - * treat the system as uni-processor in this case. - */ -static inline int irq_set_affinity_hint(unsigned int irq, - const struct cpumask *m) -{ - return -EINVAL; -} -#endif - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) #define IRQ_WAKE_THREAD (2) #endif -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html