aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cpu_rmap.h
diff options
context:
space:
mode:
authorAmir Vadai <amirv@mellanox.com>2012-07-18 18:33:50 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-19 11:34:37 -0400
commit122733a189d687087364d6dc3ecc7c682554f6a0 (patch)
treeedfc226ef001c4b5abd962dffc94fad877f22e34 /include/linux/cpu_rmap.h
parentaf22d9de45caf8b2a99f2b27a927169c029528b4 (diff)
net/rps: Protect cpu_rmap.h from double inclusion
Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Acked-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/cpu_rmap.h')
-rw-r--r--include/linux/cpu_rmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/cpu_rmap.h b/include/linux/cpu_rmap.h
index 473771a528c0..ac3bbb5b9502 100644
--- a/include/linux/cpu_rmap.h
+++ b/include/linux/cpu_rmap.h
@@ -1,3 +1,6 @@
1#ifndef __LINUX_CPU_RMAP_H
2#define __LINUX_CPU_RMAP_H
3
1/* 4/*
2 * cpu_rmap.c: CPU affinity reverse-map support 5 * cpu_rmap.c: CPU affinity reverse-map support
3 * Copyright 2011 Solarflare Communications Inc. 6 * Copyright 2011 Solarflare Communications Inc.
@@ -71,3 +74,4 @@ extern void free_irq_cpu_rmap(struct cpu_rmap *rmap);
71extern int irq_cpu_rmap_add(struct cpu_rmap *rmap, int irq); 74extern int irq_cpu_rmap_add(struct cpu_rmap *rmap, int irq);
72 75
73#endif 76#endif
77#endif /* __LINUX_CPU_RMAP_H */