RE: RT Patch to use for Kernel 3.2.0

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

 



Pavel,

After patching the kernel 3.2.0 with 3.2.64-rt94, I am getting build errors, which made me think that I am using the wrong patch file.

I see there is old patch files for 3.2.xx, but none for 3.2.0.

Regards,

Jing

=================================================================================================

include/linux/radix-tree.h:265:2: warning: implicit declaration of function ‘preempt_enable_nort’ [-Wimplicit-function-declaration]
mm/swap.c: At top level:
mm/swap.c:44:8: warning: type defaults to ‘int’ in declaration of ‘DEFINE_LOCAL_IRQ_LOCK’ [-Wimplicit-int]
mm/swap.c:44:1: warning: parameter names (without types) in function declaration [enabled by default]
mm/swap.c:45:8: warning: type defaults to ‘int’ in declaration of ‘DEFINE_LOCAL_IRQ_LOCK’ [-Wimplicit-int]
mm/swap.c:45:1: warning: parameter names (without types) in function declaration [enabled by default]
mm/swap.c: In function ‘rotate_reclaimable_page’:
mm/swap.c:273:3: warning: implicit declaration of function ‘local_lock_irqsave’ [-Wimplicit-function-declaration]
mm/swap.c:273:22: error: ‘rotate_lock’ undeclared (first use in this function)
mm/swap.c:273:22: note: each undeclared identifier is reported only once for each function it appears in
mm/swap.c:277:3: warning: implicit declaration of function ‘local_unlock_irqrestore’ [-Wimplicit-function-declaration]
mm/swap.c: In function ‘__lru_cache_add’:
mm/swap.c:380:9: warning: implicit declaration of function ‘get_locked_var’ [-Wimplicit-function-declaration]
mm/swap.c:380:41: error: ‘swapvec_lock’ undeclared (first use in this function)
mm/swap.c:385:2: warning: implicit declaration of function ‘put_locked_var’ [-Wimplicit-function-declaration]
mm/swap.c: In function ‘drain_cpu_pagevecs’:
mm/swap.c:519:22: error: ‘rotate_lock’ undeclared (first use in this function)
mm/swap.c: In function ‘deactivate_page’:
mm/swap.c:549:42: error: ‘swapvec_lock’ undeclared (first use in this function)
mm/swap.c: In function ‘lru_add_drain’:
mm/swap.c:560:2: warning: implicit declaration of function ‘local_lock_cpu’ [-Wimplicit-function-declaration]
mm/swap.c:560:36: error: ‘swapvec_lock’ undeclared (first use in this function)
mm/swap.c:561:2: warning: implicit declaration of function ‘local_unlock_cpu’ [-Wimplicit-function-declaration]
mm/swap.c: In function ‘swap_init_locks’:
mm/swap.c:777:2: warning: implicit declaration of function ‘local_irq_lock_init’ [-Wimplicit-function-declaration]
mm/swap.c:777:22: error: ‘rotate_lock’ undeclared (first use in this function)
mm/swap.c:778:22: error: ‘swapvec_lock’ undeclared (first use in this function)
mm/swap.c: At top level:
mm/swap.c:45:8: warning: ‘DEFINE_LOCAL_IRQ_LOCK’ declared ‘static’ but never defined [-Wunused-function]
make[1]: *** [mm/swap.o] Error 1
make[1]: *** Waiting for unfinished jobs....



-----Original Message-----
From: Pavel Vasilyev [mailto:pavel@xxxxxxxxxxx]
Sent: Friday, January 16, 2015 4:24 PM
To: Jing Shao; linux-rt-users@xxxxxxxxxxxxxxx
Subject: Re: RT Patch to use for Kernel 3.2.0

17.01.2015 01:14, Jing Shao пишет:
> Dear sir,
>
> I am trying to patch a Linux 3.2.0 kernel with PREEMPT_RT patch, I tried the patch-3.2.64-rt94.patch.gz, but the Linux kernel fails to compile afterwards, is this the right patch to use?
> For your info, the ouput of "uname -r" is 3.2.0. The kernel comes in as part of the SDK for a TI Sitara processor.

wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.2.64.tar.xz
wget
https://www.kernel.org/pub/linux/kernel/projects/rt/3.2/patch-3.2.64-rt94.patch.xz

tar -xf linux-3.2.64.tar.xz && cd linux-3.2.64 xz -cd ../patch-3.2.64-rt94.patch.xz | patch -p1 make menuconfig ...
...
...
make;



--

                                                          Pavel.

Confidential Information:This message is sent to the intended recipient and may contain privileged or confidential information. If you received this transmission in error, please notify the sender with a replying e-mail and delete the message and any attachment.Transmission Caveat and Virus Alert: Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
��.n��������+%������w��{.n�����{�����ǫ���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[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