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
- Lines: 21
- Date:
Wed Dec 18 10:49:52 1996
- Orig file:
v2.1.15/linux/arch/ppc/boot/mk_type41.c
- Orig date:
Tue May 28 07:46:04 1996
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