Commit graph android_kernel_sony_sdm845/arch/parisc/include/asm/prefetch.h
Message SHA1
[PARISC] fix panic on prefetch(NULL) on PA7300LC
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.

Cc: stable@vger.kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

James Bottomley   commited 2012-05-16 13:15:21 +01:00
b3cb867481
parisc: move include/asm-parisc to arch/parisc/include/asm
Kyle McMartin   commited 2008-10-10 16:32:29 +00:00
deae26bf6a
Renamed from include/asm-parisc/prefetch.h (Browse further)