diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-21 19:36:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-21 19:36:46 -0400 |
commit | e9b62693ae0a1e13ccc97a6792d9a7770c8d1b5b (patch) | |
tree | c676609730533fc1b7c5e01992e46b6eaf75f99b /include | |
parent | 548453fd107f789f5f1bc2dc13cc432ceb3b5efd (diff) | |
parent | 838cb6aba4cebcf4fcd06b90e2adf890bef884ac (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial: (24 commits)
DOC: A couple corrections and clarifications in USB doc.
Generate a slightly more informative error msg for bad HZ
fix typo "is" -> "if" in Makefile
ext*: spelling fix prefered -> preferred
DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs.
KEYS: Fix the comment to match the file name in rxrpc-type.h.
RAID: remove trailing space from printk line
DMA engine: typo fixes
Remove unused MAX_NODES_SHIFT
MAINTAINERS: Clarify access to OCFS2 development mailing list.
V4L: Storage class should be before const qualifier (sn9c102)
V4L: Storage class should be before const qualifier
sonypi: Storage class should be before const qualifier
intel_menlow: Storage class should be before const qualifier
DVB: Storage class should be before const qualifier
arm: Storage class should be before const qualifier
ALSA: Storage class should be before const qualifier
acpi: Storage class should be before const qualifier
firmware_sample_driver.c: fix coding style
MAINTAINERS: Add ati_remote2 driver
...
Fixed up trivial conflicts in firmware_sample_driver.c
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/hardware/iop3xx-adma.h | 4 | ||||
-rw-r--r-- | include/keys/rxrpc-type.h | 2 | ||||
-rw-r--r-- | include/linux/dmaengine.h | 2 | ||||
-rw-r--r-- | include/linux/jiffies.h | 2 | ||||
-rw-r--r-- | include/linux/mmzone.h | 1 |
5 files changed, 5 insertions, 6 deletions
diff --git a/include/asm-arm/hardware/iop3xx-adma.h b/include/asm-arm/hardware/iop3xx-adma.h index 84d635b0a71a..a32b86ac62aa 100644 --- a/include/asm-arm/hardware/iop3xx-adma.h +++ b/include/asm-arm/hardware/iop3xx-adma.h | |||
@@ -260,7 +260,7 @@ static inline int iop_chan_memset_slot_count(size_t len, int *slots_per_op) | |||
260 | static inline int iop3xx_aau_xor_slot_count(size_t len, int src_cnt, | 260 | static inline int iop3xx_aau_xor_slot_count(size_t len, int src_cnt, |
261 | int *slots_per_op) | 261 | int *slots_per_op) |
262 | { | 262 | { |
263 | const static int slot_count_table[] = { 0, | 263 | static const int slot_count_table[] = { 0, |
264 | 1, 1, 1, 1, /* 01 - 04 */ | 264 | 1, 1, 1, 1, /* 01 - 04 */ |
265 | 2, 2, 2, 2, /* 05 - 08 */ | 265 | 2, 2, 2, 2, /* 05 - 08 */ |
266 | 4, 4, 4, 4, /* 09 - 12 */ | 266 | 4, 4, 4, 4, /* 09 - 12 */ |
@@ -369,7 +369,7 @@ static inline u32 iop_desc_get_byte_count(struct iop_adma_desc_slot *desc, | |||
369 | /* translate the src_idx to a descriptor word index */ | 369 | /* translate the src_idx to a descriptor word index */ |
370 | static inline int __desc_idx(int src_idx) | 370 | static inline int __desc_idx(int src_idx) |
371 | { | 371 | { |
372 | const static int desc_idx_table[] = { 0, 0, 0, 0, | 372 | static const int desc_idx_table[] = { 0, 0, 0, 0, |
373 | 0, 1, 2, 3, | 373 | 0, 1, 2, 3, |
374 | 5, 6, 7, 8, | 374 | 5, 6, 7, 8, |
375 | 9, 10, 11, 12, | 375 | 9, 10, 11, 12, |
diff --git a/include/keys/rxrpc-type.h b/include/keys/rxrpc-type.h index 4ea429b18750..7609365577f1 100644 --- a/include/keys/rxrpc-type.h +++ b/include/keys/rxrpc-type.h | |||
@@ -21,4 +21,4 @@ extern struct key_type key_type_rxrpc; | |||
21 | 21 | ||
22 | extern struct key *rxrpc_get_null_key(const char *); | 22 | extern struct key *rxrpc_get_null_key(const char *); |
23 | 23 | ||
24 | #endif /* _KEYS_USER_TYPE_H */ | 24 | #endif /* _KEYS_RXRPC_TYPE_H */ |
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index b4d84ed6187d..d08a5c5eb928 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
@@ -404,7 +404,7 @@ static inline enum dma_status dma_async_is_tx_complete(struct dma_chan *chan, | |||
404 | * @last_used: last cookie value handed out | 404 | * @last_used: last cookie value handed out |
405 | * | 405 | * |
406 | * dma_async_is_complete() is used in dma_async_memcpy_complete() | 406 | * dma_async_is_complete() is used in dma_async_memcpy_complete() |
407 | * the test logic is seperated for lightweight testing of multiple cookies | 407 | * the test logic is separated for lightweight testing of multiple cookies |
408 | */ | 408 | */ |
409 | static inline enum dma_status dma_async_is_complete(dma_cookie_t cookie, | 409 | static inline enum dma_status dma_async_is_complete(dma_cookie_t cookie, |
410 | dma_cookie_t last_complete, dma_cookie_t last_used) | 410 | dma_cookie_t last_complete, dma_cookie_t last_used) |
diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h index e377e34e589e..33ef710dac24 100644 --- a/include/linux/jiffies.h +++ b/include/linux/jiffies.h | |||
@@ -36,7 +36,7 @@ | |||
36 | #elif HZ >= 6144 && HZ < 12288 | 36 | #elif HZ >= 6144 && HZ < 12288 |
37 | # define SHIFT_HZ 13 | 37 | # define SHIFT_HZ 13 |
38 | #else | 38 | #else |
39 | # error You lose. | 39 | # error Invalid value of HZ. |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | /* LATCH is used in the interval timer and ftape setup. */ | 42 | /* LATCH is used in the interval timer and ftape setup. */ |
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 8d8d1977736e..9f274a687c7e 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
@@ -699,7 +699,6 @@ extern char numa_zonelist_order[]; | |||
699 | extern struct pglist_data contig_page_data; | 699 | extern struct pglist_data contig_page_data; |
700 | #define NODE_DATA(nid) (&contig_page_data) | 700 | #define NODE_DATA(nid) (&contig_page_data) |
701 | #define NODE_MEM_MAP(nid) mem_map | 701 | #define NODE_MEM_MAP(nid) mem_map |
702 | #define MAX_NODES_SHIFT 1 | ||
703 | 702 | ||
704 | #else /* CONFIG_NEED_MULTIPLE_NODES */ | 703 | #else /* CONFIG_NEED_MULTIPLE_NODES */ |
705 | 704 | ||