From: Christopher H. <ch...@us...> - 2003-01-24 09:31:54
|
Update of /cvsroot/blob/blob/src/blob In directory sc8-pr-cvs1:/tmp/cvs-serv18459/src/blob Modified Files: linux.c Log Message: only add initrd and ramdisk tags when a ramdisk has been loaded Index: linux.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/linux.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- linux.c 25 May 2002 14:45:02 -0000 1.15 +++ linux.c 24 Jan 2003 09:31:42 -0000 1.16 @@ -57,8 +57,10 @@ setup_start_tag(); setup_memory_tags(); setup_commandline_tag(argc, argv); - setup_initrd_tag(); - setup_ramdisk_tag(); + if (blob_status.load_ramdisk) { + setup_initrd_tag(); + setup_ramdisk_tag(); + } setup_end_tag(); /* we assume that the kernel is in place */ |