]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
tracing, Text Edit Lock: Fix one sparse warning in kernel/extable.c
authorDmitri Vorobiev <dmitri.vorobiev@movial.com>
Sun, 22 Mar 2009 17:11:10 +0000 (19:11 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 22 Mar 2009 17:16:20 +0000 (18:16 +0100)
Impact: cleanup.

The global mutex text_mutex if declared in linux/memory.h, so
this file needs to be included into kernel/extable.c, where the
same mutex is defined. This fixes the following sparse warning:

 kernel/extable.c:32:1: warning: symbol 'text_mutex' was not declared.
 Should it be static?

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
LKML-Reference: <1237741871-5827-3-git-send-email-dmitri.vorobiev@movial.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/extable.c

index 25d39b0c3a1ba4aeba990e169cfa173d32e4eba3..b54a6017b6b57bd77919fedd865b6bba24fcac8e 100644 (file)
@@ -16,6 +16,7 @@
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 #include <linux/ftrace.h>
+#include <linux/memory.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/init.h>