From c77b38e17b1813a3d221a98b26a6aec23c10d691 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sun, 15 Sep 2013 10:43:20 -0700 Subject: [PATCH] 3.11-stable patches added patches: xtensa-fix-broken-allmodconfig-build.patch --- queue-3.11/series | 1 + ...xtensa-fix-broken-allmodconfig-build.patch | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 queue-3.11/xtensa-fix-broken-allmodconfig-build.patch diff --git a/queue-3.11/series b/queue-3.11/series index 09da318f957..261ea6fc8aa 100644 --- a/queue-3.11/series +++ b/queue-3.11/series @@ -1,2 +1,3 @@ arc-smp-failed-to-boot-due-to-missing-ivt-setup.patch ipc-msg.c-fix-lost-wakeup-in-msgsnd.patch +xtensa-fix-broken-allmodconfig-build.patch diff --git a/queue-3.11/xtensa-fix-broken-allmodconfig-build.patch b/queue-3.11/xtensa-fix-broken-allmodconfig-build.patch new file mode 100644 index 00000000000..891c4a66c4f --- /dev/null +++ b/queue-3.11/xtensa-fix-broken-allmodconfig-build.patch @@ -0,0 +1,37 @@ +From 8872366df396444d7655287c79ed182d8f47cba6 Mon Sep 17 00:00:00 2001 +From: Guenter Roeck +Date: Tue, 27 Aug 2013 21:06:37 -0700 +Subject: xtensa: Fix broken allmodconfig build + +From: Guenter Roeck + +commit 8872366df396444d7655287c79ed182d8f47cba6 upstream. + +xtansa allmodbuild fails with: + +arch/xtensa/kernel/xtensa_ksyms.c:129:1: error: '_mcount' undeclared here (not in a function) +make[2]: *** [arch/xtensa/kernel/xtensa_ksyms.o] Error 1 +make[1]: *** [arch/xtensa/kernel] Error 2 + +The breakage is due to commit 478ba61af (xtensa: add static function tracer +support) which exports _mcount without declaring it. + +Cc: Max Filippov +Signed-off-by: Guenter Roeck +Signed-off-by: Chris Zankel +Signed-off-by: Greg Kroah-Hartman + +--- + arch/xtensa/kernel/xtensa_ksyms.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/arch/xtensa/kernel/xtensa_ksyms.c ++++ b/arch/xtensa/kernel/xtensa_ksyms.c +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #ifdef CONFIG_BLK_DEV_FD + #include + #endif -- 2.47.3