powerpc: perf_event: Log invalid data addresses as all 1s
authorAnton Blanchard <anton@samba.org>
Mon, 21 Sep 2009 16:56:10 +0000 (16:56 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 28 Oct 2009 05:13:02 +0000 (16:13 +1100)
commitbc284e5d9d6da48934a177db92bf8e09b96a9cb8
tree23b3cfa9b04498de0e80cb0d9226befd130cb9ba
parenta3ccf63ee643ef243cbf8918da8b3f9238f10029
powerpc: perf_event: Log invalid data addresses as all 1s

When we take an exception and the SDAR isn't synchronised we currently
log 0 as the address.  Unfortunately this is a pretty common value, so
use ~0UL instead.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/perf_event.c