summaryrefslogtreecommitdiff
path: root/arch/ia64/oprofile/init.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-11 12:49:19 +0300
committerTony Luck <tony.luck@intel.com>2020-09-11 19:34:32 +0300
commitecf5b72d5f66af843f189dfe9ce31598c3e48ad7 (patch)
treede93edf4bfef746dd54186fee0215df98a88b8cf /arch/ia64/oprofile/init.c
parentf4d51dffc6c01a9e94650d95ce0104964f8ae822 (diff)
downloadlinux-ecf5b72d5f66af843f189dfe9ce31598c3e48ad7.tar.xz
ia64: Remove perfmon
perfmon has been marked broken and thus been disabled for all builds for more than two years. Remove it entirely. Cc: Anant Thazhemadam <anant.thazhemadam@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Enthusiastically-ACKed-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Tony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/r/20200911094920.1173631-1-hch@lst.de
Diffstat (limited to 'arch/ia64/oprofile/init.c')
-rw-r--r--arch/ia64/oprofile/init.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/ia64/oprofile/init.c b/arch/ia64/oprofile/init.c
index 31b545c35460..a692ba16a07b 100644
--- a/arch/ia64/oprofile/init.c
+++ b/arch/ia64/oprofile/init.c
@@ -18,21 +18,11 @@ extern void ia64_backtrace(struct pt_regs * const regs, unsigned int depth);
int __init oprofile_arch_init(struct oprofile_operations *ops)
{
- int ret = -ENODEV;
-
-#ifdef CONFIG_PERFMON
- /* perfmon_init() can fail, but we have no way to report it */
- ret = perfmon_init(ops);
-#endif
ops->backtrace = ia64_backtrace;
-
- return ret;
+ return -ENODEV;
}
void oprofile_arch_exit(void)
{
-#ifdef CONFIG_PERFMON
- perfmon_exit();
-#endif
}