diff options
Diffstat (limited to 'include/linux/cpu_rmap.h')
-rw-r--r-- | include/linux/cpu_rmap.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/cpu_rmap.h b/include/linux/cpu_rmap.h index 1739510d8994..bdd18caa6c94 100644 --- a/include/linux/cpu_rmap.h +++ b/include/linux/cpu_rmap.h | |||
@@ -52,8 +52,6 @@ static inline void *cpu_rmap_lookup_obj(struct cpu_rmap *rmap, unsigned int cpu) | |||
52 | return rmap->obj[rmap->near[cpu].index]; | 52 | return rmap->obj[rmap->near[cpu].index]; |
53 | } | 53 | } |
54 | 54 | ||
55 | #ifdef CONFIG_GENERIC_HARDIRQS | ||
56 | |||
57 | /** | 55 | /** |
58 | * alloc_irq_cpu_rmap - allocate CPU affinity reverse-map for IRQs | 56 | * alloc_irq_cpu_rmap - allocate CPU affinity reverse-map for IRQs |
59 | * @size: Number of objects to be mapped | 57 | * @size: Number of objects to be mapped |
@@ -68,5 +66,4 @@ extern void free_irq_cpu_rmap(struct cpu_rmap *rmap); | |||
68 | 66 | ||
69 | extern int irq_cpu_rmap_add(struct cpu_rmap *rmap, int irq); | 67 | extern int irq_cpu_rmap_add(struct cpu_rmap *rmap, int irq); |
70 | 68 | ||
71 | #endif | ||
72 | #endif /* __LINUX_CPU_RMAP_H */ | 69 | #endif /* __LINUX_CPU_RMAP_H */ |