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;
_
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to