]> 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)
commit5607f2a38ec0143c262d8770333e39ea46def5e0
treefa6f5e31d24762dd1365fbe199f61de5449ab444
parent8fa6cbca72030c21d90b2a6eafec24b7e4923654
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 06f9d8c61986a6bbddde21e7b25ccfaad1b557e4
[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