]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Oprofile: Fix build as a module.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 19 Jul 2012 07:13:52 +0000 (09:13 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 19 Jul 2012 09:23:44 +0000 (11:23 +0200)
commitb9f9e0b674938546c1726788c4aa3f2f3b4bb9b2
treefa6f5e31d24762dd1365fbe199f61de5449ab444
parent1078a07af44fcc62a19d29dda564081830006d1e
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 ab8b50652b73acb9af31cb952aa4e364227fce8a
[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>
arch/mips/kernel/traps.c