lkcd
[Top] [All Lists]

issues with dump compiled as a module

To: yakker@xxxxxxxxxxxxxx
Subject: issues with dump compiled as a module
From: vamsi_krishna@xxxxxxxxxx
Date: Tue, 11 Sep 2001 14:14:19 +0530
Cc: lkcd@xxxxxxxxxxx
Sender: owner-lkcd@xxxxxxxxxxx
Matt,

Even when we compile LKCD as a module, arch/i386/kernel/dump.c gets built
into the kernel, which does not seem to be right.

Problems:
- arch/i386/kernel/dump.c requires global variables in drivers/block/dump.c
when __dump_silence_system etc are implemented. However, this cannot
compile when LKCD is a module.
- it should not be linked into the kernel, wastes kernel memory when dump.o
is not loaded.

We should probably move arch/i386/kernel/dump.c into a different location
and link it to drivers/block/dump.o.

Comments?

Regards.. Vamsi.

Vamsi Krishna S.
Linux Technology Center,
IBM Software Lab, Bangalore.
Ph: +91 80 5262355 Extn: 3959
Internet: vamsi_krishna@xxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>