diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/time.h | 8 | ||||
-rw-r--r-- | include/linux/leds.h | 3 | ||||
-rw-r--r-- | include/net/route.h | 1 | ||||
-rw-r--r-- | include/net/sctp/structs.h | 3 |
4 files changed, 7 insertions, 8 deletions
diff --git a/include/asm-powerpc/time.h b/include/asm-powerpc/time.h index 780f82642756..ce5de6e0e690 100644 --- a/include/asm-powerpc/time.h +++ b/include/asm-powerpc/time.h | |||
@@ -237,18 +237,14 @@ struct cpu_usage { | |||
237 | 237 | ||
238 | DECLARE_PER_CPU(struct cpu_usage, cpu_usage_array); | 238 | DECLARE_PER_CPU(struct cpu_usage, cpu_usage_array); |
239 | 239 | ||
240 | #ifdef CONFIG_VIRT_CPU_ACCOUNTING | ||
241 | extern void account_process_vtime(struct task_struct *tsk); | ||
242 | #else | ||
243 | #define account_process_vtime(tsk) do { } while (0) | ||
244 | #endif | ||
245 | |||
246 | #if defined(CONFIG_VIRT_CPU_ACCOUNTING) | 240 | #if defined(CONFIG_VIRT_CPU_ACCOUNTING) |
247 | extern void calculate_steal_time(void); | 241 | extern void calculate_steal_time(void); |
248 | extern void snapshot_timebases(void); | 242 | extern void snapshot_timebases(void); |
243 | #define account_process_vtime(tsk) account_process_tick(tsk, 0) | ||
249 | #else | 244 | #else |
250 | #define calculate_steal_time() do { } while (0) | 245 | #define calculate_steal_time() do { } while (0) |
251 | #define snapshot_timebases() do { } while (0) | 246 | #define snapshot_timebases() do { } while (0) |
247 | #define account_process_vtime(tsk) do { } while (0) | ||
252 | #endif | 248 | #endif |
253 | 249 | ||
254 | extern void secondary_cpu_time_init(void); | 250 | extern void secondary_cpu_time_init(void); |
diff --git a/include/linux/leds.h b/include/linux/leds.h index dc1178f6184b..b4130ff58d0c 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h | |||
@@ -14,6 +14,7 @@ | |||
14 | 14 | ||
15 | #include <linux/list.h> | 15 | #include <linux/list.h> |
16 | #include <linux/spinlock.h> | 16 | #include <linux/spinlock.h> |
17 | #include <linux/rwsem.h> | ||
17 | 18 | ||
18 | struct device; | 19 | struct device; |
19 | /* | 20 | /* |
@@ -43,7 +44,7 @@ struct led_classdev { | |||
43 | 44 | ||
44 | #ifdef CONFIG_LEDS_TRIGGERS | 45 | #ifdef CONFIG_LEDS_TRIGGERS |
45 | /* Protects the trigger data below */ | 46 | /* Protects the trigger data below */ |
46 | rwlock_t trigger_lock; | 47 | struct rw_semaphore trigger_lock; |
47 | 48 | ||
48 | struct led_trigger *trigger; | 49 | struct led_trigger *trigger; |
49 | struct list_head trig_list; | 50 | struct list_head trig_list; |
diff --git a/include/net/route.h b/include/net/route.h index f7ce6259f86f..59b0b19205a2 100644 --- a/include/net/route.h +++ b/include/net/route.h | |||
@@ -109,7 +109,6 @@ struct in_device; | |||
109 | extern int ip_rt_init(void); | 109 | extern int ip_rt_init(void); |
110 | extern void ip_rt_redirect(__be32 old_gw, __be32 dst, __be32 new_gw, | 110 | extern void ip_rt_redirect(__be32 old_gw, __be32 dst, __be32 new_gw, |
111 | __be32 src, struct net_device *dev); | 111 | __be32 src, struct net_device *dev); |
112 | extern void ip_rt_advice(struct rtable **rp, int advice); | ||
113 | extern void rt_cache_flush(int how); | 112 | extern void rt_cache_flush(int how); |
114 | extern int __ip_route_output_key(struct rtable **, const struct flowi *flp); | 113 | extern int __ip_route_output_key(struct rtable **, const struct flowi *flp); |
115 | extern int ip_route_output_key(struct rtable **, struct flowi *flp); | 114 | extern int ip_route_output_key(struct rtable **, struct flowi *flp); |
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index eb3113c38a94..002a00a4e6be 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -1184,6 +1184,9 @@ int sctp_bind_addr_copy(struct sctp_bind_addr *dest, | |||
1184 | const struct sctp_bind_addr *src, | 1184 | const struct sctp_bind_addr *src, |
1185 | sctp_scope_t scope, gfp_t gfp, | 1185 | sctp_scope_t scope, gfp_t gfp, |
1186 | int flags); | 1186 | int flags); |
1187 | int sctp_bind_addr_dup(struct sctp_bind_addr *dest, | ||
1188 | const struct sctp_bind_addr *src, | ||
1189 | gfp_t gfp); | ||
1187 | int sctp_add_bind_addr(struct sctp_bind_addr *, union sctp_addr *, | 1190 | int sctp_add_bind_addr(struct sctp_bind_addr *, union sctp_addr *, |
1188 | __u8 use_as_src, gfp_t gfp); | 1191 | __u8 use_as_src, gfp_t gfp); |
1189 | int sctp_del_bind_addr(struct sctp_bind_addr *, union sctp_addr *); | 1192 | int sctp_del_bind_addr(struct sctp_bind_addr *, union sctp_addr *); |