commit | 68b6352cdcdaa743b38ca5705601f65ef9bd662f | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Thu Jul 19 09:13:52 2012 +0200 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Jul 19 11:23:44 2012 +0200 |
tree | fa6f5e31d24762dd1365fbe199f61de5449ab444 | |
parent | 38be3c7e77ee9bc8ca34a83506e34809ec36c2a4 [diff] |
MIPS: Oprofile: Fix build as a module. When building oprofile as a module for R10000 or R7000 class processors, E9000 or MIPSxx class cores since 3572a2c37f667ee49333f8863722b8f43eac506b [MIPS: make oprofile use cp0_perfcount_irq if it is set] an ERROR: "cp0_compare_irq" [arch/mips/oprofile/oprofile.ko] undefined! error will happen. Fixed by exporting cp0_compare_irq. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>