MIPS: cevt-r4k: Move handle_perf_irq() out of header
authorJames Hogan <james.hogan@imgtec.com>
Tue, 27 Jan 2015 21:45:47 +0000 (21:45 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Mar 2015 10:04:12 +0000 (12:04 +0200)
commit19971c0bcb45f264c83cb2fd2bce50457bd17cc4
treee20a24ff0fc188c1478d7cccb6c098e2fe8ba714
parentc9d6c8b0eba2421b9bf812919bece0b82d923689
MIPS: cevt-r4k: Move handle_perf_irq() out of header

Long ago, commit 8531a35e5e27 ("[MIPS] SMTC: Fix SMTC dyntick support.")
moved handle_perf_irq() out of cevt-r4k.c into a header so it could be
shared with cevt-smtc.c.

Slightly less long ago, commit b633648c5ad3 ("MIPS: MT: Remove SMTC
support") removed all traces of SMTC support, including cevt-smtc.c,
leaving cevt-r4k.c once again the sole user of handle_perf_irq(),
therefore move it back into cevt-r4k.c from the header.

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/9123/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cevt-r4k.h
arch/mips/kernel/cevt-r4k.c