summaryrefslogtreecommitdiff
path: root/arch/ia64/include/asm/switch_to.h
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/include/asm/switch_to.h
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/include/asm/switch_to.h')
-rw-r--r--arch/ia64/include/asm/switch_to.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/ia64/include/asm/switch_to.h b/arch/ia64/include/asm/switch_to.h
index 9011e90a6b97..a5a4e09468fa 100644
--- a/arch/ia64/include/asm/switch_to.h
+++ b/arch/ia64/include/asm/switch_to.h
@@ -31,16 +31,8 @@ extern struct task_struct *ia64_switch_to (void *next_task);
extern void ia64_save_extra (struct task_struct *task);
extern void ia64_load_extra (struct task_struct *task);
-#ifdef CONFIG_PERFMON
- DECLARE_PER_CPU(unsigned long, pfm_syst_info);
-# define PERFMON_IS_SYSWIDE() (__this_cpu_read(pfm_syst_info) & 0x1)
-#else
-# define PERFMON_IS_SYSWIDE() (0)
-#endif
-
#define IA64_HAS_EXTRA_STATE(t) \
- ((t)->thread.flags & (IA64_THREAD_DBG_VALID|IA64_THREAD_PM_VALID) \
- || PERFMON_IS_SYSWIDE())
+ ((t)->thread.flags & (IA64_THREAD_DBG_VALID|IA64_THREAD_PM_VALID))
#define __switch_to(prev,next,last) do { \
if (IA64_HAS_EXTRA_STATE(prev)) \