diff options
| author | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2002-10-07 18:05:45 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2002-10-07 18:05:45 -0300 |
| commit | 0f9f7b1e1098945b87589f0bf3c0e10fce4a8fb4 (patch) | |
| tree | 36265590d9f5c55a343591761c2f3e89db329e74 /include/linux | |
| parent | 102f07337e683bfbe50532e8864c609c98419f24 (diff) | |
o Appletalk: convert some spinlocks to rwlocks
- Remove uneeded #ifdef CONFIG_SYSCTL
- Make __init strings __initdata, saving some more bytes after init.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/atalk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/atalk.h b/include/linux/atalk.h index 477169eb5b28..f75a25719f3c 100644 --- a/include/linux/atalk.h +++ b/include/linux/atalk.h @@ -199,13 +199,13 @@ extern void aarp_cleanup_module(void); #define at_sk(__sk) ((struct atalk_sock *)(__sk)->protinfo) extern struct sock *atalk_sockets; -extern spinlock_t atalk_sockets_lock; +extern rwlock_t atalk_sockets_lock; extern struct atalk_route *atalk_routes; extern rwlock_t atalk_routes_lock; extern struct atalk_iface *atalk_interfaces; -extern spinlock_t atalk_interfaces_lock; +extern rwlock_t atalk_interfaces_lock; extern struct atalk_route atrtr_default; |
