Skip to content

Commit

Permalink
net/rps: Protect cpu_rmap.h from double inclusion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Amir Vadai authored and David S. Miller committed Jul 19, 2012
1 parent af22d9d commit 122733a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/linux/cpu_rmap.h
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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 */

0 comments on commit 122733a

Please sign in to comment.