diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-08 11:25:42 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-08 11:26:00 -0400 |
commit | 5af8c4e0fac9838428bd718040b664043a05f37c (patch) | |
tree | 75a01d98ed244db45fe3c734c4a81c1a3d92ac37 /net/ipx | |
parent | 46e0bb9c12f4bab539736f1714cbf16600f681ec (diff) | |
parent | 577c9c456f0e1371cbade38eaf91ae8e8a308555 (diff) |
Merge commit 'v2.6.30-rc1' into sched/urgent
Merge reason: update to latest upstream to queue up fix
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/ipx')
-rw-r--r-- | net/ipx/af_ipx.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index b6e70f92e7fb..1627050e29fd 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c | |||
@@ -1958,13 +1958,13 @@ static const struct proto_ops SOCKOPS_WRAPPED(ipx_dgram_ops) = { | |||
1958 | 1958 | ||
1959 | SOCKOPS_WRAP(ipx_dgram, PF_IPX); | 1959 | SOCKOPS_WRAP(ipx_dgram, PF_IPX); |
1960 | 1960 | ||
1961 | static struct packet_type ipx_8023_packet_type = { | 1961 | static struct packet_type ipx_8023_packet_type __read_mostly = { |
1962 | .type = __constant_htons(ETH_P_802_3), | 1962 | .type = cpu_to_be16(ETH_P_802_3), |
1963 | .func = ipx_rcv, | 1963 | .func = ipx_rcv, |
1964 | }; | 1964 | }; |
1965 | 1965 | ||
1966 | static struct packet_type ipx_dix_packet_type = { | 1966 | static struct packet_type ipx_dix_packet_type __read_mostly = { |
1967 | .type = __constant_htons(ETH_P_IPX), | 1967 | .type = cpu_to_be16(ETH_P_IPX), |
1968 | .func = ipx_rcv, | 1968 | .func = ipx_rcv, |
1969 | }; | 1969 | }; |
1970 | 1970 | ||
@@ -1975,15 +1975,15 @@ static struct notifier_block ipx_dev_notifier = { | |||
1975 | extern struct datalink_proto *make_EII_client(void); | 1975 | extern struct datalink_proto *make_EII_client(void); |
1976 | extern void destroy_EII_client(struct datalink_proto *); | 1976 | extern void destroy_EII_client(struct datalink_proto *); |
1977 | 1977 | ||
1978 | static unsigned char ipx_8022_type = 0xE0; | 1978 | static const unsigned char ipx_8022_type = 0xE0; |
1979 | static unsigned char ipx_snap_id[5] = { 0x0, 0x0, 0x0, 0x81, 0x37 }; | 1979 | static const unsigned char ipx_snap_id[5] = { 0x0, 0x0, 0x0, 0x81, 0x37 }; |
1980 | static char ipx_EII_err_msg[] __initdata = | 1980 | static const char ipx_EII_err_msg[] __initconst = |
1981 | KERN_CRIT "IPX: Unable to register with Ethernet II\n"; | 1981 | KERN_CRIT "IPX: Unable to register with Ethernet II\n"; |
1982 | static char ipx_8023_err_msg[] __initdata = | 1982 | static const char ipx_8023_err_msg[] __initconst = |
1983 | KERN_CRIT "IPX: Unable to register with 802.3\n"; | 1983 | KERN_CRIT "IPX: Unable to register with 802.3\n"; |
1984 | static char ipx_llc_err_msg[] __initdata = | 1984 | static const char ipx_llc_err_msg[] __initconst = |
1985 | KERN_CRIT "IPX: Unable to register with 802.2\n"; | 1985 | KERN_CRIT "IPX: Unable to register with 802.2\n"; |
1986 | static char ipx_snap_err_msg[] __initdata = | 1986 | static const char ipx_snap_err_msg[] __initconst = |
1987 | KERN_CRIT "IPX: Unable to register with SNAP\n"; | 1987 | KERN_CRIT "IPX: Unable to register with SNAP\n"; |
1988 | 1988 | ||
1989 | static int __init ipx_init(void) | 1989 | static int __init ipx_init(void) |