linux-next: kgdb tree build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jason,

Today's linux-next build (x86_64 allmodconfig) failed like this:

ERROR: "kgdb_active" [drivers/video/console/fbcon.ko] undefined!
ERROR: "want_console" [drivers/serial/kgdboc.ko] undefined!
ERROR: "last_console" [drivers/serial/kgdboc.ko] undefined!
ERROR: "kgdb_active" [drivers/gpu/drm/drm_kms_helper.ko] undefined!

Caused by various commits from the kgdb tree.

I added this patch for today:

From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Thu, 24 Dec 2009 11:10:41 +1100
Subject: [PATCH] kgdb: export symbols used by modules

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
 drivers/char/vt.c         |    2 ++
 kernel/debug/debug_core.c |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index 50faa1f..ef106d8 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -190,7 +190,9 @@ static DECLARE_WORK(console_work, console_callback);
  */
 int fg_console;
 int last_console;
+EXPORT_SYMBOL_GPL(last_console);
 int want_console = -1;
+EXPORT_SYMBOL_GPL(want_console);
 
 /*
  * For each existing display, we have a pointer to console currently visible
diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c
index 14d7c4e..c58924f 100644
--- a/kernel/debug/debug_core.c
+++ b/kernel/debug/debug_core.c
@@ -106,6 +106,7 @@ static struct kgdb_bkpt		kgdb_break[KGDB_MAX_BREAKPOINTS] = {
  * The CPU# of the active CPU, or -1 if none:
  */
 atomic_t			kgdb_active = ATOMIC_INIT(-1);
+EXPORT_SYMBOL_GPL(kgdb_active);
 
 /*
  * We use NR_CPUs not PERCPU, in case kgdb is used to debug early
-- 
1.6.5.4


-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux