diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2016-10-25 05:03:15 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-11-16 04:15:11 -0500 |
commit | 5bd0b85ba8bb9de6f61f33f3752fc85f4c87fc22 (patch) | |
tree | c9f2a61626dd4fe1838d92c243092e6ba49ba74c | |
parent | f2f09a4cee3507dba0e24b87ba2961a5c377d3a7 (diff) |
locking/core, arch: Remove cpu_relax_lowlatency()
As there are no users left, we can remove cpu_relax_lowlatency()
implementations from every architecture.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Noam Camus <noamc@ezchip.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: virtualization@lists.linux-foundation.org
Cc: xen-devel@lists.xenproject.org
Cc: <linux-arch@vger.kernel.org>
Link: http://lkml.kernel.org/r/1477386195-32736-6-git-send-email-borntraeger@de.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
32 files changed, 0 insertions, 33 deletions
diff --git a/arch/alpha/include/asm/processor.h b/arch/alpha/include/asm/processor.h index 0556fda7bc6d..31e8dbeef10b 100644 --- a/arch/alpha/include/asm/processor.h +++ b/arch/alpha/include/asm/processor.h | |||
@@ -59,7 +59,6 @@ unsigned long get_wchan(struct task_struct *p); | |||
59 | 59 | ||
60 | #define cpu_relax() barrier() | 60 | #define cpu_relax() barrier() |
61 | #define cpu_relax_yield() cpu_relax() | 61 | #define cpu_relax_yield() cpu_relax() |
62 | #define cpu_relax_lowlatency() cpu_relax() | ||
63 | 62 | ||
64 | #define ARCH_HAS_PREFETCH | 63 | #define ARCH_HAS_PREFETCH |
65 | #define ARCH_HAS_PREFETCHW | 64 | #define ARCH_HAS_PREFETCHW |
diff --git a/arch/arc/include/asm/processor.h b/arch/arc/include/asm/processor.h index 6c158d576355..d102a49ad8c5 100644 --- a/arch/arc/include/asm/processor.h +++ b/arch/arc/include/asm/processor.h | |||
@@ -61,7 +61,6 @@ struct task_struct; | |||
61 | 61 | ||
62 | #define cpu_relax() barrier() | 62 | #define cpu_relax() barrier() |
63 | #define cpu_relax_yield() cpu_relax() | 63 | #define cpu_relax_yield() cpu_relax() |
64 | #define cpu_relax_lowlatency() cpu_relax() | ||
65 | 64 | ||
66 | #else | 65 | #else |
67 | 66 | ||
@@ -69,7 +68,6 @@ struct task_struct; | |||
69 | __asm__ __volatile__ (".word %0" : : "i"(CTOP_INST_SCHD_RW) : "memory") | 68 | __asm__ __volatile__ (".word %0" : : "i"(CTOP_INST_SCHD_RW) : "memory") |
70 | 69 | ||
71 | #define cpu_relax_yield() cpu_relax() | 70 | #define cpu_relax_yield() cpu_relax() |
72 | #define cpu_relax_lowlatency() barrier() | ||
73 | 71 | ||
74 | #endif | 72 | #endif |
75 | 73 | ||
diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h index db660e0b4bd3..9e71c58bfa6f 100644 --- a/arch/arm/include/asm/processor.h +++ b/arch/arm/include/asm/processor.h | |||
@@ -83,7 +83,6 @@ unsigned long get_wchan(struct task_struct *p); | |||
83 | #endif | 83 | #endif |
84 | 84 | ||
85 | #define cpu_relax_yield() cpu_relax() | 85 | #define cpu_relax_yield() cpu_relax() |
86 | #define cpu_relax_lowlatency() cpu_relax() | ||
87 | 86 | ||
88 | #define task_pt_regs(p) \ | 87 | #define task_pt_regs(p) \ |
89 | ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1) | 88 | ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1) |
diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h index 3f9b0e54dae3..6132f64af68d 100644 --- a/arch/arm64/include/asm/processor.h +++ b/arch/arm64/include/asm/processor.h | |||
@@ -150,7 +150,6 @@ static inline void cpu_relax(void) | |||
150 | } | 150 | } |
151 | 151 | ||
152 | #define cpu_relax_yield() cpu_relax() | 152 | #define cpu_relax_yield() cpu_relax() |
153 | #define cpu_relax_lowlatency() cpu_relax() | ||
154 | 153 | ||
155 | /* Thread switching */ | 154 | /* Thread switching */ |
156 | extern struct task_struct *cpu_switch_to(struct task_struct *prev, | 155 | extern struct task_struct *cpu_switch_to(struct task_struct *prev, |
diff --git a/arch/avr32/include/asm/processor.h b/arch/avr32/include/asm/processor.h index e412e8b68a7d..ee62365ad0da 100644 --- a/arch/avr32/include/asm/processor.h +++ b/arch/avr32/include/asm/processor.h | |||
@@ -93,7 +93,6 @@ extern struct avr32_cpuinfo boot_cpu_data; | |||
93 | 93 | ||
94 | #define cpu_relax() barrier() | 94 | #define cpu_relax() barrier() |
95 | #define cpu_relax_yield() cpu_relax() | 95 | #define cpu_relax_yield() cpu_relax() |
96 | #define cpu_relax_lowlatency() cpu_relax() | ||
97 | #define cpu_sync_pipeline() asm volatile("sub pc, -2" : : : "memory") | 96 | #define cpu_sync_pipeline() asm volatile("sub pc, -2" : : : "memory") |
98 | 97 | ||
99 | struct cpu_context { | 98 | struct cpu_context { |
diff --git a/arch/blackfin/include/asm/processor.h b/arch/blackfin/include/asm/processor.h index 8b8704a44b77..57acfb1acfe5 100644 --- a/arch/blackfin/include/asm/processor.h +++ b/arch/blackfin/include/asm/processor.h | |||
@@ -93,7 +93,6 @@ unsigned long get_wchan(struct task_struct *p); | |||
93 | 93 | ||
94 | #define cpu_relax() smp_mb() | 94 | #define cpu_relax() smp_mb() |
95 | #define cpu_relax_yield() cpu_relax() | 95 | #define cpu_relax_yield() cpu_relax() |
96 | #define cpu_relax_lowlatency() cpu_relax() | ||
97 | 96 | ||
98 | /* Get the Silicon Revision of the chip */ | 97 | /* Get the Silicon Revision of the chip */ |
99 | static inline uint32_t __pure bfin_revid(void) | 98 | static inline uint32_t __pure bfin_revid(void) |
diff --git a/arch/c6x/include/asm/processor.h b/arch/c6x/include/asm/processor.h index 914d7308bdb4..1fd22e727e44 100644 --- a/arch/c6x/include/asm/processor.h +++ b/arch/c6x/include/asm/processor.h | |||
@@ -122,7 +122,6 @@ extern unsigned long get_wchan(struct task_struct *p); | |||
122 | 122 | ||
123 | #define cpu_relax() do { } while (0) | 123 | #define cpu_relax() do { } while (0) |
124 | #define cpu_relax_yield() cpu_relax() | 124 | #define cpu_relax_yield() cpu_relax() |
125 | #define cpu_relax_lowlatency() cpu_relax() | ||
126 | 125 | ||
127 | extern const struct seq_operations cpuinfo_op; | 126 | extern const struct seq_operations cpuinfo_op; |
128 | 127 | ||
diff --git a/arch/cris/include/asm/processor.h b/arch/cris/include/asm/processor.h index 01dd52ecac84..1a578417397f 100644 --- a/arch/cris/include/asm/processor.h +++ b/arch/cris/include/asm/processor.h | |||
@@ -64,7 +64,6 @@ static inline void release_thread(struct task_struct *dead_task) | |||
64 | 64 | ||
65 | #define cpu_relax() barrier() | 65 | #define cpu_relax() barrier() |
66 | #define cpu_relax_yield() cpu_relax() | 66 | #define cpu_relax_yield() cpu_relax() |
67 | #define cpu_relax_lowlatency() cpu_relax() | ||
68 | 67 | ||
69 | void default_idle(void); | 68 | void default_idle(void); |
70 | 69 | ||
diff --git a/arch/frv/include/asm/processor.h b/arch/frv/include/asm/processor.h index 4d00d65f5e5e..c1e5f2a0ca31 100644 --- a/arch/frv/include/asm/processor.h +++ b/arch/frv/include/asm/processor.h | |||
@@ -108,7 +108,6 @@ unsigned long get_wchan(struct task_struct *p); | |||
108 | 108 | ||
109 | #define cpu_relax() barrier() | 109 | #define cpu_relax() barrier() |
110 | #define cpu_relax_yield() cpu_relax() | 110 | #define cpu_relax_yield() cpu_relax() |
111 | #define cpu_relax_lowlatency() cpu_relax() | ||
112 | 111 | ||
113 | /* data cache prefetch */ | 112 | /* data cache prefetch */ |
114 | #define ARCH_HAS_PREFETCH | 113 | #define ARCH_HAS_PREFETCH |
diff --git a/arch/h8300/include/asm/processor.h b/arch/h8300/include/asm/processor.h index 683a061c3cb5..42d605369217 100644 --- a/arch/h8300/include/asm/processor.h +++ b/arch/h8300/include/asm/processor.h | |||
@@ -128,7 +128,6 @@ unsigned long get_wchan(struct task_struct *p); | |||
128 | 128 | ||
129 | #define cpu_relax() barrier() | 129 | #define cpu_relax() barrier() |
130 | #define cpu_relax_yield() cpu_relax() | 130 | #define cpu_relax_yield() cpu_relax() |
131 | #define cpu_relax_lowlatency() cpu_relax() | ||
132 | 131 | ||
133 | #define HARD_RESET_NOW() ({ \ | 132 | #define HARD_RESET_NOW() ({ \ |
134 | local_irq_disable(); \ | 133 | local_irq_disable(); \ |
diff --git a/arch/hexagon/include/asm/processor.h b/arch/hexagon/include/asm/processor.h index 1558ddb9e5d7..5d694cccc85a 100644 --- a/arch/hexagon/include/asm/processor.h +++ b/arch/hexagon/include/asm/processor.h | |||
@@ -57,7 +57,6 @@ struct thread_struct { | |||
57 | 57 | ||
58 | #define cpu_relax() __vmyield() | 58 | #define cpu_relax() __vmyield() |
59 | #define cpu_relax_yield() cpu_relax() | 59 | #define cpu_relax_yield() cpu_relax() |
60 | #define cpu_relax_lowlatency() cpu_relax() | ||
61 | 60 | ||
62 | /* | 61 | /* |
63 | * Decides where the kernel will search for a free chunk of vm space during | 62 | * Decides where the kernel will search for a free chunk of vm space during |
diff --git a/arch/ia64/include/asm/processor.h b/arch/ia64/include/asm/processor.h index 4654b71dc8db..0c2c3b256f6c 100644 --- a/arch/ia64/include/asm/processor.h +++ b/arch/ia64/include/asm/processor.h | |||
@@ -548,7 +548,6 @@ ia64_eoi (void) | |||
548 | 548 | ||
549 | #define cpu_relax() ia64_hint(ia64_hint_pause) | 549 | #define cpu_relax() ia64_hint(ia64_hint_pause) |
550 | #define cpu_relax_yield() cpu_relax() | 550 | #define cpu_relax_yield() cpu_relax() |
551 | #define cpu_relax_lowlatency() cpu_relax() | ||
552 | 551 | ||
553 | static inline int | 552 | static inline int |
554 | ia64_get_irr(unsigned int vector) | 553 | ia64_get_irr(unsigned int vector) |
diff --git a/arch/m32r/include/asm/processor.h b/arch/m32r/include/asm/processor.h index b2620370320d..9b83a13290fc 100644 --- a/arch/m32r/include/asm/processor.h +++ b/arch/m32r/include/asm/processor.h | |||
@@ -134,6 +134,5 @@ unsigned long get_wchan(struct task_struct *p); | |||
134 | 134 | ||
135 | #define cpu_relax() barrier() | 135 | #define cpu_relax() barrier() |
136 | #define cpu_relax_yield() cpu_relax() | 136 | #define cpu_relax_yield() cpu_relax() |
137 | #define cpu_relax_lowlatency() cpu_relax() | ||
138 | 137 | ||
139 | #endif /* _ASM_M32R_PROCESSOR_H */ | 138 | #endif /* _ASM_M32R_PROCESSOR_H */ |
diff --git a/arch/m68k/include/asm/processor.h b/arch/m68k/include/asm/processor.h index 13e07ae6786d..b0d044224ce5 100644 --- a/arch/m68k/include/asm/processor.h +++ b/arch/m68k/include/asm/processor.h | |||
@@ -157,6 +157,5 @@ unsigned long get_wchan(struct task_struct *p); | |||
157 | 157 | ||
158 | #define cpu_relax() barrier() | 158 | #define cpu_relax() barrier() |
159 | #define cpu_relax_yield() cpu_relax() | 159 | #define cpu_relax_yield() cpu_relax() |
160 | #define cpu_relax_lowlatency() cpu_relax() | ||
161 | 160 | ||
162 | #endif | 161 | #endif |
diff --git a/arch/metag/include/asm/processor.h b/arch/metag/include/asm/processor.h index 61d6e2722893..ee302a637f24 100644 --- a/arch/metag/include/asm/processor.h +++ b/arch/metag/include/asm/processor.h | |||
@@ -153,7 +153,6 @@ unsigned long get_wchan(struct task_struct *p); | |||
153 | 153 | ||
154 | #define cpu_relax() barrier() | 154 | #define cpu_relax() barrier() |
155 | #define cpu_relax_yield() cpu_relax() | 155 | #define cpu_relax_yield() cpu_relax() |
156 | #define cpu_relax_lowlatency() cpu_relax() | ||
157 | 156 | ||
158 | extern void setup_priv(void); | 157 | extern void setup_priv(void); |
159 | 158 | ||
diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h index fd7dd11c730a..08ec1f725b7f 100644 --- a/arch/microblaze/include/asm/processor.h +++ b/arch/microblaze/include/asm/processor.h | |||
@@ -23,7 +23,6 @@ extern const struct seq_operations cpuinfo_op; | |||
23 | 23 | ||
24 | # define cpu_relax() barrier() | 24 | # define cpu_relax() barrier() |
25 | # define cpu_relax_yield() cpu_relax() | 25 | # define cpu_relax_yield() cpu_relax() |
26 | # define cpu_relax_lowlatency() cpu_relax() | ||
27 | 26 | ||
28 | #define task_pt_regs(tsk) \ | 27 | #define task_pt_regs(tsk) \ |
29 | (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1) | 28 | (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1) |
diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h index 9a656f6afc7c..8ea95e77ec9d 100644 --- a/arch/mips/include/asm/processor.h +++ b/arch/mips/include/asm/processor.h | |||
@@ -390,7 +390,6 @@ unsigned long get_wchan(struct task_struct *p); | |||
390 | 390 | ||
391 | #define cpu_relax() barrier() | 391 | #define cpu_relax() barrier() |
392 | #define cpu_relax_yield() cpu_relax() | 392 | #define cpu_relax_yield() cpu_relax() |
393 | #define cpu_relax_lowlatency() cpu_relax() | ||
394 | 393 | ||
395 | /* | 394 | /* |
396 | * Return_address is a replacement for __builtin_return_address(count) | 395 | * Return_address is a replacement for __builtin_return_address(count) |
diff --git a/arch/mn10300/include/asm/processor.h b/arch/mn10300/include/asm/processor.h index 89f63d1720ee..d11397bc9429 100644 --- a/arch/mn10300/include/asm/processor.h +++ b/arch/mn10300/include/asm/processor.h | |||
@@ -70,7 +70,6 @@ extern void dodgy_tsc(void); | |||
70 | 70 | ||
71 | #define cpu_relax() barrier() | 71 | #define cpu_relax() barrier() |
72 | #define cpu_relax_yield() cpu_relax() | 72 | #define cpu_relax_yield() cpu_relax() |
73 | #define cpu_relax_lowlatency() cpu_relax() | ||
74 | 73 | ||
75 | /* | 74 | /* |
76 | * User space process size: 1.75GB (default). | 75 | * User space process size: 1.75GB (default). |
diff --git a/arch/nios2/include/asm/processor.h b/arch/nios2/include/asm/processor.h index 303e5932a733..d32c17669123 100644 --- a/arch/nios2/include/asm/processor.h +++ b/arch/nios2/include/asm/processor.h | |||
@@ -89,7 +89,6 @@ extern unsigned long get_wchan(struct task_struct *p); | |||
89 | 89 | ||
90 | #define cpu_relax() barrier() | 90 | #define cpu_relax() barrier() |
91 | #define cpu_relax_yield() cpu_relax() | 91 | #define cpu_relax_yield() cpu_relax() |
92 | #define cpu_relax_lowlatency() cpu_relax() | ||
93 | 92 | ||
94 | #endif /* __ASSEMBLY__ */ | 93 | #endif /* __ASSEMBLY__ */ |
95 | 94 | ||
diff --git a/arch/openrisc/include/asm/processor.h b/arch/openrisc/include/asm/processor.h index 6ecfc2ab28e4..7f47fc7b7eae 100644 --- a/arch/openrisc/include/asm/processor.h +++ b/arch/openrisc/include/asm/processor.h | |||
@@ -93,7 +93,6 @@ extern unsigned long thread_saved_pc(struct task_struct *t); | |||
93 | 93 | ||
94 | #define cpu_relax() barrier() | 94 | #define cpu_relax() barrier() |
95 | #define cpu_relax_yield() cpu_relax() | 95 | #define cpu_relax_yield() cpu_relax() |
96 | #define cpu_relax_lowlatency() cpu_relax() | ||
97 | 96 | ||
98 | #endif /* __ASSEMBLY__ */ | 97 | #endif /* __ASSEMBLY__ */ |
99 | #endif /* __ASM_OPENRISC_PROCESSOR_H */ | 98 | #endif /* __ASM_OPENRISC_PROCESSOR_H */ |
diff --git a/arch/parisc/include/asm/processor.h b/arch/parisc/include/asm/processor.h index ea2ff9febffd..a4a07f4f7c20 100644 --- a/arch/parisc/include/asm/processor.h +++ b/arch/parisc/include/asm/processor.h | |||
@@ -310,7 +310,6 @@ extern unsigned long get_wchan(struct task_struct *p); | |||
310 | 310 | ||
311 | #define cpu_relax() barrier() | 311 | #define cpu_relax() barrier() |
312 | #define cpu_relax_yield() cpu_relax() | 312 | #define cpu_relax_yield() cpu_relax() |
313 | #define cpu_relax_lowlatency() cpu_relax() | ||
314 | 313 | ||
315 | /* | 314 | /* |
316 | * parisc_requires_coherency() is used to identify the combined VIPT/PIPT | 315 | * parisc_requires_coherency() is used to identify the combined VIPT/PIPT |
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 908fa7cb3fb3..5684e6872473 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h | |||
@@ -405,7 +405,6 @@ static inline unsigned long __pack_fe01(unsigned int fpmode) | |||
405 | #endif | 405 | #endif |
406 | 406 | ||
407 | #define cpu_relax_yield() cpu_relax() | 407 | #define cpu_relax_yield() cpu_relax() |
408 | #define cpu_relax_lowlatency() cpu_relax() | ||
409 | 408 | ||
410 | /* Check that a certain kernel stack pointer is valid in task_struct p */ | 409 | /* Check that a certain kernel stack pointer is valid in task_struct p */ |
411 | int validate_sp(unsigned long sp, struct task_struct *p, | 410 | int validate_sp(unsigned long sp, struct task_struct *p, |
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h index 79343e37b455..9e32f25bdea3 100644 --- a/arch/s390/include/asm/processor.h +++ b/arch/s390/include/asm/processor.h | |||
@@ -237,7 +237,6 @@ static inline unsigned short stap(void) | |||
237 | void cpu_relax_yield(void); | 237 | void cpu_relax_yield(void); |
238 | 238 | ||
239 | #define cpu_relax() barrier() | 239 | #define cpu_relax() barrier() |
240 | #define cpu_relax_lowlatency() barrier() | ||
241 | 240 | ||
242 | #define ECAG_CACHE_ATTRIBUTE 0 | 241 | #define ECAG_CACHE_ATTRIBUTE 0 |
243 | #define ECAG_CPU_ATTRIBUTE 1 | 242 | #define ECAG_CPU_ATTRIBUTE 1 |
diff --git a/arch/score/include/asm/processor.h b/arch/score/include/asm/processor.h index e8e87b4d7971..a1e97c063ed4 100644 --- a/arch/score/include/asm/processor.h +++ b/arch/score/include/asm/processor.h | |||
@@ -25,7 +25,6 @@ extern unsigned long get_wchan(struct task_struct *p); | |||
25 | 25 | ||
26 | #define cpu_relax() barrier() | 26 | #define cpu_relax() barrier() |
27 | #define cpu_relax_yield() cpu_relax() | 27 | #define cpu_relax_yield() cpu_relax() |
28 | #define cpu_relax_lowlatency() cpu_relax() | ||
29 | #define release_thread(thread) do {} while (0) | 28 | #define release_thread(thread) do {} while (0) |
30 | 29 | ||
31 | /* | 30 | /* |
diff --git a/arch/sh/include/asm/processor.h b/arch/sh/include/asm/processor.h index 099a99105e1c..9454ff1ad0d9 100644 --- a/arch/sh/include/asm/processor.h +++ b/arch/sh/include/asm/processor.h | |||
@@ -98,7 +98,6 @@ extern struct sh_cpuinfo cpu_data[]; | |||
98 | #define cpu_sleep() __asm__ __volatile__ ("sleep" : : : "memory") | 98 | #define cpu_sleep() __asm__ __volatile__ ("sleep" : : : "memory") |
99 | #define cpu_relax() barrier() | 99 | #define cpu_relax() barrier() |
100 | #define cpu_relax_yield() cpu_relax() | 100 | #define cpu_relax_yield() cpu_relax() |
101 | #define cpu_relax_lowlatency() cpu_relax() | ||
102 | 101 | ||
103 | void default_idle(void); | 102 | void default_idle(void); |
104 | void stop_this_cpu(void *); | 103 | void stop_this_cpu(void *); |
diff --git a/arch/sparc/include/asm/processor_32.h b/arch/sparc/include/asm/processor_32.h index 50e908a3c651..fc32b7311481 100644 --- a/arch/sparc/include/asm/processor_32.h +++ b/arch/sparc/include/asm/processor_32.h | |||
@@ -120,7 +120,6 @@ int do_mathemu(struct pt_regs *regs, struct task_struct *fpt); | |||
120 | 120 | ||
121 | #define cpu_relax() barrier() | 121 | #define cpu_relax() barrier() |
122 | #define cpu_relax_yield() cpu_relax() | 122 | #define cpu_relax_yield() cpu_relax() |
123 | #define cpu_relax_lowlatency() cpu_relax() | ||
124 | 123 | ||
125 | extern void (*sparc_idle)(void); | 124 | extern void (*sparc_idle)(void); |
126 | 125 | ||
diff --git a/arch/sparc/include/asm/processor_64.h b/arch/sparc/include/asm/processor_64.h index 3e8fac724f18..12787dfeb11c 100644 --- a/arch/sparc/include/asm/processor_64.h +++ b/arch/sparc/include/asm/processor_64.h | |||
@@ -217,7 +217,6 @@ unsigned long get_wchan(struct task_struct *task); | |||
217 | ".previous" \ | 217 | ".previous" \ |
218 | ::: "memory") | 218 | ::: "memory") |
219 | #define cpu_relax_yield() cpu_relax() | 219 | #define cpu_relax_yield() cpu_relax() |
220 | #define cpu_relax_lowlatency() cpu_relax() | ||
221 | 220 | ||
222 | /* Prefetch support. This is tuned for UltraSPARC-III and later. | 221 | /* Prefetch support. This is tuned for UltraSPARC-III and later. |
223 | * UltraSPARC-I will treat these as nops, and UltraSPARC-II has | 222 | * UltraSPARC-I will treat these as nops, and UltraSPARC-II has |
diff --git a/arch/tile/include/asm/processor.h b/arch/tile/include/asm/processor.h index 91a39a50520d..c1c228b16f7f 100644 --- a/arch/tile/include/asm/processor.h +++ b/arch/tile/include/asm/processor.h | |||
@@ -265,7 +265,6 @@ static inline void cpu_relax(void) | |||
265 | } | 265 | } |
266 | 266 | ||
267 | #define cpu_relax_yield() cpu_relax() | 267 | #define cpu_relax_yield() cpu_relax() |
268 | #define cpu_relax_lowlatency() cpu_relax() | ||
269 | 268 | ||
270 | /* Info on this processor (see fs/proc/cpuinfo.c) */ | 269 | /* Info on this processor (see fs/proc/cpuinfo.c) */ |
271 | struct seq_operations; | 270 | struct seq_operations; |
diff --git a/arch/unicore32/include/asm/processor.h b/arch/unicore32/include/asm/processor.h index fc54d5d50419..eeefe7c529eb 100644 --- a/arch/unicore32/include/asm/processor.h +++ b/arch/unicore32/include/asm/processor.h | |||
@@ -72,7 +72,6 @@ unsigned long get_wchan(struct task_struct *p); | |||
72 | 72 | ||
73 | #define cpu_relax() barrier() | 73 | #define cpu_relax() barrier() |
74 | #define cpu_relax_yield() cpu_relax() | 74 | #define cpu_relax_yield() cpu_relax() |
75 | #define cpu_relax_lowlatency() cpu_relax() | ||
76 | 75 | ||
77 | #define task_pt_regs(p) \ | 76 | #define task_pt_regs(p) \ |
78 | ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1) | 77 | ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1) |
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 44adadab44d6..7513c996f673 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
@@ -589,7 +589,6 @@ static __always_inline void cpu_relax(void) | |||
589 | } | 589 | } |
590 | 590 | ||
591 | #define cpu_relax_yield() cpu_relax() | 591 | #define cpu_relax_yield() cpu_relax() |
592 | #define cpu_relax_lowlatency() cpu_relax() | ||
593 | 592 | ||
594 | /* Stop speculative execution and prefetching of modified code. */ | 593 | /* Stop speculative execution and prefetching of modified code. */ |
595 | static inline void sync_core(void) | 594 | static inline void sync_core(void) |
diff --git a/arch/x86/um/asm/processor.h b/arch/x86/um/asm/processor.h index 01597afa8888..b4bd63b22b7f 100644 --- a/arch/x86/um/asm/processor.h +++ b/arch/x86/um/asm/processor.h | |||
@@ -27,7 +27,6 @@ static inline void rep_nop(void) | |||
27 | 27 | ||
28 | #define cpu_relax() rep_nop() | 28 | #define cpu_relax() rep_nop() |
29 | #define cpu_relax_yield() cpu_relax() | 29 | #define cpu_relax_yield() cpu_relax() |
30 | #define cpu_relax_lowlatency() cpu_relax() | ||
31 | 30 | ||
32 | #define task_pt_regs(t) (&(t)->thread.regs) | 31 | #define task_pt_regs(t) (&(t)->thread.regs) |
33 | 32 | ||
diff --git a/arch/xtensa/include/asm/processor.h b/arch/xtensa/include/asm/processor.h index fe14dc2b394a..7d8d6bececfc 100644 --- a/arch/xtensa/include/asm/processor.h +++ b/arch/xtensa/include/asm/processor.h | |||
@@ -207,7 +207,6 @@ extern unsigned long get_wchan(struct task_struct *p); | |||
207 | 207 | ||
208 | #define cpu_relax() barrier() | 208 | #define cpu_relax() barrier() |
209 | #define cpu_relax_yield() cpu_relax() | 209 | #define cpu_relax_yield() cpu_relax() |
210 | #define cpu_relax_lowlatency() cpu_relax() | ||
211 | 210 | ||
212 | /* Special register access. */ | 211 | /* Special register access. */ |
213 | 212 | ||