diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/acoutput.h | 2 | ||||
| -rw-r--r-- | include/acpi/platform/aclinux.h | 6 | ||||
| -rw-r--r-- | include/linux/ftrace.h | 2 | ||||
| -rw-r--r-- | include/linux/mm.h | 2 | ||||
| -rw-r--r-- | include/linux/netfilter/nfnetlink_conntrack.h | 1 | ||||
| -rw-r--r-- | include/linux/ptrace.h | 22 | ||||
| -rw-r--r-- | include/net/irda/irda_device.h | 4 | ||||
| -rw-r--r-- | include/trace/sched.h | 4 |
8 files changed, 37 insertions, 6 deletions
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h index 09d33c7740f0..db8852d8bcf7 100644 --- a/include/acpi/acoutput.h +++ b/include/acpi/acoutput.h | |||
| @@ -172,7 +172,7 @@ | |||
| 172 | 172 | ||
| 173 | /* Defaults for debug_level, debug and normal */ | 173 | /* Defaults for debug_level, debug and normal */ |
| 174 | 174 | ||
| 175 | #define ACPI_DEBUG_DEFAULT (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT) | 175 | #define ACPI_DEBUG_DEFAULT (ACPI_LV_INFO) |
| 176 | #define ACPI_NORMAL_DEFAULT (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT) | 176 | #define ACPI_NORMAL_DEFAULT (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT) |
| 177 | #define ACPI_DEBUG_ALL (ACPI_LV_AML_DISASSEMBLE | ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL) | 177 | #define ACPI_DEBUG_ALL (ACPI_LV_AML_DISASSEMBLE | ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL) |
| 178 | 178 | ||
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 029c8c06c151..0515e754449d 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
| @@ -141,6 +141,10 @@ static inline void *acpi_os_acquire_object(acpi_cache_t * cache) | |||
| 141 | /* | 141 | /* |
| 142 | * We need to show where it is safe to preempt execution of ACPICA | 142 | * We need to show where it is safe to preempt execution of ACPICA |
| 143 | */ | 143 | */ |
| 144 | #define ACPI_PREEMPTION_POINT() cond_resched() | 144 | #define ACPI_PREEMPTION_POINT() \ |
| 145 | do { \ | ||
| 146 | if (!irqs_disabled()) \ | ||
| 147 | cond_resched(); \ | ||
| 148 | } while (0) | ||
| 145 | 149 | ||
| 146 | #endif /* __ACLINUX_H__ */ | 150 | #endif /* __ACLINUX_H__ */ |
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 04b52e6ebc66..677432b9cb7e 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
| @@ -303,7 +303,7 @@ extern void ftrace_dump(void); | |||
| 303 | static inline void | 303 | static inline void |
| 304 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } | 304 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } |
| 305 | static inline int | 305 | static inline int |
| 306 | ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 0))); | 306 | ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); |
| 307 | 307 | ||
| 308 | static inline void tracing_start(void) { } | 308 | static inline void tracing_start(void) { } |
| 309 | static inline void tracing_stop(void) { } | 309 | static inline void tracing_stop(void) { } |
diff --git a/include/linux/mm.h b/include/linux/mm.h index ffee2f743418..9979d3fab6e7 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
| @@ -1286,5 +1286,7 @@ int vmemmap_populate_basepages(struct page *start_page, | |||
| 1286 | int vmemmap_populate(struct page *start_page, unsigned long pages, int node); | 1286 | int vmemmap_populate(struct page *start_page, unsigned long pages, int node); |
| 1287 | void vmemmap_populate_print_last(void); | 1287 | void vmemmap_populate_print_last(void); |
| 1288 | 1288 | ||
| 1289 | extern void *alloc_locked_buffer(size_t size); | ||
| 1290 | extern void free_locked_buffer(void *buffer, size_t size); | ||
| 1289 | #endif /* __KERNEL__ */ | 1291 | #endif /* __KERNEL__ */ |
| 1290 | #endif /* _LINUX_MM_H */ | 1292 | #endif /* _LINUX_MM_H */ |
diff --git a/include/linux/netfilter/nfnetlink_conntrack.h b/include/linux/netfilter/nfnetlink_conntrack.h index c19595c89304..29fe9ea1d346 100644 --- a/include/linux/netfilter/nfnetlink_conntrack.h +++ b/include/linux/netfilter/nfnetlink_conntrack.h | |||
| @@ -141,6 +141,7 @@ enum ctattr_protonat { | |||
| 141 | #define CTA_PROTONAT_MAX (__CTA_PROTONAT_MAX - 1) | 141 | #define CTA_PROTONAT_MAX (__CTA_PROTONAT_MAX - 1) |
| 142 | 142 | ||
| 143 | enum ctattr_natseq { | 143 | enum ctattr_natseq { |
| 144 | CTA_NAT_SEQ_UNSPEC, | ||
| 144 | CTA_NAT_SEQ_CORRECTION_POS, | 145 | CTA_NAT_SEQ_CORRECTION_POS, |
| 145 | CTA_NAT_SEQ_OFFSET_BEFORE, | 146 | CTA_NAT_SEQ_OFFSET_BEFORE, |
| 146 | CTA_NAT_SEQ_OFFSET_AFTER, | 147 | CTA_NAT_SEQ_OFFSET_AFTER, |
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index 22641d5d45df..98b93ca4db06 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h | |||
| @@ -94,6 +94,7 @@ extern void ptrace_notify(int exit_code); | |||
| 94 | extern void __ptrace_link(struct task_struct *child, | 94 | extern void __ptrace_link(struct task_struct *child, |
| 95 | struct task_struct *new_parent); | 95 | struct task_struct *new_parent); |
| 96 | extern void __ptrace_unlink(struct task_struct *child); | 96 | extern void __ptrace_unlink(struct task_struct *child); |
| 97 | extern void ptrace_fork(struct task_struct *task, unsigned long clone_flags); | ||
| 97 | #define PTRACE_MODE_READ 1 | 98 | #define PTRACE_MODE_READ 1 |
| 98 | #define PTRACE_MODE_ATTACH 2 | 99 | #define PTRACE_MODE_ATTACH 2 |
| 99 | /* Returns 0 on success, -errno on denial. */ | 100 | /* Returns 0 on success, -errno on denial. */ |
| @@ -313,6 +314,27 @@ static inline void user_enable_block_step(struct task_struct *task) | |||
| 313 | #define arch_ptrace_stop(code, info) do { } while (0) | 314 | #define arch_ptrace_stop(code, info) do { } while (0) |
| 314 | #endif | 315 | #endif |
| 315 | 316 | ||
| 317 | #ifndef arch_ptrace_untrace | ||
| 318 | /* | ||
| 319 | * Do machine-specific work before untracing child. | ||
| 320 | * | ||
| 321 | * This is called for a normal detach as well as from ptrace_exit() | ||
| 322 | * when the tracing task dies. | ||
| 323 | * | ||
| 324 | * Called with write_lock(&tasklist_lock) held. | ||
| 325 | */ | ||
| 326 | #define arch_ptrace_untrace(task) do { } while (0) | ||
| 327 | #endif | ||
| 328 | |||
| 329 | #ifndef arch_ptrace_fork | ||
| 330 | /* | ||
| 331 | * Do machine-specific work to initialize a new task. | ||
| 332 | * | ||
| 333 | * This is called from copy_process(). | ||
| 334 | */ | ||
| 335 | #define arch_ptrace_fork(child, clone_flags) do { } while (0) | ||
| 336 | #endif | ||
| 337 | |||
| 316 | extern int task_current_syscall(struct task_struct *target, long *callno, | 338 | extern int task_current_syscall(struct task_struct *target, long *callno, |
| 317 | unsigned long args[6], unsigned int maxargs, | 339 | unsigned long args[6], unsigned int maxargs, |
| 318 | unsigned long *sp, unsigned long *pc); | 340 | unsigned long *sp, unsigned long *pc); |
diff --git a/include/net/irda/irda_device.h b/include/net/irda/irda_device.h index 3025ae17ddbe..94c852d47d0f 100644 --- a/include/net/irda/irda_device.h +++ b/include/net/irda/irda_device.h | |||
| @@ -135,9 +135,11 @@ struct dongle_reg { | |||
| 135 | 135 | ||
| 136 | /* | 136 | /* |
| 137 | * Per-packet information we need to hide inside sk_buff | 137 | * Per-packet information we need to hide inside sk_buff |
| 138 | * (must not exceed 48 bytes, check with struct sk_buff) | 138 | * (must not exceed 48 bytes, check with struct sk_buff) |
| 139 | * The default_qdisc_pad field is a temporary hack. | ||
| 139 | */ | 140 | */ |
| 140 | struct irda_skb_cb { | 141 | struct irda_skb_cb { |
| 142 | unsigned int default_qdisc_pad; | ||
| 141 | magic_t magic; /* Be sure that we can trust the information */ | 143 | magic_t magic; /* Be sure that we can trust the information */ |
| 142 | __u32 next_speed; /* The Speed to be set *after* this frame */ | 144 | __u32 next_speed; /* The Speed to be set *after* this frame */ |
| 143 | __u16 mtt; /* Minimum turn around time */ | 145 | __u16 mtt; /* Minimum turn around time */ |
diff --git a/include/trace/sched.h b/include/trace/sched.h index bc4c9eadc6ba..0d81098ee9fc 100644 --- a/include/trace/sched.h +++ b/include/trace/sched.h | |||
| @@ -17,8 +17,8 @@ DECLARE_TRACE(sched_wait_task, | |||
| 17 | TPARGS(rq, p)); | 17 | TPARGS(rq, p)); |
| 18 | 18 | ||
| 19 | DECLARE_TRACE(sched_wakeup, | 19 | DECLARE_TRACE(sched_wakeup, |
| 20 | TPPROTO(struct rq *rq, struct task_struct *p), | 20 | TPPROTO(struct rq *rq, struct task_struct *p, int success), |
| 21 | TPARGS(rq, p)); | 21 | TPARGS(rq, p, success)); |
| 22 | 22 | ||
| 23 | DECLARE_TRACE(sched_wakeup_new, | 23 | DECLARE_TRACE(sched_wakeup_new, |
| 24 | TPPROTO(struct rq *rq, struct task_struct *p, int success), | 24 | TPPROTO(struct rq *rq, struct task_struct *p, int success), |
