Thread (9 messages) flat view 9 messages, 3 authors, 2012-07-19

Re: [PATCH net-next V1 2/4] net/rps: Protect cpu_rmap.h from double inclusion

From: Ben Hutchings <hidden>
Date: 2012-07-19 13:53:29

On Thu, 2012-07-19 at 11:33 +0300, Or Gerlitz wrote:
quoted hunk ↗ jump to hunk
From: Amir Vadai <redacted>

Signed-off-by: Amir Vadai <redacted>
Signed-off-by: Or Gerlitz <redacted>
---
 include/linux/cpu_rmap.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/linux/cpu_rmap.h b/include/linux/cpu_rmap.h
index 473771a..ac3bbb5 100644
--- a/include/linux/cpu_rmap.h
+++ b/include/linux/cpu_rmap.h
@@ -1,3 +1,6 @@
+#ifndef __LINUX_CPU_RMAP_H
+#define __LINUX_CPU_RMAP_H
+
 /*
  * cpu_rmap.c: CPU affinity reverse-map support
  * Copyright 2011 Solarflare Communications Inc.
@@ -71,3 +74,4 @@ extern void free_irq_cpu_rmap(struct cpu_rmap *rmap);
 extern int irq_cpu_rmap_add(struct cpu_rmap *rmap, int irq);
 
 #endif
+#endif /* __LINUX_CPU_RMAP_H */
Oops :-/

Acked-by: Ben Hutchings <redacted>

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help