Home Home > GIT Browse
summaryrefslogtreecommitdiff
authorJeff Mahoney <jeffm@suse.com>2012-05-07 18:21:30 (GMT)
committer Jeff Mahoney <jeffm@suse.com>2012-05-07 18:21:30 (GMT)
commit1c19c305fdfc64a56802dfa64ff7749fdbe20e02 (patch) (unidiff)
treeb4b3bacd84177cd7d33ebe0b0cfedc5cf3df3a47
parentad06d7db533ff89417e0b86b5c58212ac265733e (diff)
IA32 emulation: Fix build problem for modular ia32 a.out
support. (Xen version)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--patches.xen/ia32-emulation-fix-build-problem-for-modular-ia32-a-out-support33
-rw-r--r--series.conf1
2 files changed, 34 insertions, 0 deletions
diff --git a/patches.xen/ia32-emulation-fix-build-problem-for-modular-ia32-a-out-support b/patches.xen/ia32-emulation-fix-build-problem-for-modular-ia32-a-out-support
new file mode 100644
index 0000000..62190f6
--- a/dev/null
+++ b/patches.xen/ia32-emulation-fix-build-problem-for-modular-ia32-a-out-support
@@ -0,0 +1,33 @@
1From febb72a6e4cc6c8cffcc1ea649a3fb364f1ea432 Mon Sep 17 00:00:00 2001
2From: Larry Finger <Larry.Finger@lwfinger.net>
3Date: Sun, 6 May 2012 19:40:03 -0500
4Subject: IA32 emulation: Fix build problem for modular ia32 a.out support
5Git-commit: febb72a6e4cc6c8cffcc1ea649a3fb364f1ea432
6Patch-mainline: v3.5 or v3.4-rc7 (next release)
7
8Commit ce7e5d2d19bc ("x86: fix broken TASK_SIZE for ia32_aout") breaks
9kernel builds when "CONFIG_IA32_AOUT=m" with
10
11 ERROR: "set_personality_ia32" [arch/x86/ia32/ia32_aout.ko] undefined!
12 make[1]: *** [__modpost] Error 1
13
14The entry point needs to be exported.
15
16Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
17Acked-by: Al Viro <viro@zeniv.linux.org>
18Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
19Acked-by: Jeff Mahoney <jeffm@suse.com>
20---
21 arch/x86/kernel/process_64-xen.c | 1 +
22 1 file changed, 1 insertion(+)
23
24--- a/arch/x86/kernel/process_64-xen.c
25+++ b/arch/x86/kernel/process_64-xen.c
26@@ -472,6 +472,7 @@ void set_personality_ia32(bool x32)
27 current_thread_info()->status |= TS_COMPAT;
28 }
29 }
30+EXPORT_SYMBOL_GPL(set_personality_ia32);
31
32 unsigned long get_wchan(struct task_struct *p)
33 {
diff --git a/series.conf b/series.conf
index 2cc3073..1ed2722 100644
--- a/series.conf
+++ b/series.conf
@@ -663,3 +663,4 @@
663 patches.xen/xen-x86_64-dump-user-pgt 663 patches.xen/xen-x86_64-dump-user-pgt
664 patches.xen/xen-x86_64-note-init-p2m 664 patches.xen/xen-x86_64-note-init-p2m
665 patches.xen/xen-x86_64-unmapped-initrd 665 patches.xen/xen-x86_64-unmapped-initrd
666 patches.xen/ia32-emulation-fix-build-problem-for-modular-ia32-a-out-support