1. 18 10月, 2007 1 次提交
  2. 04 10月, 2006 2 次提交
    • K
      [PARISC] PA7200 also supports prefetch for read · 32104b29
      Kyle McMartin 提交于
      It seems PA7200 processors also suppress traps on loads to
      %r0. This means we can prefetch for read on these cpus. Of course,
      we can't support prefetch for write, since that requires
      LOAD DOUBLEWORD which was added with PA2.0
      Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
      32104b29
    • K
      [PARISC] Untangle <asm/processor.h> header include mess · 4068d93c
      Kyle McMartin 提交于
      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: NKyle McMartin <kyle@parisc-linux.org>
      4068d93c