summaryrefslogtreecommitdiff
path: root/packages/linux/nas100d-kernel/2.6.14/29-ipv4-route-c-spinlock.patch
blob: 93e070518c9467ad3a2ff3ec612038d5a8e66bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- linux-2.6.14-rc5/net/ipv4/route.c	2005-10-26 08:37:20.752285410 -0700
+++ patched/net/ipv4/route.c	2005-10-26 12:17:00.761651111 -0700
@@ -231,7 +231,7 @@ static spinlock_t	*rt_hash_locks;
 			spin_lock_init(&rt_hash_locks[i]); \
 		}
 #else
-# define rt_hash_lock_addr(slot) NULL
+# define rt_hash_lock_addr(slot) ((spinlock_t*)NULL)
 # define rt_hash_lock_init()
 #endif