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/netdevice.h | 7 | ||||
| -rw-r--r-- | include/linux/netfilter/nfnetlink_conntrack.h | 1 | ||||
| -rw-r--r-- | include/linux/smp.h | 2 | ||||
| -rw-r--r-- | include/linux/usb/ch9.h | 8 | ||||
| -rw-r--r-- | include/net/irda/irda_device.h | 4 |
7 files changed, 25 insertions, 5 deletions
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h index 09d33c7740f..db8852d8bcf 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 029c8c06c15..0515e754449 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/netdevice.h b/include/linux/netdevice.h index 9d77b1d7dca..e26f5495289 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -319,6 +319,7 @@ enum | |||
| 319 | { | 319 | { |
| 320 | NAPI_STATE_SCHED, /* Poll is scheduled */ | 320 | NAPI_STATE_SCHED, /* Poll is scheduled */ |
| 321 | NAPI_STATE_DISABLE, /* Disable pending */ | 321 | NAPI_STATE_DISABLE, /* Disable pending */ |
| 322 | NAPI_STATE_NPSVC, /* Netpoll - don't dequeue from poll_list */ | ||
| 322 | }; | 323 | }; |
| 323 | 324 | ||
| 324 | extern void __napi_schedule(struct napi_struct *n); | 325 | extern void __napi_schedule(struct napi_struct *n); |
| @@ -1497,6 +1498,12 @@ static inline void netif_rx_complete(struct net_device *dev, | |||
| 1497 | { | 1498 | { |
| 1498 | unsigned long flags; | 1499 | unsigned long flags; |
| 1499 | 1500 | ||
| 1501 | /* | ||
| 1502 | * don't let napi dequeue from the cpu poll list | ||
| 1503 | * just in case its running on a different cpu | ||
| 1504 | */ | ||
| 1505 | if (unlikely(test_bit(NAPI_STATE_NPSVC, &napi->state))) | ||
| 1506 | return; | ||
| 1500 | local_irq_save(flags); | 1507 | local_irq_save(flags); |
| 1501 | __netif_rx_complete(dev, napi); | 1508 | __netif_rx_complete(dev, napi); |
| 1502 | local_irq_restore(flags); | 1509 | local_irq_restore(flags); |
diff --git a/include/linux/netfilter/nfnetlink_conntrack.h b/include/linux/netfilter/nfnetlink_conntrack.h index c19595c8930..29fe9ea1d34 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/smp.h b/include/linux/smp.h index 3f9a60043a9..6e7ba16ff45 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h | |||
| @@ -146,6 +146,8 @@ static inline void smp_send_reschedule(int cpu) { } | |||
| 146 | }) | 146 | }) |
| 147 | #define smp_call_function_mask(mask, func, info, wait) \ | 147 | #define smp_call_function_mask(mask, func, info, wait) \ |
| 148 | (up_smp_call_function(func, info)) | 148 | (up_smp_call_function(func, info)) |
| 149 | #define smp_call_function_many(mask, func, info, wait) \ | ||
| 150 | (up_smp_call_function(func, info)) | ||
| 149 | static inline void init_call_single_data(void) | 151 | static inline void init_call_single_data(void) |
| 150 | { | 152 | { |
| 151 | } | 153 | } |
diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h index 73a2f4eb1f7..9b42baed390 100644 --- a/include/linux/usb/ch9.h +++ b/include/linux/usb/ch9.h | |||
| @@ -158,8 +158,12 @@ struct usb_ctrlrequest { | |||
| 158 | * (rarely) accepted by SET_DESCRIPTOR. | 158 | * (rarely) accepted by SET_DESCRIPTOR. |
| 159 | * | 159 | * |
| 160 | * Note that all multi-byte values here are encoded in little endian | 160 | * Note that all multi-byte values here are encoded in little endian |
| 161 | * byte order "on the wire". But when exposed through Linux-USB APIs, | 161 | * byte order "on the wire". Within the kernel and when exposed |
| 162 | * they've been converted to cpu byte order. | 162 | * through the Linux-USB APIs, they are not converted to cpu byte |
| 163 | * order; it is the responsibility of the client code to do this. | ||
| 164 | * The single exception is when device and configuration descriptors (but | ||
| 165 | * not other descriptors) are read from usbfs (i.e. /proc/bus/usb/BBB/DDD); | ||
| 166 | * in this case the fields are converted to host endianness by the kernel. | ||
| 163 | */ | 167 | */ |
| 164 | 168 | ||
| 165 | /* | 169 | /* |
diff --git a/include/net/irda/irda_device.h b/include/net/irda/irda_device.h index 3025ae17ddb..94c852d47d0 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 */ |
