[PARISC] Untangle <asm/processor.h> header include mess
commit4068d93cd17561bcbfc821c831cb048385320bd6
authorKyle McMartin <kyle@parisc-linux.org>
Mon, 14 Aug 2006 02:15:47 +0000 (13 22:15 -0400)
committerMatthew Wilcox <willy@parisc-linux.org>
Wed, 4 Oct 2006 12:44:47 +0000 (4 06:44 -0600)
treedb2e8f3ad3c8ab729cff1304cba984a4bc0a3735
parent78b656b8bf933101b42409b4492734b23427bfc3
[PARISC] Untangle <asm/processor.h> header include mess

asm/processor.h on parisc wants spinlocks for cpuinfo, but
linux/spinlock_types.h needs lockdep, and lockdep wants prefetch.

This leads to a horrible circular dependancy, because <asm/processor.h>
is including something which depends on things which are not defined
until the end of the file.

Kludge around this by moving prefetch related code into <asm/prefetch.h>
and including it before <linux/spinlock_types.h>, however this is just
a temporary solution until this mess can be cleaned up.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
include/asm-parisc/prefetch.h [new file with mode: 0644]
include/asm-parisc/processor.h