]> Git Repo - linux.git/blobdiff - net/ipv4/route.c
ramfs: add support for "mode=" mount option
[linux.git] / net / ipv4 / route.c
index 5caee609be06bb9f3b205a7a1a8628f655212ec5..c40debe51b38ace1224d3c9b9342ad0c73513e1c 100644 (file)
@@ -3377,7 +3377,7 @@ int __init ip_rt_init(void)
        int rc = 0;
 
 #ifdef CONFIG_NET_CLS_ROUTE
-       ip_rt_acct = __alloc_percpu(256 * sizeof(struct ip_rt_acct));
+       ip_rt_acct = __alloc_percpu(256 * sizeof(struct ip_rt_acct), __alignof__(struct ip_rt_acct));
        if (!ip_rt_acct)
                panic("IP: failed to allocate ip_rt_acct\n");
 #endif
This page took 0.041778 seconds and 4 git commands to generate.