lkml.org 
[lkml]   [2002]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] LKCD for 2.5.44 (8/8): dump driver and build files
From
Date
The variable dump_page_buf is declared with different scope in
dump_base.c and dump_block_dev.c. This causes a link error, but maybe if
LKCD is built as a module, then the symbol export masks the problem.

diff -Nru a/drivers/dump/dump_base.c b/drivers/dump/dump_base.c
--- a/drivers/dump/dump_base.c Wed Oct 23 11:34:14 2002
+++ b/drivers/dump/dump_base.c Wed Oct 23 11:34:14 2002
@@ -200,7 +200,7 @@
static long dump_nondisruptive_enabled = 1;/* Default:non-disruptive enabled*/

/* Other global fields */
-static void *dump_page_buf; /* dump page buffer for memcpy()! */
+void *dump_page_buf; /* dump page buffer for memcpy()! */
static void *dump_page_buf_0; /* dump page buffer returned by kmalloc */
struct __dump_header dump_header; /* the primary dump header */
struct __dump_header_asm dump_header_asm; /* the arch-specific dump header */

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

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.102 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site