From: Or Gerlitz <ogerlitz@mellanox.com>
To: davem@davemloft.net
Cc: roland@kernel.org, netdev@vger.kernel.org, oren@mellanox.com,
yevgenyp@mellanox.com, Amir Vadai <amirv@mellanox.com>,
Or Gerlitz <ogerlitz@mellanox.com>
Subject: [PATCH net-next V1 2/4] net/rps: Protect cpu_rmap.h from double inclusion
Date: Thu, 19 Jul 2012 11:33:50 +0300 [thread overview]
Message-ID: <1342686832-21406-3-git-send-email-ogerlitz@mellanox.com> (raw)
In-Reply-To: <1342686832-21406-1-git-send-email-ogerlitz@mellanox.com>
From: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
---
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 */
--
1.7.1
next prev parent reply other threads:[~2012-07-19 8:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 8:33 [PATCH net-next V1 0/4] net/mlx4_en: Add accelerated RFS support Or Gerlitz
2012-07-19 8:33 ` [PATCH net-next V1 1/4] net/mlx4: Move MAC_MASK to a common place Or Gerlitz
2012-07-19 8:33 ` Or Gerlitz [this message]
2012-07-19 13:53 ` [PATCH net-next V1 2/4] net/rps: Protect cpu_rmap.h from double inclusion Ben Hutchings
2012-07-19 8:33 ` [PATCH net-next V1 3/4] {NET,IB}/mlx4: Add rmap support to mlx4_assign_eq Or Gerlitz
2012-07-19 8:33 ` [PATCH net-next V1 4/4] net/mlx4_en: Add accelerated RFS support Or Gerlitz
2012-07-19 14:09 ` Ben Hutchings
2012-07-19 16:28 ` Or Gerlitz
2012-07-19 15:34 ` [PATCH net-next V1 0/4] " David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1342686832-21406-3-git-send-email-ogerlitz@mellanox.com \
--to=ogerlitz@mellanox.com \
--cc=amirv@mellanox.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=oren@mellanox.com \
--cc=roland@kernel.org \
--cc=yevgenyp@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox