From: Larry Finger Date: Mon, 7 May 2012 00:40:03 +0000 (-0500) Subject: IA32 emulation: Fix build problem for modular ia32 a.out support X-Git-Tag: v3.4-rc7~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=febb72a6e4cc6c8cffcc1ea649a3fb364f1ea432;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git IA32 emulation: Fix build problem for modular ia32 a.out support Commit ce7e5d2d19bc ("x86: fix broken TASK_SIZE for ia32_aout") breaks kernel builds when "CONFIG_IA32_AOUT=m" with ERROR: "set_personality_ia32" [arch/x86/ia32/ia32_aout.ko] undefined! make[1]: *** [__modpost] Error 1 The entry point needs to be exported. Signed-off-by: Larry Finger Acked-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 733ca39..43d8b48 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -423,6 +423,7 @@ void set_personality_ia32(bool x32) current_thread_info()->status |= TS_COMPAT; } } +EXPORT_SYMBOL_GPL(set_personality_ia32); unsigned long get_wchan(struct task_struct *p) {