diff options
| author | David S. Miller <davem@davemloft.net> | 2008-03-18 02:44:31 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2008-03-18 02:44:31 -0400 |
| commit | 2f633928cbba8a5858bb39b11e7219a41b0fbef5 (patch) | |
| tree | 9a82f4b7f2c3afe4b0208d8e44ea61bae90a7d22 /include/linux | |
| parent | 5e226e4d9016daee170699f8a4188a5505021756 (diff) | |
| parent | bde4f8fa8db2abd5ac9c542d76012d0fedab050f (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/linux')
47 files changed, 484 insertions, 184 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index aada32fffec2..0fac822c1157 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
| @@ -61,6 +61,7 @@ header-y += efs_fs_sb.h | |||
| 61 | header-y += elf-fdpic.h | 61 | header-y += elf-fdpic.h |
| 62 | header-y += elf-em.h | 62 | header-y += elf-em.h |
| 63 | header-y += fadvise.h | 63 | header-y += fadvise.h |
| 64 | header-y += falloc.h | ||
| 64 | header-y += fd.h | 65 | header-y += fd.h |
| 65 | header-y += fdreg.h | 66 | header-y += fdreg.h |
| 66 | header-y += fib_rules.h | 67 | header-y += fib_rules.h |
| @@ -204,7 +205,6 @@ unifdef-y += futex.h | |||
| 204 | unifdef-y += fs.h | 205 | unifdef-y += fs.h |
| 205 | unifdef-y += gameport.h | 206 | unifdef-y += gameport.h |
| 206 | unifdef-y += generic_serial.h | 207 | unifdef-y += generic_serial.h |
| 207 | unifdef-y += genhd.h | ||
| 208 | unifdef-y += gfs2_ondisk.h | 208 | unifdef-y += gfs2_ondisk.h |
| 209 | unifdef-y += hayesesp.h | 209 | unifdef-y += hayesesp.h |
| 210 | unifdef-y += hdlcdrv.h | 210 | unifdef-y += hdlcdrv.h |
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 6fe67d1939c2..6f79d40dd3c0 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -216,8 +216,8 @@ struct request { | |||
| 216 | unsigned int cmd_len; | 216 | unsigned int cmd_len; |
| 217 | unsigned char cmd[BLK_MAX_CDB]; | 217 | unsigned char cmd[BLK_MAX_CDB]; |
| 218 | 218 | ||
| 219 | unsigned int raw_data_len; | ||
| 220 | unsigned int data_len; | 219 | unsigned int data_len; |
| 220 | unsigned int extra_len; /* length of alignment and padding */ | ||
| 221 | unsigned int sense_len; | 221 | unsigned int sense_len; |
| 222 | void *data; | 222 | void *data; |
| 223 | void *sense; | 223 | void *sense; |
| @@ -362,6 +362,7 @@ struct request_queue | |||
| 362 | unsigned long seg_boundary_mask; | 362 | unsigned long seg_boundary_mask; |
| 363 | void *dma_drain_buffer; | 363 | void *dma_drain_buffer; |
| 364 | unsigned int dma_drain_size; | 364 | unsigned int dma_drain_size; |
| 365 | unsigned int dma_pad_mask; | ||
| 365 | unsigned int dma_alignment; | 366 | unsigned int dma_alignment; |
| 366 | 367 | ||
| 367 | struct blk_queue_tag *queue_tags; | 368 | struct blk_queue_tag *queue_tags; |
| @@ -701,6 +702,7 @@ extern void blk_queue_max_hw_segments(struct request_queue *, unsigned short); | |||
| 701 | extern void blk_queue_max_segment_size(struct request_queue *, unsigned int); | 702 | extern void blk_queue_max_segment_size(struct request_queue *, unsigned int); |
| 702 | extern void blk_queue_hardsect_size(struct request_queue *, unsigned short); | 703 | extern void blk_queue_hardsect_size(struct request_queue *, unsigned short); |
| 703 | extern void blk_queue_stack_limits(struct request_queue *t, struct request_queue *b); | 704 | extern void blk_queue_stack_limits(struct request_queue *t, struct request_queue *b); |
| 705 | extern void blk_queue_dma_pad(struct request_queue *, unsigned int); | ||
| 704 | extern int blk_queue_dma_drain(struct request_queue *q, | 706 | extern int blk_queue_dma_drain(struct request_queue *q, |
| 705 | dma_drain_needed_fn *dma_drain_needed, | 707 | dma_drain_needed_fn *dma_drain_needed, |
| 706 | void *buf, unsigned int size); | 708 | void *buf, unsigned int size); |
diff --git a/include/linux/cgroup_subsys.h b/include/linux/cgroup_subsys.h index ac6aad98b607..1ddebfc52565 100644 --- a/include/linux/cgroup_subsys.h +++ b/include/linux/cgroup_subsys.h | |||
| @@ -37,7 +37,7 @@ SUBSYS(cpuacct) | |||
| 37 | 37 | ||
| 38 | /* */ | 38 | /* */ |
| 39 | 39 | ||
| 40 | #ifdef CONFIG_CGROUP_MEM_CONT | 40 | #ifdef CONFIG_CGROUP_MEM_RES_CTLR |
| 41 | SUBSYS(mem_cgroup) | 41 | SUBSYS(mem_cgroup) |
| 42 | #endif | 42 | #endif |
| 43 | 43 | ||
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index d0e17e1657dc..dcae0c8d97e6 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
| @@ -138,6 +138,12 @@ extern void __chk_io_ptr(const volatile void __iomem *); | |||
| 138 | #define noinline | 138 | #define noinline |
| 139 | #endif | 139 | #endif |
| 140 | 140 | ||
| 141 | /* | ||
| 142 | * Rather then using noinline to prevent stack consumption, use | ||
| 143 | * noinline_for_stack instead. For documentaiton reasons. | ||
| 144 | */ | ||
| 145 | #define noinline_for_stack noinline | ||
| 146 | |||
| 141 | #ifndef __always_inline | 147 | #ifndef __always_inline |
| 142 | #define __always_inline inline | 148 | #define __always_inline inline |
| 143 | #endif | 149 | #endif |
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index f592d6de3b97..7266124361b4 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h | |||
| @@ -27,6 +27,11 @@ struct debugfs_blob_wrapper { | |||
| 27 | }; | 27 | }; |
| 28 | 28 | ||
| 29 | #if defined(CONFIG_DEBUG_FS) | 29 | #if defined(CONFIG_DEBUG_FS) |
| 30 | |||
| 31 | /* declared over in file.c */ | ||
| 32 | extern const struct file_operations debugfs_file_operations; | ||
| 33 | extern const struct inode_operations debugfs_link_operations; | ||
| 34 | |||
| 30 | struct dentry *debugfs_create_file(const char *name, mode_t mode, | 35 | struct dentry *debugfs_create_file(const char *name, mode_t mode, |
| 31 | struct dentry *parent, void *data, | 36 | struct dentry *parent, void *data, |
| 32 | const struct file_operations *fops); | 37 | const struct file_operations *fops); |
diff --git a/include/linux/delay.h b/include/linux/delay.h index 17ddb55430ae..54552d21296e 100644 --- a/include/linux/delay.h +++ b/include/linux/delay.h | |||
| @@ -7,6 +7,8 @@ | |||
| 7 | * Delay routines, using a pre-computed "loops_per_jiffy" value. | 7 | * Delay routines, using a pre-computed "loops_per_jiffy" value. |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #include <linux/kernel.h> | ||
| 11 | |||
| 10 | extern unsigned long loops_per_jiffy; | 12 | extern unsigned long loops_per_jiffy; |
| 11 | 13 | ||
| 12 | #include <asm/delay.h> | 14 | #include <asm/delay.h> |
| @@ -32,7 +34,11 @@ extern unsigned long loops_per_jiffy; | |||
| 32 | #endif | 34 | #endif |
| 33 | 35 | ||
