lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 23 Oct 2013 12:11:49 +0100
From:	Frederic Weisbecker <fweisbec@...il.com>
To:	Chen Gang <gang.chen@...anux.com>
Cc:	Paul McKenney <paulmck@...ux.vnet.ibm.com>, khilman@...aro.org,
	Steven Rostedt <rostedt@...dmis.org>,
	Ingo Molnar <mingo@...nel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kernel: context_tracking: use extern function instead of
 static inline function for user_enter/exit()

On Wed, Oct 23, 2013 at 06:38:35PM +0800, Chen Gang wrote:
> The related assemble code can not find the static inline function. The
> related commit "ad65782 context_tracking: Optimize main APIs off case
> with static key" causes this issue.
> 
> The related error (for arm, with allmodconfig):
> 
>     LD      init/built-in.o
>   arch/arm/kernel/built-in.o: In function `ret_fast_syscall':
>   arch/arm/kernel/entry-common.S:42: undefined reference to `user_enter'
>   arch/arm/kernel/built-in.o: In function `no_work_pending':
>   arch/arm/kernel/entry-common.S:77: undefined reference to `user_enter'
>   arch/arm/kernel/built-in.o: In function `vector_swi':
>   arch/arm/kernel/entry-common.S:376: undefined reference to `user_exit'
>   arch/arm/kernel/built-in.o: In function `__dabt_usr':
>   arch/arm/kernel/entry-armv.S:365: undefined reference to `user_exit'
>   arch/arm/kernel/built-in.o: In function `__irq_usr':
>   arch/arm/kernel/entry-armv.S:375: undefined reference to `user_exit'
>   arch/arm/kernel/built-in.o: In function `__und_usr':
>   arch/arm/kernel/entry-armv.S:388: undefined reference to `user_exit'
>   arch/arm/kernel/built-in.o: In function `__pabt_usr':
>   arch/arm/kernel/entry-armv.S:662: undefined reference to `user_exit'
> 
> 
> Signed-off-by: Chen Gang <gang.chen@...anux.com>

Doesn't 0c06a5d4b13cd66c833805a0d1db76b977944aac
("arm: Fix build error with context tracking calls") fix the issue for you?
Or may be it's another problem I missed?

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ