diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-25 08:07:33 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-25 08:09:41 -0500 |
commit | 0dcec8c27ba44cd11c6e68c46d5fd553818a3837 (patch) | |
tree | 30e5140fbb7f80b1492cb3579b5302a45d09c2f0 /net/ipv4/route.c | |
parent | d325100504f1d0c296a1fbfef558deaa655e2240 (diff) |
alloc_percpu: add align argument to __alloc_percpu, fix
Impact: build fix
API was changed, but not all usage sites were converted:
net/ipv4/route.c: In function ‘ip_rt_init’:
net/ipv4/route.c:3379: error: too few arguments to function ‘__alloc_percpu’
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 97f71153584f..bf895401218f 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -3376,7 +3376,7 @@ int __init ip_rt_init(void) | |||
3376 | int rc = 0; | 3376 | int rc = 0; |
3377 | 3377 | ||
3378 | #ifdef CONFIG_NET_CLS_ROUTE | 3378 | #ifdef CONFIG_NET_CLS_ROUTE |
3379 | ip_rt_acct = __alloc_percpu(256 * sizeof(struct ip_rt_acct)); | 3379 | ip_rt_acct = __alloc_percpu(256 * sizeof(struct ip_rt_acct), __alignof__(struct ip_rt_acct)); |
3380 | if (!ip_rt_acct) | 3380 | if (!ip_rt_acct) |
3381 | panic("IP: failed to allocate ip_rt_acct\n"); | 3381 | panic("IP: failed to allocate ip_rt_acct\n"); |
3382 | #endif | 3382 | #endif |