Re: 2.6.17-mm2: BLK_CPQ_CISS_DA=m error

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

 



On Sun, Jun 25, 2006 at 09:32:21PM +0200, Adrian Bunk wrote:
> On Sat, Jun 24, 2006 at 06:19:14AM -0700, Andrew Morton wrote:
> >...
> > Changes since 2.6.17-mm1:
> >...
> > +kdump-cciss-driver-initialization-issue-fix.patch
> > 
> >  Unpleasant kdump patches.
> >...
> 
> This patch breaks CONFIG_BLK_CPQ_CISS_DA=m:
> 
> <--  snip  -->
> 
> ...
> if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map  2.6.17-mm2; fi
> WARNING: /lib/modules/2.6.17-mm2/kernel/drivers/block/cciss.ko needs unknown symbol crash_boot
>

Sorry. I forgot to export the symbol crash_boot. Please find attached the
patch.

Thanks
Vivek
 


o Compilation of cciss driver broke when compiled as a module as crash_boot
  was not exported.

Signed-off-by: Vivek Goyal <[email protected]>
---

 linux-2.6.17-1M-vivek/init/main.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN init/main.c~cciss-module-compilation-break-fix init/main.c
--- linux-2.6.17-1M/init/main.c~cciss-module-compilation-break-fix	2006-06-25 20:31:24.000000000 -0400
+++ linux-2.6.17-1M-vivek/init/main.c	2006-06-25 20:31:24.000000000 -0400
@@ -131,6 +131,7 @@ static char *ramdisk_execute_command;
  * context.
  */
 unsigned int crash_boot;
+EXPORT_SYMBOL(crash_boot);
 
 /* Setup configured maximum number of CPUs to activate */
 static unsigned int max_cpus = NR_CPUS;
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux