FRV build failure with latest kernel
Building frv:defconfig ... failed
--------------
Error log:
In file included from kernel/locking/mutex.c:28:0:kernel/locking/mcs_spinlock.h: In function 'mcs_spin_lock':kernel/locking/mcs_spinlock.h:87:2: error: implicit declaration of function 'cpu_relax_lowlatency' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [kernel/locking/mutex.o] Error 1
Due to commit 3a6bfbc91d (arch, locking: Ciao arch_mutex_cpu_relax()), which missed frv.
Guenter
________________________________________
From: Guenter Roeck [[email protected]]
Sent: Wednesday, August 06, 2014 6:59 AM
To: David Howells
Cc: [email protected]; Bueso, Davidlohr
Subject: FRV build failure with latest kernel
Building frv:defconfig ... failed
--------------
Error log:
In file included from kernel/locking/mutex.c:28:0:kernel/locking/mcs_spinlock.h: In function 'mcs_spin_lock':kernel/locking/mcs_spinlock.h:87:2: error: implicit declaration of function 'cpu_relax_lowlatency' [-Werror=implicit-function-declaration]https://lkml.org/lkml/2014/8/5/442
cc1: some warnings being treated as errors
make[2]: *** [kernel/locking/mutex.o] Error 1
Due to commit 3a6bfbc91d (arch, locking: Ciao arch_mutex_cpu_relax()), which missed frv.
Yeah, I sent out the fix yesterday: https://lkml.org/lkml/2014/8/5/442
(excuse my email formatting)
Quoted 17 lines · Davidlohr
________________________________________
From: Guenter Roeck [[email protected]]
Sent: Wednesday, August 06, 2014 6:59 AM
To: David Howells
Cc: [email protected]; Bueso, Davidlohr
Subject: FRV build failure with latest kernelBuilding frv:defconfig ... failed
--------------
Error log:
In file included fromkernel/locking/mutex.c:28:0:kernel/locking/mcs_spinlock.h: In function 'mcs_spin_lock':kernel/locking/mcs_spinlock.h:87:2: error: implicit declaration of function 'cpu_relax_lowlatency' [-Werror=implicit-function-declaration]https://lkml.org/lkml/2014/8/5/442
cc1: some warnings being treated as errors
make[2]: *** [kernel/locking/mutex.o] Error 1
Quoted 4 lines
Due to commit
3a6bfbc91d(arch, locking: Ciaoarch_mutex_cpu_relax()), which missed frv.Yeah, I sent out the fix yesterday: https://lkml.org/lkml/2014/8/5/442
Looks like Geert was faster than me, as usual ;-).
Thanks, hope this will make it upstream soon.
Guenter