Re: [PATCH] LKCD for 2.5.44 (8/8): dump driver and build files

Matt D. Robinson
2002-10-23T19:43:51Z

Corrected, fixed version is on the LKCD patch download site.

Thanks, Stephen.

--Matt

On 23 Oct 2002, Stephen Hemminger wrote:
|>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 */