Re: [PATCH]Fix the Compiling failed problem with the default arch/x86/configs/x86_64_defconfig(3.14-rt1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* eagle.rtlinux | 2014-05-02 04:32:37 [+0800]:

>Hello,
Hi,

>linux-3.14/kernel/softirq.c: In function ‘__local_bh_enable_ip’:
>linux-3.14/kernel/softirq.c:328:2: error: implicit declaration of fu
>nction ‘preempt_check_resched’
>[-Werror=implicit-function-declaration]
…
>diff --git a/include/linux/preempt.h b/include/linux/preempt.h
>index 116af6a..7d4f557 100644
>--- a/include/linux/preempt.h
>+++ b/include/linux/preempt.h
>@@ -155,6 +155,7 @@ do { \
> #define preempt_enable_no_resched_notrace()    barrier()
> #define preempt_enable_notrace()        barrier()
> #define preempt_check_resched_rt()        barrier()
>+#define preempt_check_resched()  barrier()
>

I fixed it differently. Somehow I removed preempt_check_resched() in the
preempt-lazy-support.patch for no obvious reason. Upstream has this
defined as "do while { }" and now I keep this as is instead of removing
this define.
Thanks for reporting.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux