diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-11 12:49:19 +0300 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2020-09-11 19:34:32 +0300 |
commit | ecf5b72d5f66af843f189dfe9ce31598c3e48ad7 (patch) | |
tree | de93edf4bfef746dd54186fee0215df98a88b8cf /arch/ia64/oprofile/init.c | |
parent | f4d51dffc6c01a9e94650d95ce0104964f8ae822 (diff) | |
download | linux-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.c | 12 |
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 } |