X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv4%2Fprotocol.c;h=971ab9356e518dc5987ef48df3560d06a2303d69;hb=40b42f1ebf653cd72c32eb1a1a0b9fea2dfbfd7d;hp=291831e792aff067c46e8a3959c9a7058580ddbc;hpb=2fc2991175bf77395e6b15fe6b2304d3bf72da40;p=linux-2.6 diff --git a/net/ipv4/protocol.c b/net/ipv4/protocol.c index 291831e792..971ab9356e 100644 --- a/net/ipv4/protocol.c +++ b/net/ipv4/protocol.c @@ -30,9 +30,7 @@ #include #include #include -#include #include -#include #include #include #include @@ -47,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); /* @@ -75,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;