X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=net%2Fipv4%2Fprotocol.c;h=971ab9356e518dc5987ef48df3560d06a2303d69;hb=07feaebfcc10cd35e745c7073667935246494bee;hp=05f5114828eaf04d0393dda48038ed1c536639b6;hpb=9262e9149f346a5443300f8c451b8e7631e81a42;p=deliverable%2Flinux.git diff --git a/net/ipv4/protocol.c b/net/ipv4/protocol.c index 05f5114828ea..971ab9356e51 100644 --- a/net/ipv4/protocol.c +++ b/net/ipv4/protocol.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include @@ -46,7 +45,7 @@ #include #include -struct net_protocol *inet_protos[MAX_INET_PROTOS]; +struct net_protocol *inet_protos[MAX_INET_PROTOS] ____cacheline_aligned_in_smp; static DEFINE_SPINLOCK(inet_proto_lock); /* @@ -74,7 +73,7 @@ int inet_add_protocol(struct net_protocol *prot, unsigned char protocol) /* * Remove a protocol from the hash tables. */ - + int inet_del_protocol(struct net_protocol *prot, unsigned char protocol) { int hash, ret;