]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab00fe5a13f03cf90f99f55fb2ffaa2cb99ddefa
tree48cd02c7cc11074f3ee78d9ede5d3399fdf81f65
parent3b5928be0e4351b0017f61b11ffa77703f7a8447
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