diff options
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 5caee609be06..c40debe51b38 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -3377,7 +3377,7 @@ int __init ip_rt_init(void) | |||
3377 | int rc = 0; | 3377 | int rc = 0; |
3378 | 3378 | ||
3379 | #ifdef CONFIG_NET_CLS_ROUTE | 3379 | #ifdef CONFIG_NET_CLS_ROUTE |
3380 | ip_rt_acct = __alloc_percpu(256 * sizeof(struct ip_rt_acct)); | 3380 | ip_rt_acct = __alloc_percpu(256 * sizeof(struct ip_rt_acct), __alignof__(struct ip_rt_acct)); |
3381 | if (!ip_rt_acct) | 3381 | if (!ip_rt_acct) |
3382 | panic("IP: failed to allocate ip_rt_acct\n"); | 3382 | panic("IP: failed to allocate ip_rt_acct\n"); |
3383 | #endif | 3383 | #endif |