aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/prefetch.h
Commit message (Collapse)AuthorAge
* PARISC: fix panic on prefetch(NULL) on PA7300LCJames Bottomley2012-06-01
| | | | | | | | | | | | | commit b3cb8674811d1851bbf1486a73d62b90c119b994 upstream. Due to an errata, the PA7300LC generates a TLB miss interruption even on the prefetch instruction. This means that prefetch(NULL), which is supposed to be a nop on linux actually generates a NULL deref fault. Fix this by testing the address of prefetch against NULL before doing the prefetch. Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* parisc: move include/asm-parisc to arch/parisc/include/asmKyle McMartin2008-10-10