summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2010-07-02 19:41:14 +0200
committerChris Metcalf <cmetcalf@tilera.com>2010-07-06 19:33:54 +0200
commitde5d9bf6541736dc7ad264d2b5cc99bc1b2ad958 (patch)
treeb81702527a1b00440d8ae28b858dff93b930c0e6 /arch
parentAdd wait4() back to the set of <asm-generic/unistd.h> syscalls. (diff)
downloadlinux-de5d9bf6541736dc7ad264d2b5cc99bc1b2ad958.tar.xz
linux-de5d9bf6541736dc7ad264d2b5cc99bc1b2ad958.zip
Move list types from <linux/list.h> to <linux/types.h>.
This allows a list_head (or hlist_head, etc.) to be used from places that used to be impractical, in particular <asm/processor.h>, which used to cause include file recursion: <linux/list.h> includes <linux/prefetch.h>, which always includes <asm/processor.h> for the prefetch macros, as well as <asm/system.h>, which often includes <asm/processor.h> directly or indirectly. This avoids a lot of painful workaround hackery on the tile architecture, where we use a list_head in the thread_struct to chain together tasks that are activated on a particular hardwall. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions