| Submitter | Andrew Morton |
|---|---|
| Date | March 28, 2012, 10:10 p.m. |
| Message ID | <20120328221057.9A6DAA001B@akpm.mtv.corp.google.com> |
| Download | mbox | patch |
| Permalink | /patch/149315/ |
| State | Accepted |
| Headers | show |
Comments
From: akpm@linux-foundation.org Date: Wed, 28 Mar 2012 15:10:57 -0700 > From: Andrew Morton <akpm@linux-foundation.org> > Subject: net/netfilter/nfnetlink_acct.c: use linux/atomic.h > > There's no known problem here, but this is one of only two non-arch files > in the kernel which use asm/atomic.h instead of linux/atomic.h. > > Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> > Cc: Patrick McHardy <kaber@trash.net> > Cc: "David S. Miller" <davem@davemloft.net> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Applied. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff -puN net/netfilter/nfnetlink_acct.c~net-netfilter-nfnetlink_acctc-use-linux-atomich net/netfilter/nfnetlink_acct.c --- a/net/netfilter/nfnetlink_acct.c~net-netfilter-nfnetlink_acctc-use-linux-atomich +++ a/net/netfilter/nfnetlink_acct.c @@ -10,6 +10,7 @@ #include <linux/module.h> #include <linux/kernel.h> #include <linux/skbuff.h> +#include <linux/atomic.h> #include <linux/netlink.h> #include <linux/rculist.h> #include <linux/slab.h> @@ -17,7 +18,6 @@ #include <linux/errno.h> #include <net/netlink.h> #include <net/sock.h> -#include <asm/atomic.h> #include <linux/netfilter.h> #include <linux/netfilter/nfnetlink.h>