diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/acpi_bus.h | 2 | ||||
| -rw-r--r-- | include/acpi/acpiosxf.h | 3 | ||||
| -rw-r--r-- | include/acpi/platform/aclinux.h | 18 | ||||
| -rw-r--r-- | include/drm/drm_pciids.h | 2 | ||||
| -rw-r--r-- | include/linux/amba/serial.h | 3 | ||||
| -rw-r--r-- | include/linux/connector.h | 2 | ||||
| -rw-r--r-- | include/linux/drbd_limits.h | 4 | ||||
| -rw-r--r-- | include/linux/fscache.h | 21 | ||||
| -rw-r--r-- | include/linux/fsl-diu-fb.h | 6 | ||||
| -rw-r--r-- | include/linux/irq.h | 3 | ||||
| -rw-r--r-- | include/linux/memory.h | 2 | ||||
| -rw-r--r-- | include/linux/mfd/ds1wm.h | 7 | ||||
| -rw-r--r-- | include/linux/mmc/card.h | 13 | ||||
| -rw-r--r-- | include/linux/netdevice.h | 6 | ||||
| -rw-r--r-- | include/linux/sched.h | 19 | ||||
| -rw-r--r-- | include/linux/sdla.h | 6 | ||||
| -rw-r--r-- | include/media/lirc_dev.h | 2 | ||||
| -rw-r--r-- | include/media/m5mols.h | 4 | ||||
| -rw-r--r-- | include/media/v4l2-subdev.h | 10 | ||||
| -rw-r--r-- | include/net/cfg80211.h | 2 | ||||
| -rw-r--r-- | include/net/dst.h | 1 | ||||
| -rw-r--r-- | include/net/sctp/command.h | 1 | ||||
| -rw-r--r-- | include/net/sctp/ulpevent.h | 2 | ||||
| -rw-r--r-- | include/sound/sb16_csp.h | 9 |
24 files changed, 112 insertions, 36 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 3a10ef5914eb..6cd5b6403a7b 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
| @@ -210,7 +210,7 @@ struct acpi_device_power_state { | |||
| 210 | struct acpi_device_power { | 210 | struct acpi_device_power { |
| 211 | int state; /* Current state */ | 211 | int state; /* Current state */ |
| 212 | struct acpi_device_power_flags flags; | 212 | struct acpi_device_power_flags flags; |
| 213 | struct acpi_device_power_state states[4]; /* Power states (D0-D3) */ | 213 | struct acpi_device_power_state states[ACPI_D_STATE_COUNT]; /* Power states (D0-D3Cold) */ |
| 214 | }; | 214 | }; |
| 215 | 215 | ||
| 216 | /* Performance Management */ | 216 | /* Performance Management */ |
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index a756bc8d866d..4543b6f75867 100644 --- a/include/acpi/acpiosxf.h +++ b/include/acpi/acpiosxf.h | |||
| @@ -98,8 +98,11 @@ acpi_os_table_override(struct acpi_table_header *existing_table, | |||
| 98 | /* | 98 | /* |
| 99 | * Spinlock primitives | 99 | * Spinlock primitives |
| 100 | */ | 100 | */ |
| 101 | |||
| 102 | #ifndef acpi_os_create_lock | ||
| 101 | acpi_status | 103 | acpi_status |
| 102 | acpi_os_create_lock(acpi_spinlock *out_handle); | 104 | acpi_os_create_lock(acpi_spinlock *out_handle); |
| 105 | #endif | ||
| 103 | 106 | ||
| 104 | void acpi_os_delete_lock(acpi_spinlock handle); | 107 | void acpi_os_delete_lock(acpi_spinlock handle); |
| 105 | 108 | ||
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 5d2a5e9544d9..2ce1be9f6291 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
| @@ -159,6 +159,24 @@ static inline void *acpi_os_acquire_object(acpi_cache_t * cache) | |||
| 159 | } while (0) | 159 | } while (0) |
| 160 | #endif | 160 | #endif |
| 161 | 161 | ||
| 162 | /* | ||
| 163 | * When lockdep is enabled, the spin_lock_init() macro stringifies it's | ||
| 164 | * argument and uses that as a name for the lock in debugging. | ||
| 165 | * By executing spin_lock_init() in a macro the key changes from "lock" for | ||
| 166 | * all locks to the name of the argument of acpi_os_create_lock(), which | ||
| 167 | * prevents lockdep from reporting false positives for ACPICA locks. | ||
| 168 | */ | ||
| 169 | #define acpi_os_create_lock(__handle) \ | ||
| 170 | ({ \ | ||
| 171 | spinlock_t *lock = ACPI_ALLOCATE(sizeof(*lock)); \ | ||
| 172 | \ | ||
| 173 | if (lock) { \ | ||
| 174 | *(__handle) = lock; \ | ||
| 175 | spin_lock_init(*(__handle)); \ | ||
| 176 | } \ | ||
| 177 | lock ? AE_OK : AE_NO_MEMORY; \ | ||
| 178 | }) | ||
| 179 | |||
| 162 | #endif /* __KERNEL__ */ | 180 | #endif /* __KERNEL__ */ |
| 163 | 181 | ||
| 164 | #endif /* __ACLINUX_H__ */ | 182 | #endif /* __ACLINUX_H__ */ |
diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h index e08f344c6cff..3d53efd25ab9 100644 --- a/include/drm/drm_pciids.h +++ b/include/drm/drm_pciids.h | |||
| @@ -182,6 +182,7 @@ | |||
| 182 | {0x1002, 0x6750, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TURKS|RADEON_NEW_MEMMAP}, \ | 182 | {0x1002, 0x6750, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TURKS|RADEON_NEW_MEMMAP}, \ |
| 183 | {0x1002, 0x6758, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TURKS|RADEON_NEW_MEMMAP}, \ | 183 | {0x1002, 0x6758, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TURKS|RADEON_NEW_MEMMAP}, \ |
| 184 | {0x1002, 0x6759, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TURKS|RADEON_NEW_MEMMAP}, \ | 184 | {0x1002, 0x6759, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TURKS|RADEON_NEW_MEMMAP}, \ |
| 185 | {0x1002, 0x675F, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TURKS|RADEON_NEW_MEMMAP}, \ | ||
| 185 | {0x1002, 0x6760, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP}, \ | 186 | {0x1002, 0x6760, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP}, \ |
| 186 | {0x1002, 0x6761, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP}, \ | 187 | {0x1002, 0x6761, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP}, \ |
| 187 | {0x1002, 0x6762, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_NEW_MEMMAP}, \ | 188 | {0x1002, 0x6762, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_NEW_MEMMAP}, \ |
| @@ -192,6 +193,7 @@ | |||
| 192 | {0x1002, 0x6767, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_NEW_MEMMAP}, \ | 193 | {0x1002, 0x6767, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_NEW_MEMMAP}, \ |
| 193 | {0x1002, 0x6768, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_NEW_MEMMAP}, \ | 194 | {0x1002, 0x6768, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_NEW_MEMMAP}, \ |
| 194 | {0x1002, 0x6770, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_NEW_MEMMAP}, \ | 195 | {0x1002, 0x6770, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_NEW_MEMMAP}, \ |
| 196 | {0x1002, 0x6778, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_NEW_MEMMAP}, \ | ||
| 195 | {0x1002, 0x6779, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_NEW_MEMMAP}, \ | 197 | {0x1002, 0x6779, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CAICOS|RADEON_NEW_MEMMAP}, \ |
| 196 | {0x1002, 0x6880, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CYPRESS|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP}, \ | 198 | {0x1002, 0x6880, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CYPRESS|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP}, \ |
| 197 | {0x1002, 0x6888, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CYPRESS|RADEON_NEW_MEMMAP}, \ | 199 | {0x1002, 0x6888, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CYPRESS|RADEON_NEW_MEMMAP}, \ |
diff --git a/include/linux/amba/serial.h b/include/linux/amba/serial.h index 5479fdc849e9..514ed45c462e 100644 --- a/include/linux/amba/serial.h +++ b/include/linux/amba/serial.h | |||
| @@ -201,6 +201,9 @@ struct amba_pl011_data { | |||
| 201 | bool (*dma_filter)(struct dma_chan *chan, void *filter_param); | 201 | bool (*dma_filter)(struct dma_chan *chan, void *filter_param); |
| 202 | void *dma_rx_param; | 202 | void *dma_rx_param; |
| 203 | void *dma_tx_param; | 203 | void *dma_tx_param; |
| 204 | void (*init) (void); | ||
| 205 | void (*exit) (void); | ||
| 206 | void (*reset) (void); | ||
| 204 | }; | 207 | }; |
| 205 | #endif | 208 | #endif |
| 206 | 209 | ||
diff --git a/include/linux/connector.h b/include/linux/connector.h index 7c60d0942adb..f696bccd48cb 100644 --- a/include/linux/connector.h +++ b/include/linux/connector.h | |||
| @@ -44,7 +44,7 @@ | |||
| 44 | #define CN_VAL_DRBD 0x1 | 44 | #define CN_VAL_DRBD 0x1 |
| 45 | #define CN_KVP_IDX 0x9 /* HyperV KVP */ | 45 | #define CN_KVP_IDX 0x9 /* HyperV KVP */ |
| 46 | 46 | ||
| 47 | #define CN_NETLINK_USERS 9 | 47 | #define CN_NETLINK_USERS 10 /* Highest index + 1 */ |
| 48 | 48 | ||
| 49 | /* | 49 | /* |
| 50 | * Maximum connector's message size. | 50 | * Maximum connector's message size. |
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h index 246f576c981d..447c36752385 100644 --- a/include/linux/drbd_limits.h +++ b/include/linux/drbd_limits.h | |||
| @@ -117,10 +117,10 @@ | |||
| 117 | /* drbdsetup XY resize -d Z | 117 | /* drbdsetup XY resize -d Z |
| 118 | * you are free to reduce the device size to nothing, if you want to. | 118 | * you are free to reduce the device size to nothing, if you want to. |
| 119 | * the upper limit with 64bit kernel, enough ram and flexible meta data | 119 | * the upper limit with 64bit kernel, enough ram and flexible meta data |
| 120 | * is 16 TB, currently. */ | 120 | * is 1 PiB, currently. */ |
| 121 | /* DRBD_MAX_SECTORS */ | 121 | /* DRBD_MAX_SECTORS */ |
| 122 | #define DRBD_DISK_SIZE_SECT_MIN 0 | 122 | #define DRBD_DISK_SIZE_SECT_MIN 0 |
| 123 | #define DRBD_DISK_SIZE_SECT_MAX (16 * (2LLU << 30)) | 123 | #define DRBD_DISK_SIZE_SECT_MAX (1 * (2LLU << 40)) |
| 124 | #define DRBD_DISK_SIZE_SECT_DEF 0 /* = disabled = no user size... */ | 124 | #define DRBD_DISK_SIZE_SECT_DEF 0 /* = disabled = no user size... */ |
| 125 | 125 | ||
| 126 | #define DRBD_ON_IO_ERROR_DEF EP_PASS_ON | 126 | #define DRBD_ON_IO_ERROR_DEF EP_PASS_ON |
diff --git a/include/linux/fscache.h b/include/linux/fscache.h index 7c4d72f5581f..9ec20dec3353 100644 --- a/include/linux/fscache.h +++ b/include/linux/fscache.h | |||
| @@ -204,6 +204,8 @@ extern bool __fscache_check_page_write(struct fscache_cookie *, struct page *); | |||
| 204 | extern void __fscache_wait_on_page_write(struct fscache_cookie *, struct page *); | 204 | extern void __fscache_wait_on_page_write(struct fscache_cookie *, struct page *); |
| 205 | extern bool __fscache_maybe_release_page(struct fscache_cookie *, struct page *, | 205 | extern bool __fscache_maybe_release_page(struct fscache_cookie *, struct page *, |
| 206 | gfp_t); | 206 | gfp_t); |
| 207 | extern void __fscache_uncache_all_inode_pages(struct fscache_cookie *, | ||
| 208 | struct inode *); | ||
| 207 | 209 | ||
| 208 | /** | 210 | /** |
| 209 | * fscache_register_netfs - Register a filesystem as desiring caching services | 211 | * fscache_register_netfs - Register a filesystem as desiring caching services |
| @@ -643,4 +645,23 @@ bool fscache_maybe_release_page(struct fscache_cookie *cookie, | |||
| 643 | return false; | 645 | return false; |
| 644 | } | 646 | } |
| 645 | 647 | ||
| 648 | /** | ||
| 649 | * fscache_uncache_all_inode_pages - Uncache all an inode's pages | ||
| 650 | * @cookie: The cookie representing the inode's cache object. | ||
| 651 | * @inode: The inode to uncache pages from. | ||
| 652 | * | ||
| 653 | * Uncache all the pages in an inode that are marked PG_fscache, assuming them | ||
| 654 | * to be associated with the given cookie. | ||
| 655 | * | ||
| 656 | * This function may sleep. It will wait for pages that are being written out | ||
| 657 | * and will wait whilst the PG_fscache mark is removed by the cache. | ||
| 658 | */ | ||
| 659 | static inline | ||
| 660 | void fscache_uncache_all_inode_pages(struct fscache_cookie *cookie, | ||
| 661 | struct inode *inode) | ||
| 662 | { | ||
| 663 | if (fscache_cookie_valid(cookie)) | ||
| 664 | __fscache_uncache_all_inode_pages(cookie, inode); | ||
| 665 | } | ||
| 666 | |||
| 646 | #endif /* _LINUX_FSCACHE_H */ | 667 | #endif /* _LINUX_FSCACHE_H */ |
diff --git a/include/linux/fsl-diu-fb.h b/include/linux/fsl-diu-fb.h index 781d4671415f..daa9952d2174 100644 --- a/include/linux/fsl-diu-fb.h +++ b/include/linux/fsl-diu-fb.h | |||
| @@ -24,12 +24,6 @@ | |||
| 24 | * See mpc8610fb_set_par(), map_video_memory(), and unmap_video_memory() | 24 | * See mpc8610fb_set_par(), map_video_memory(), and unmap_video_memory() |
| 25 | */ | 25 | */ |
| 26 | #define MEM_ALLOC_THRESHOLD (1024*768*4+32) | 26 | #define MEM_ALLOC_THRESHOLD (1024*768*4+32) |
| 27 | /* Minimum value that the pixel clock can be set to in pico seconds | ||
| 28 | * This is determined by platform clock/3 where the minimum platform | ||
| 29 | * clock is 533MHz. This gives 5629 pico seconds. | ||
| 30 | */ | ||
| 31 | #define MIN_PIX_CLK 5629 | ||
| 32 | #define MAX_PIX_CLK 96096 | ||
| 33 | 27 | ||
| 34 | #include <linux/types.h> | 28 | #include <linux/types.h> |
| 35 | 29 | ||
diff --git a/include/linux/irq.h b/include/linux/irq.h index 8b4538446636..baa397eb9c33 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
| @@ -676,7 +676,8 @@ void irq_gc_mask_disable_reg(struct irq_data *d); | |||
| 676 | void irq_gc_mask_set_bit(struct irq_data *d); | 676 | void irq_gc_mask_set_bit(struct irq_data *d); |
| 677 | void irq_gc_mask_clr_bit(struct irq_data *d); | 677 | void irq_gc_mask_clr_bit(struct irq_data *d); |
| 678 | void irq_gc_unmask_enable_reg(struct irq_data *d); | 678 | void irq_gc_unmask_enable_reg(struct irq_data *d); |
| 679 | void irq_gc_ack(struct irq_data *d); | 679 | void irq_gc_ack_set_bit(struct irq_data *d); |
| 680 | void irq_gc_ack_clr_bit(struct irq_data *d); | ||
| 680 | void irq_gc_mask_disable_reg_and_ack(struct irq_data *d); | 681 | void irq_gc_mask_disable_reg_and_ack(struct irq_data *d); |
| 681 | void irq_gc_eoi(struct irq_data *d); | 682 | void irq_gc_eoi(struct irq_data *d); |
| 682 | int irq_gc_set_wake(struct irq_data *d, unsigned int on); | 683 | int irq_gc_set_wake(struct irq_data *d, unsigned int on); |
diff --git a/include/linux/memory.h b/include/linux/memory.h index e1e3b2b84f85..935699b30b7c 100644 --- a/include/linux/memory.h +++ b/include/linux/memory.h | |||
| @@ -20,6 +20,8 @@ | |||
| 20 | #include <linux/compiler.h> | 20 | #include <linux/compiler.h> |
| 21 | #include <linux/mutex.h> | 21 | #include <linux/mutex.h> |
| 22 | 22 | ||
| 23 | #define MIN_MEMORY_BLOCK_SIZE (1 << SECTION_SIZE_BITS) | ||
| 24 | |||
| 23 | struct memory_block { | 25 | struct memory_block { |
| 24 | unsigned long start_section_nr; | 26 | unsigned long start_section_nr; |
| 25 | unsigned long end_section_nr; | 27 | unsigned long end_section_nr; |
diff --git a/include/linux/mfd/ds1wm.h b/include/linux/mfd/ds1wm.h index be469a357cbb..38a372a0e285 100644 --- a/include/linux/mfd/ds1wm.h +++ b/include/linux/mfd/ds1wm.h | |||
| @@ -3,4 +3,11 @@ | |||
| 3 | struct ds1wm_driver_data { | 3 | struct ds1wm_driver_data { |
| 4 | int active_high; | 4 | int active_high; |
| 5 | int clock_rate; | 5 | int clock_rate; |
| 6 | /* in milliseconds, the amount of time to */ | ||
| 7 | /* sleep following a reset pulse. Zero */ | ||
| 8 | /* should work if your bus devices recover*/ | ||
| 9 | /* time respects the 1-wire spec since the*/ | ||
| 10 | /* ds1wm implements the precise timings of*/ | ||
| 11 | /* a reset pulse/presence detect sequence.*/ | ||
| 12 | unsigned int reset_recover_delay; | ||
| 6 | }; | 13 | }; |
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index c6927a4d157f..6ad43554ac05 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h | |||
| @@ -64,6 +64,19 @@ struct mmc_ext_csd { | |||
| 64 | unsigned long long enhanced_area_offset; /* Units: Byte */ | 64 | unsigned long long enhanced_area_offset; /* Units: Byte */ |
| 65 | unsigned int enhanced_area_size; /* Units: KB */ | 65 | unsigned int enhanced_area_size; /* Units: KB */ |
| 66 | unsigned int boot_size; /* in bytes */ | 66 | unsigned int boot_size; /* in bytes */ |
| 67 | u8 raw_partition_support; /* 160 */ | ||
| 68 | u8 raw_erased_mem_count; /* 181 */ | ||
| 69 | u8 raw_ext_csd_structure; /* 194 */ | ||
| 70 | u8 raw_card_type; /* 196 */ | ||
| 71 | u8 raw_s_a_timeout; /* 217 */ | ||
| 72 | u8 raw_hc_erase_gap_size; /* 221 */ | ||
| 73 | u8 raw_erase_timeout_mult; /* 223 */ | ||
| 74 | u8 raw_hc_erase_grp_size; /* 224 */ | ||
| 75 | u8 raw_sec_trim_mult; /* 229 */ | ||
| 76 | u8 raw_sec_erase_mult; /* 230 */ | ||
| 77 | u8 raw_sec_feature_support;/* 231 */ | ||
| 78 | u8 raw_trim_mult; /* 232 */ | ||
| 79 | u8 raw_sectors[4]; /* 212 - 4 bytes */ | ||
| 67 | }; | 80 | }; |
| 68 | 81 | ||
| 69 | struct sd_scr { | 82 | struct sd_scr { |
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 54b8b4d7b68f..9e19477991ad 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -1097,12 +1097,6 @@ struct net_device { | |||
| 1097 | #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ | 1097 | #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ |
| 1098 | NETIF_F_FSO) | 1098 | NETIF_F_FSO) |
| 1099 | 1099 | ||
| 1100 | #define NETIF_F_ALL_TX_OFFLOADS (NETIF_F_ALL_CSUM | NETIF_F_SG | \ | ||
| 1101 | NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \ | ||
| 1102 | NETIF_F_HIGHDMA | \ | ||
| 1103 | NETIF_F_SCTP_CSUM | \ | ||
| 1104 | NETIF_F_ALL_FCOE) | ||
| 1105 | |||
| 1106 | /* | 1100 | /* |
| 1107 | * If one device supports one of these features, then enable them | 1101 | * If one device supports one of these features, then enable them |
| 1108 | * for all in netdev_increment_features. | 1102 | * for all in netdev_increment_features. |
diff --git a/include/linux/sched.h b/include/linux/sched.h index a837b20ba190..14a6c7b545de 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -808,7 +808,7 @@ enum cpu_idle_type { | |||
| 808 | * when BITS_PER_LONG <= 32 are pretty high and the returns do not justify the | 808 | * when BITS_PER_LONG <= 32 are pretty high and the returns do not justify the |
| 809 | * increased costs. | 809 | * increased costs. |
| 810 | */ | 810 | */ |
| 811 | #if BITS_PER_LONG > 32 | 811 | #if 0 /* BITS_PER_LONG > 32 -- currently broken: it increases power usage under light load */ |
| 812 | # define SCHED_LOAD_RESOLUTION 10 | 812 | # define SCHED_LOAD_RESOLUTION 10 |
| 813 | # define scale_load(w) ((w) << SCHED_LOAD_RESOLUTION) | 813 | # define scale_load(w) ((w) << SCHED_LOAD_RESOLUTION) |
| 814 | # define scale_load_down(w) ((w) >> SCHED_LOAD_RESOLUTION) | 814 | # define scale_load_down(w) ((w) >> SCHED_LOAD_RESOLUTION) |
| @@ -844,6 +844,7 @@ enum cpu_idle_type { | |||
| 844 | #define SD_SERIALIZE 0x0400 /* Only a single load balancing instance */ | 844 | #define SD_SERIALIZE 0x0400 /* Only a single load balancing instance */ |
| 845 | #define SD_ASYM_PACKING 0x0800 /* Place busy groups earlier in the domain */ | 845 | #define SD_ASYM_PACKING 0x0800 /* Place busy groups earlier in the domain */ |
| 846 | #define SD_PREFER_SIBLING 0x1000 /* Prefer to place tasks in a sibling domain */ | 846 | #define SD_PREFER_SIBLING 0x1000 /* Prefer to place tasks in a sibling domain */ |
| 847 | #define SD_OVERLAP 0x2000 /* sched_domains of this level overlap */ | ||
| 847 | 848 | ||
| 848 | enum powersavings_balance_level { | 849 | enum powersavings_balance_level { |
| 849 | POWERSAVINGS_BALANCE_NONE = 0, /* No power saving load balance */ | 850 | POWERSAVINGS_BALANCE_NONE = 0, /* No power saving load balance */ |
| @@ -893,16 +894,21 @@ static inline int sd_power_saving_flags(void) | |||
| 893 | return 0; | 894 | return 0; |
| 894 | } | 895 | } |
| 895 | 896 | ||
| 896 | struct sched_group { | 897 | struct sched_group_power { |
| 897 | struct sched_group *next; /* Must be a circular list */ | ||
| 898 | atomic_t ref; | 898 | atomic_t ref; |
| 899 | |||
| 900 | /* | 899 | /* |
| 901 | * CPU power of this group, SCHED_LOAD_SCALE being max power for a | 900 | * CPU power of this group, SCHED_LOAD_SCALE being max power for a |
| 902 | * single CPU. | 901 | * single CPU. |
| 903 | */ | 902 | */ |
| 904 | unsigned int cpu_power, cpu_power_orig; | 903 | unsigned int power, power_orig; |
| 904 | }; | ||
| 905 | |||
| 906 | struct sched_group { | ||
| 907 | struct sched_group *next; /* Must be a circular list */ | ||
| 908 | atomic_t ref; | ||
| 909 | |||
| 905 | unsigned int group_weight; | 910 | unsigned int group_weight; |
| 911 | struct sched_group_power *sgp; | ||
| 906 | 912 | ||
| 907 | /* | 913 | /* |
| 908 | * The CPUs this group covers. | 914 | * The CPUs this group covers. |
| @@ -1254,6 +1260,9 @@ struct task_struct { | |||
| 1254 | #ifdef CONFIG_PREEMPT_RCU | 1260 | #ifdef CONFIG_PREEMPT_RCU |
| 1255 | int rcu_read_lock_nesting; | 1261 | int rcu_read_lock_nesting; |
| 1256 | char rcu_read_unlock_special; | 1262 | char rcu_read_unlock_special; |
| 1263 | #if defined(CONFIG_RCU_BOOST) && defined(CONFIG_TREE_PREEMPT_RCU) | ||
| 1264 | int rcu_boosted; | ||
| 1265 | #endif /* #if defined(CONFIG_RCU_BOOST) && defined(CONFIG_TREE_PREEMPT_RCU) */ | ||
| 1257 | struct list_head rcu_node_entry; | 1266 | struct list_head rcu_node_entry; |
| 1258 | #endif /* #ifdef CONFIG_PREEMPT_RCU */ | 1267 | #endif /* #ifdef CONFIG_PREEMPT_RCU */ |
| 1259 | #ifdef CONFIG_TREE_PREEMPT_RCU | 1268 | #ifdef CONFIG_TREE_PREEMPT_RCU |
diff --git a/include/linux/sdla.h b/include/linux/sdla.h index 564acd3a71c1..9995c7fc3f60 100644 --- a/include/linux/sdla.h +++ b/include/linux/sdla.h | |||
| @@ -112,11 +112,7 @@ struct sdla_dlci_conf { | |||
| 112 | short Tb_max; | 112 | short Tb_max; |
| 113 | }; | 113 | }; |
| 114 | 114 | ||
| 115 | #ifndef __KERNEL__ | 115 | #ifdef __KERNEL__ |
| 116 | |||
| 117 | void sdla(void *cfg_info, char *dev, struct frad_conf *conf, int quiet); | ||
| 118 | |||
| 119 | #else | ||
| 120 | 116 | ||
| 121 | /* important Z80 window addresses */ | 117 | /* important Z80 window addresses */ |
| 122 | #define SDLA_CONTROL_WND 0xE000 | 118 | #define SDLA_CONTROL_WND 0xE000 |
diff --git a/include/media/lirc_dev.h b/include/media/lirc_dev.h index 630e702c9511..168dd0b1bae2 100644 --- a/include/media/lirc_dev.h +++ b/include/media/lirc_dev.h | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | #ifndef _LINUX_LIRC_DEV_H | 9 | #ifndef _LINUX_LIRC_DEV_H |
| 10 | #define _LINUX_LIRC_DEV_H | 10 | #define _LINUX_LIRC_DEV_H |
| 11 | 11 | ||
| 12 | #define MAX_IRCTL_DEVICES 4 | 12 | #define MAX_IRCTL_DEVICES 8 |
| 13 | #define BUFLEN 16 | 13 | #define BUFLEN 16 |
| 14 | 14 | ||
| 15 | #define mod(n, div) ((n) % (div)) | 15 | #define mod(n, div) ((n) % (div)) |
diff --git a/include/media/m5mols.h b/include/media/m5mols.h index 2d7e7ca2313d..aac2c0e06d5e 100644 --- a/include/media/m5mols.h +++ b/include/media/m5mols.h | |||
| @@ -2,10 +2,10 @@ | |||
| 2 | * Driver header for M-5MOLS 8M Pixel camera sensor with ISP | 2 | * Driver header for M-5MOLS 8M Pixel camera sensor with ISP |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 2011 Samsung Electronics Co., Ltd. | 4 | * Copyright (C) 2011 Samsung Electronics Co., Ltd. |
| 5 | * Author: HeungJun Kim, riverful.kim@samsung.com | 5 | * Author: HeungJun Kim <riverful.kim@samsung.com> |
| 6 | * | 6 | * |
| 7 | * Copyright (C) 2009 Samsung Electronics Co., Ltd. | 7 | * Copyright (C) 2009 Samsung Electronics Co., Ltd. |
| 8 | * Author: Dongsoo Nathaniel Kim, dongsoo45.kim@samsung.com | 8 | * Author: Dongsoo Nathaniel Kim <dongsoo45.kim@samsung.com> |
| 9 | * | 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify | 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by | 11 | * it under the terms of the GNU General Public License as published by |
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index 1562c4ff3a65..2884e3e69cb1 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h | |||
| @@ -173,16 +173,20 @@ struct v4l2_subdev_core_ops { | |||
| 173 | struct v4l2_event_subscription *sub); | 173 | struct v4l2_event_subscription *sub); |
| 174 | }; | 174 | }; |
| 175 | 175 | ||
| 176 | /* s_mode: switch the tuner to a specific tuner mode. Replacement of s_radio. | 176 | /* s_radio: v4l device was opened in radio mode. |
| 177 | 177 | ||
| 178 | s_radio: v4l device was opened in Radio mode, to be replaced by s_mode. | 178 | g_frequency: freq->type must be filled in. Normally done by video_ioctl2 |
| 179 | or the bridge driver. | ||
| 180 | |||
| 181 | g_tuner: | ||
| 182 | s_tuner: vt->type must be filled in. Normally done by video_ioctl2 or the | ||
| 183 | bridge driver. | ||
| 179 | 184 | ||
| 180 | s_type_addr: sets tuner type and its I2C addr. | 185 | s_type_addr: sets tuner type and its I2C addr. |
| 181 | 186 | ||
| 182 | s_config: sets tda9887 specific stuff, like port1, port2 and qss | 187 | s_config: sets tda9887 specific stuff, like port1, port2 and qss |
| 183 | */ | 188 | */ |
| 184 | struct v4l2_subdev_tuner_ops { | 189 | struct v4l2_subdev_tuner_ops { |
| 185 | int (*s_mode)(struct v4l2_subdev *sd, enum v4l2_tuner_type); | ||
| 186 | int (*s_radio)(struct v4l2_subdev *sd); | 190 | int (*s_radio)(struct v4l2_subdev *sd); |
| 187 | int (*s_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq); | 191 | int (*s_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq); |
| 188 | int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq); | 192 | int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq); |
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 0589f554788a..396e8fc8910e 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
| @@ -2688,7 +2688,7 @@ void cfg80211_send_unprot_disassoc(struct net_device *dev, const u8 *buf, | |||
| 2688 | * @dev: network device | 2688 | * @dev: network device |
| 2689 | * @addr: The source MAC address of the frame | 2689 | * @addr: The source MAC address of the frame |
| 2690 | * @key_type: The key type that the received frame used | 2690 | * @key_type: The key type that the received frame used |
| 2691 | * @key_id: Key identifier (0..3) | 2691 | * @key_id: Key identifier (0..3). Can be -1 if missing. |
| 2692 | * @tsc: The TSC value of the frame that generated the MIC failure (6 octets) | 2692 | * @tsc: The TSC value of the frame that generated the MIC failure (6 octets) |
| 2693 | * @gfp: allocation flags | 2693 | * @gfp: allocation flags |
| 2694 | * | 2694 | * |
diff --git a/include/net/dst.h b/include/net/dst.h index 7d15d238b6ec..e12ddfb9eb16 100644 --- a/include/net/dst.h +++ b/include/net/dst.h | |||
| @@ -77,6 +77,7 @@ struct dst_entry { | |||
| 77 | #define DST_NOPOLICY 0x0004 | 77 | #define DST_NOPOLICY 0x0004 |
| 78 | #define DST_NOHASH 0x0008 | 78 | #define DST_NOHASH 0x0008 |
| 79 | #define DST_NOCACHE 0x0010 | 79 | #define DST_NOCACHE 0x0010 |
| 80 | #define DST_NOCOUNT 0x0020 | ||
| 80 | union { | 81 | union { |
| 81 | struct dst_entry *next; | 82 | struct dst_entry *next; |
| 82 | struct rtable __rcu *rt_next; | 83 | struct rtable __rcu *rt_next; |
diff --git a/include/net/sctp/command.h b/include/net/sctp/command.h index dd6847e5d6e4..6506458ccd33 100644 --- a/include/net/sctp/command.h +++ b/include/net/sctp/command.h | |||
| @@ -63,6 +63,7 @@ typedef enum { | |||
| 63 | SCTP_CMD_ECN_ECNE, /* Do delayed ECNE processing. */ | 63 | SCTP_CMD_ECN_ECNE, /* Do delayed ECNE processing. */ |
| 64 | SCTP_CMD_ECN_CWR, /* Do delayed CWR processing. */ | 64 | SCTP_CMD_ECN_CWR, /* Do delayed CWR processing. */ |
| 65 | SCTP_CMD_TIMER_START, /* Start a timer. */ | 65 | SCTP_CMD_TIMER_START, /* Start a timer. */ |
| 66 | SCTP_CMD_TIMER_START_ONCE, /* Start a timer once */ | ||
| 66 | SCTP_CMD_TIMER_RESTART, /* Restart a timer. */ | 67 | SCTP_CMD_TIMER_RESTART, /* Restart a timer. */ |
| 67 | SCTP_CMD_TIMER_STOP, /* Stop a timer. */ | 68 | SCTP_CMD_TIMER_STOP, /* Stop a timer. */ |
| 68 | SCTP_CMD_INIT_CHOOSE_TRANSPORT, /* Choose transport for an INIT. */ | 69 | SCTP_CMD_INIT_CHOOSE_TRANSPORT, /* Choose transport for an INIT. */ |
diff --git a/include/net/sctp/ulpevent.h b/include/net/sctp/ulpevent.h index 99b027b2adce..ca4693b4e09e 100644 --- a/include/net/sctp/ulpevent.h +++ b/include/net/sctp/ulpevent.h | |||
| @@ -80,7 +80,7 @@ static inline struct sctp_ulpevent *sctp_skb2event(struct sk_buff *skb) | |||
| 80 | 80 | ||
| 81 | void sctp_ulpevent_free(struct sctp_ulpevent *); | 81 | void sctp_ulpevent_free(struct sctp_ulpevent *); |
| 82 | int sctp_ulpevent_is_notification(const struct sctp_ulpevent *); | 82 | int sctp_ulpevent_is_notification(const struct sctp_ulpevent *); |
| 83 | void sctp_queue_purge_ulpevents(struct sk_buff_head *list); | 83 | unsigned int sctp_queue_purge_ulpevents(struct sk_buff_head *list); |
| 84 | 84 | ||
| 85 | struct sctp_ulpevent *sctp_ulpevent_make_assoc_change( | 85 | struct sctp_ulpevent *sctp_ulpevent_make_assoc_change( |
| 86 | const struct sctp_association *asoc, | 86 | const struct sctp_association *asoc, |
diff --git a/include/sound/sb16_csp.h b/include/sound/sb16_csp.h index 736eac71d053..af1b49e982df 100644 --- a/include/sound/sb16_csp.h +++ b/include/sound/sb16_csp.h | |||
| @@ -99,7 +99,14 @@ struct snd_sb_csp_info { | |||
| 99 | /* get CSP information */ | 99 | /* get CSP information */ |
| 100 | #define SNDRV_SB_CSP_IOCTL_INFO _IOR('H', 0x10, struct snd_sb_csp_info) | 100 | #define SNDRV_SB_CSP_IOCTL_INFO _IOR('H', 0x10, struct snd_sb_csp_info) |
| 101 | /* load microcode to CSP */ | 101 | /* load microcode to CSP */ |
| 102 | #define SNDRV_SB_CSP_IOCTL_LOAD_CODE _IOW('H', 0x11, struct snd_sb_csp_microcode) | 102 | /* NOTE: struct snd_sb_csp_microcode overflows the max size (13 bits) |
| 103 | * defined for some architectures like MIPS, and it leads to build errors. | ||
| 104 | * (x86 and co have 14-bit size, thus it's valid, though.) | ||
| 105 | * As a workaround for skipping the size-limit check, here we don't use the | ||
| 106 | * normal _IOW() macro but _IOC() with the manual argument. | ||
| 107 | */ | ||
| 108 | #define SNDRV_SB_CSP_IOCTL_LOAD_CODE \ | ||
| 109 | _IOC(_IOC_WRITE, 'H', 0x11, sizeof(struct snd_sb_csp_microcode)) | ||
| 103 | /* unload microcode from CSP */ | 110 | /* unload microcode from CSP */ |
| 104 | #define SNDRV_SB_CSP_IOCTL_UNLOAD_CODE _IO('H', 0x12) | 111 | #define SNDRV_SB_CSP_IOCTL_UNLOAD_CODE _IO('H', 0x12) |
| 105 | /* start CSP */ | 112 | /* start CSP */ |
