Skip to content

Commit f325f16

Browse files
Davidlohr Buesotorvalds
authored andcommitted
frv: Define cpu_relax_lowlatency()
3a6bfbc "(arch,locking: Ciao arch_mutex_cpu_relax()") broke building the frv arch. Fixes errors such as: kernel/locking/mcs_spinlock.h:87:2: error: implicit declaration of function 'cpu_relax_lowlatency' Signed-off-by: Davidlohr Bueso <davidlohr@hp.com> Compile-tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 7d1311b commit f325f16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/frv/include/asm/processor.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ unsigned long get_wchan(struct task_struct *p);
129129
#define KSTK_EIP(tsk) ((tsk)->thread.frame0->pc)
130130
#define KSTK_ESP(tsk) ((tsk)->thread.frame0->sp)
131131

132-
#define cpu_relax() barrier()
132+
#define cpu_relax() barrier()
133+
#define cpu_relax_lowlatency() cpu_relax()
133134

134135
/* data cache prefetch */
135136
#define ARCH_HAS_PREFETCH

0 commit comments

Comments
 (0)