diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-08 13:10:11 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-08 13:10:11 -0400 |
| commit | 45d7f32c7a43cbb9592886d38190e379e2eb2226 (patch) | |
| tree | ea68b67b1d2127527d856248c0485f2ed7e50088 /include/linux | |
| parent | 53bcef60633086ad73683d01a4ef9ca678484d2d (diff) | |
| parent | ab11b487402f97975f3ac1eeea09c82f4431481e (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
* git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
arch/tile: check kmalloc() result
arch/tile: catch up on various minor cleanups.
arch/tile: avoid erroneous error return for PTRACE_POKEUSR.
tile: set ARCH_KMALLOC_MINALIGN
tile: remove homegrown L1_CACHE_ALIGN macro
arch/tile: Miscellaneous cleanup changes.
arch/tile: Split the icache flush code off to a generic <arch> header.
arch/tile: Fix bug in support for atomic64_xx() ops.
arch/tile: Shrink the tile-opcode files considerably.
arch/tile: Add driver to enable access to the user dynamic network.
arch/tile: Enable more sophisticated IRQ model for 32-bit chips.
Move list types from <linux/list.h> to <linux/types.h>.
Add wait4() back to the set of <asm-generic/unistd.h> syscalls.
Revert adding some arch-specific signal syscalls to <linux/syscalls.h>.
arch/tile: Do not use GFP_KERNEL for dma_alloc_coherent(). Feedback from fujita.tomonori@lab.ntt.co.jp.
arch/tile: core support for Tilera 32-bit chips.
Fix up the "generic" unistd.h ABI to be more useful.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/list.h | 13 | ||||
| -rw-r--r-- | include/linux/types.h | 12 |
2 files changed, 13 insertions, 12 deletions
diff --git a/include/linux/list.h b/include/linux/list.h index 5d57a3a1fa1b..d167b5d7c0ac 100644 --- a/include/linux/list.h +++ b/include/linux/list.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #ifndef _LINUX_LIST_H | 1 | #ifndef _LINUX_LIST_H |
| 2 | #define _LINUX_LIST_H | 2 | #define _LINUX_LIST_H |
| 3 | 3 | ||
| 4 | #include <linux/types.h> | ||
| 4 | #include <linux/stddef.h> | 5 | #include <linux/stddef.h> |
| 5 | #include <linux/poison.h> | 6 | #include <linux/poison.h> |
| 6 | #include <linux/prefetch.h> | 7 | #include <linux/prefetch.h> |
| @@ -16,10 +17,6 @@ | |||
| 16 | * using the generic single-entry routines. | 17 | * using the generic single-entry routines. |
| 17 | */ | 18 | */ |
| 18 | 19 | ||
| 19 | struct list_head { | ||
| 20 | struct list_head *next, *prev; | ||
| 21 | }; | ||
| 22 | |||
| 23 | #define LIST_HEAD_INIT(name) { &(name), &(name) } | 20 | #define LIST_HEAD_INIT(name) { &(name), &(name) } |
| 24 | 21 | ||
| 25 | #define LIST_HEAD(name) \ | 22 | #define LIST_HEAD(name) \ |
| @@ -566,14 +563,6 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
| 566 | * You lose the ability to access the tail in O(1). | 563 | * You lose the ability to access the tail in O(1). |
| 567 | */ | 564 | */ |
| 568 | 565 | ||
| 569 | struct hlist_head { | ||
| 570 | struct hlist_node *first; | ||
| 571 | }; | ||
| 572 | |||
| 573 | struct hlist_node { | ||
| 574 | struct hlist_node *next, **pprev; | ||
| 575 | }; | ||
| 576 | |||
| 577 | #define HLIST_HEAD_INIT { .first = NULL } | 566 | #define HLIST_HEAD_INIT { .first = NULL } |
| 578 | #define HLIST_HEAD(name) struct hlist_head name = { .first = NULL } | 567 | #define HLIST_HEAD(name) struct hlist_head name = { .first = NULL } |
| 579 | #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) | 568 | #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) |
diff --git a/include/linux/types.h b/include/linux/types.h index 331d8baabcf2..01a082f56ef4 100644 --- a/include/linux/types.h +++ b/include/linux/types.h | |||
| @@ -200,6 +200,18 @@ typedef struct { | |||
| 200 | } atomic64_t; | 200 | } atomic64_t; |
| 201 | #endif | 201 | #endif |
| 202 | 202 | ||
| 203 | struct list_head { | ||
| 204 | struct list_head *next, *prev; | ||
| 205 | }; | ||
| 206 | |||
| 207 | struct hlist_head { | ||
| 208 | struct hlist_node *first; | ||
| 209 | }; | ||
| 210 | |||
| 211 | struct hlist_node { | ||
| 212 | struct hlist_node *next, **pprev; | ||
| 213 | }; | ||
| 214 | |||
| 203 | struct ustat { | 215 | struct ustat { |
| 204 | __kernel_daddr_t f_tfree; | 216 | __kernel_daddr_t f_tfree; |
| 205 | __kernel_ino_t f_tinode; | 217 | __kernel_ino_t f_tinode; |
