diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/dmapool.h | 2 | ||||
| -rw-r--r-- | include/linux/mmzone.h | 7 | ||||
| -rw-r--r-- | include/media/atmel-isi.h | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/include/linux/dmapool.h b/include/linux/dmapool.h index 022e34fcbd1b..52456aa566a0 100644 --- a/include/linux/dmapool.h +++ b/include/linux/dmapool.h | |||
| @@ -14,6 +14,8 @@ | |||
| 14 | #include <asm/io.h> | 14 | #include <asm/io.h> |
| 15 | #include <asm/scatterlist.h> | 15 | #include <asm/scatterlist.h> |
| 16 | 16 | ||
| 17 | struct device; | ||
| 18 | |||
| 17 | struct dma_pool *dma_pool_create(const char *name, struct device *dev, | 19 | struct dma_pool *dma_pool_create(const char *name, struct device *dev, |
| 18 | size_t size, size_t align, size_t allocation); | 20 | size_t size, size_t align, size_t allocation); |
| 19 | 21 | ||
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index f279d9c158cd..2782df47101e 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
| @@ -474,16 +474,15 @@ struct zone { | |||
| 474 | unsigned long wait_table_bits; | 474 | unsigned long wait_table_bits; |
| 475 | 475 | ||
| 476 | ZONE_PADDING(_pad1_) | 476 | ZONE_PADDING(_pad1_) |
| 477 | |||
| 478 | /* Write-intensive fields used from the page allocator */ | ||
| 479 | spinlock_t lock; | ||
| 480 | |||
| 481 | /* free areas of different sizes */ | 477 | /* free areas of different sizes */ |
| 482 | struct free_area free_area[MAX_ORDER]; | 478 | struct free_area free_area[MAX_ORDER]; |
| 483 | 479 | ||
| 484 | /* zone flags, see below */ | 480 | /* zone flags, see below */ |
| 485 | unsigned long flags; | 481 | unsigned long flags; |
| 486 | 482 | ||
| 483 | /* Write-intensive fields used from the page allocator */ | ||
| 484 | spinlock_t lock; | ||
| 485 | |||
| 487 | ZONE_PADDING(_pad2_) | 486 | ZONE_PADDING(_pad2_) |
| 488 | 487 | ||
| 489 | /* Write-intensive fields used by page reclaim */ | 488 | /* Write-intensive fields used by page reclaim */ |
diff --git a/include/media/atmel-isi.h b/include/media/atmel-isi.h index c2e570336269..6008b0985b7b 100644 --- a/include/media/atmel-isi.h +++ b/include/media/atmel-isi.h | |||
| @@ -59,6 +59,10 @@ | |||
| 59 | #define ISI_CFG1_FRATE_DIV_MASK (7 << 8) | 59 | #define ISI_CFG1_FRATE_DIV_MASK (7 << 8) |
| 60 | #define ISI_CFG1_DISCR (1 << 11) | 60 | #define ISI_CFG1_DISCR (1 << 11) |
| 61 | #define ISI_CFG1_FULL_MODE (1 << 12) | 61 | #define ISI_CFG1_FULL_MODE (1 << 12) |
| 62 | /* Definition for THMASK(ISI_V2) */ | ||
| 63 | #define ISI_CFG1_THMASK_BEATS_4 (0 << 13) | ||
| 64 | #define ISI_CFG1_THMASK_BEATS_8 (1 << 13) | ||
| 65 | #define ISI_CFG1_THMASK_BEATS_16 (2 << 13) | ||
| 62 | 66 | ||
| 63 | /* Bitfields in CFG2 */ | 67 | /* Bitfields in CFG2 */ |
| 64 | #define ISI_CFG2_GRAYSCALE (1 << 13) | 68 | #define ISI_CFG2_GRAYSCALE (1 << 13) |
