MIPS: cevt-r4k: Use CAUSEF_TI, CAUSEF_PCI constants
authorJames Hogan <james.hogan@imgtec.com>
Tue, 27 Jan 2015 21:45:48 +0000 (21:45 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Mar 2015 10:04:12 +0000 (12:04 +0200)
commit3ba5040af01fb06a36198f5f6065e25b0655ca0d
tree48cd02c7cc11074f3ee78d9ede5d3399fdf81f65
parent19971c0bcb45f264c83cb2fd2bce50457bd17cc4
MIPS: cevt-r4k: Use CAUSEF_TI, CAUSEF_PCI constants

Use CAUSEF_TI and CAUSEF_PCI constants from asm/mipsregs.h rather than
the magic values (1 << 30) and (1 << 26).

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/9124/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cevt-r4k.c
arch/mips/oprofile/op_model_mipsxx.c