patch-2.1.16 linux/arch/ppc/boot/mk_type41.c

Next file: linux/arch/ppc/boot/mkprep.c
Previous file: linux/arch/ppc/boot/misc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/arch/ppc/boot/mk_type41.c linux/arch/ppc/boot/mk_type41.c
@@ -8,7 +8,11 @@
 
 #include <stdio.h>
 #include <errno.h>
+#ifdef linux
+#include <asm/stat.h>
+#else
 #include <sys/stat.h>
+#endif
 
 _LE(long val, unsigned char *le)
 {
@@ -187,7 +191,7 @@
      *     (2 tracks/cylinder)(18 sectors/tracks)(80 cylinders/diskette)
      *   - unlike the above sector numbers, the beginning sector is zero-based!
      */
-#if 0     
+#if 0
     pe->beginning_sector  = LeDword(1);
 #else
     /* This has to be 0 on the PowerStack? */   

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov