[MIPS] Fix oprofile module unloading
authorRalf Baechle <ralf@linux-mips.org>
Mon, 24 Apr 2006 09:48:54 +0000 (10:48 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 27 Apr 2006 14:13:49 +0000 (15:13 +0100)
commit49e31ca8387227898710f99476f2217ea154aab0
tree86fecdc0e3692c8e87c3a0eedc22eaf405b732e3
parent2be4d50295e2b6f62c07b614e1b103e280dddb84
[MIPS] Fix oprofile module unloading

When unloading oprofile module with timer-mode, oprofile_arch_exit
dereferences a NULL pointer.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/common.c