mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Frederic Weisbecker <fweisbec@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Alessio Igor Bogani <abogani@texware.it>
Subject: [PATCH] kill-the-BKL: fix missing #include smp_lock.h
Date: Wed,  8 Apr 2009 22:17:53 +0200	[thread overview]
Message-ID: <1239221873-18628-1-git-send-email-fweisbec@gmail.com> (raw)

Impact: fix a build error

Latest tip:kill-the-BKL tree triggers this build error:

  CC      kernel/hung_task.o
kernel/hung_task.c: In function ‘check_hung_task’:
kernel/hung_task.c:103: erreur: implicit declaration of function ‘debug_print_bkl’
make[1]: *** [kernel/hung_task.o] Erreur 1
make: *** [kernel/hung_task.o] Erreur 2

hung_task.c forget to include smp_lock.h

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
---
 kernel/hung_task.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/hung_task.c b/kernel/hung_task.c
index ea199d5..c790a59 100644
--- a/kernel/hung_task.c
+++ b/kernel/hung_task.c
@@ -13,6 +13,7 @@
 #include <linux/freezer.h>
 #include <linux/kthread.h>
 #include <linux/lockdep.h>
+#include <linux/smp_lock.h>
 #include <linux/module.h>
 #include <linux/sysctl.h>
 
-- 
1.6.1


                 reply	other threads:[~2009-04-08 20:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1239221873-18628-1-git-send-email-fweisbec@gmail.com \
    --to=fweisbec@gmail.com \
    --cc=abogani@texware.it \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®