aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/mips/include/asm/mach-loongson2ef/loongson.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2021-01-14 17:05:21 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2021-01-22 12:12:26 +0530
commite258958945c6e1f682bf6d1f3b2bbf93895ae884 (patch)
treed360ea11a7e103f6dba274e1d35bb2e8e373021d /arch/mips/include/asm/mach-loongson2ef/loongson.h
parentarch: microblaze: Remove CONFIG_OPROFILE support (diff)
downloadwireguard-linux-e258958945c6e1f682bf6d1f3b2bbf93895ae884.tar.xz
wireguard-linux-e258958945c6e1f682bf6d1f3b2bbf93895ae884.zip
arch: mips: Remove CONFIG_OPROFILE support
The "oprofile" user-space tools don't use the kernel OPROFILE support any more, and haven't in a long time. User-space has been converted to the perf interfaces. Remove the old oprofile's architecture specific support. Suggested-by: Christoph Hellwig <hch@infradead.org> Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Robert Richter <rric@kernel.org> Acked-by: William Cohen <wcohen@redhat.com> Acked-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/mips/include/asm/mach-loongson2ef/loongson.h')
-rw-r--r--arch/mips/include/asm/mach-loongson2ef/loongson.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/mips/include/asm/mach-loongson2ef/loongson.h b/arch/mips/include/asm/mach-loongson2ef/loongson.h
index 57e571128489..ca039b8dcde3 100644
--- a/arch/mips/include/asm/mach-loongson2ef/loongson.h
+++ b/arch/mips/include/asm/mach-loongson2ef/loongson.h
@@ -56,15 +56,6 @@ extern int mach_i8259_irq(void);
(*(volatile u32 *)((char *)CKSEG1ADDR(LOONGSON_REG_BASE) + (x)))
#define LOONGSON_IRQ_BASE 32
-#define LOONGSON2_PERFCNT_IRQ (MIPS_CPU_IRQ_BASE + 6) /* cpu perf counter */
-
-#include <linux/interrupt.h>
-static inline void do_perfcnt_IRQ(void)
-{
-#if IS_ENABLED(CONFIG_OPROFILE)
- do_IRQ(LOONGSON2_PERFCNT_IRQ);
-#endif
-}
#define LOONGSON_FLASH_BASE 0x1c000000
#define LOONGSON_FLASH_SIZE 0x02000000 /* 32M */