Re: [PATCH] xtensa: Fix broken allmodconfig build

2013-09-06 Thread Chris Zankel

Hi Guenter,

On 9/2/13 7:55 PM, Guenter Roeck wrote:

On 08/27/2013 09:06 PM, Guenter Roeck wrote:

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 
---


Ping ... 3.11 now ships with xtensa allmodconfig broken, which is 
completely unnecessary.
Sorry for the delay. I just added it to the xtensa for_next tree, and 
will push it upstream shortly.


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


Re: [PATCH] xtensa: Fix broken allmodconfig build

2013-09-06 Thread Chris Zankel

Hi Guenter,

On 9/2/13 7:55 PM, Guenter Roeck wrote:

On 08/27/2013 09:06 PM, Guenter Roeck wrote:

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 jcmvb...@gmail.com
Signed-off-by: Guenter Roeck li...@roeck-us.net
---


Ping ... 3.11 now ships with xtensa allmodconfig broken, which is 
completely unnecessary.
Sorry for the delay. I just added it to the xtensa for_next tree, and 
will push it upstream shortly.


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


Re: [PATCH] xtensa: Fix broken allmodconfig build

2013-09-02 Thread Guenter Roeck

On 08/27/2013 09:06 PM, Guenter Roeck wrote:

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 
---


Ping ... 3.11 now ships with xtensa allmodconfig broken, which is completely 
unnecessary.

Guenter


  arch/xtensa/kernel/xtensa_ksyms.c |1 +
  1 file changed, 1 insertion(+)

diff --git a/arch/xtensa/kernel/xtensa_ksyms.c 
b/arch/xtensa/kernel/xtensa_ksyms.c
index d8507f8..74a60c7 100644
--- 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



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


Re: [PATCH] xtensa: Fix broken allmodconfig build

2013-09-02 Thread Guenter Roeck

On 08/27/2013 09:06 PM, Guenter Roeck wrote:

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 jcmvb...@gmail.com
Signed-off-by: Guenter Roeck li...@roeck-us.net
---


Ping ... 3.11 now ships with xtensa allmodconfig broken, which is completely 
unnecessary.

Guenter


  arch/xtensa/kernel/xtensa_ksyms.c |1 +
  1 file changed, 1 insertion(+)

diff --git a/arch/xtensa/kernel/xtensa_ksyms.c 
b/arch/xtensa/kernel/xtensa_ksyms.c
index d8507f8..74a60c7 100644
--- a/arch/xtensa/kernel/xtensa_ksyms.c
+++ b/arch/xtensa/kernel/xtensa_ksyms.c
@@ -25,6 +25,7 @@
  #include asm/io.h
  #include asm/page.h
  #include asm/pgalloc.h
+#include asm/ftrace.h
  #ifdef CONFIG_BLK_DEV_FD
  #include asm/floppy.h
  #endif



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


Re: [PATCH] xtensa: Fix broken allmodconfig build

2013-08-27 Thread Guenter Roeck

On 08/27/2013 09:06 PM, Guenter Roeck wrote:

xtansa allmodbuild fails with:


Grmpf.

s/xtansa/xtensa

Guenter


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 
---
  arch/xtensa/kernel/xtensa_ksyms.c |1 +
  1 file changed, 1 insertion(+)

diff --git a/arch/xtensa/kernel/xtensa_ksyms.c 
b/arch/xtensa/kernel/xtensa_ksyms.c
index d8507f8..74a60c7 100644
--- 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



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


[PATCH] xtensa: Fix broken allmodconfig build

2013-08-27 Thread Guenter Roeck
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 
---
 arch/xtensa/kernel/xtensa_ksyms.c |1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/xtensa/kernel/xtensa_ksyms.c 
b/arch/xtensa/kernel/xtensa_ksyms.c
index d8507f8..74a60c7 100644
--- 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
-- 
1.7.9.7

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


[PATCH] xtensa: Fix broken allmodconfig build

2013-08-27 Thread Guenter Roeck
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 jcmvb...@gmail.com
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
 arch/xtensa/kernel/xtensa_ksyms.c |1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/xtensa/kernel/xtensa_ksyms.c 
b/arch/xtensa/kernel/xtensa_ksyms.c
index d8507f8..74a60c7 100644
--- a/arch/xtensa/kernel/xtensa_ksyms.c
+++ b/arch/xtensa/kernel/xtensa_ksyms.c
@@ -25,6 +25,7 @@
 #include asm/io.h
 #include asm/page.h
 #include asm/pgalloc.h
+#include asm/ftrace.h
 #ifdef CONFIG_BLK_DEV_FD
 #include asm/floppy.h
 #endif
-- 
1.7.9.7

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


Re: [PATCH] xtensa: Fix broken allmodconfig build

2013-08-27 Thread Guenter Roeck

On 08/27/2013 09:06 PM, Guenter Roeck wrote:

xtansa allmodbuild fails with:


Grmpf.

s/xtansa/xtensa

Guenter


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 jcmvb...@gmail.com
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
  arch/xtensa/kernel/xtensa_ksyms.c |1 +
  1 file changed, 1 insertion(+)

diff --git a/arch/xtensa/kernel/xtensa_ksyms.c 
b/arch/xtensa/kernel/xtensa_ksyms.c
index d8507f8..74a60c7 100644
--- a/arch/xtensa/kernel/xtensa_ksyms.c
+++ b/arch/xtensa/kernel/xtensa_ksyms.c
@@ -25,6 +25,7 @@
  #include asm/io.h
  #include asm/page.h
  #include asm/pgalloc.h
+#include asm/ftrace.h
  #ifdef CONFIG_BLK_DEV_FD
  #include asm/floppy.h
  #endif



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