Does anyone object to me adding sparc64 to the #ifdef __alpha__ line in sys/disklabel.h? Attached is the patch I would commit. It has been verified to compile under sparc64.
The only big change is that this changes the LABELOFFSET from 128 to 64 on sparc, but it doesn't look like any kernel source is using LABELOFFSET. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Index: disklabel.h =================================================================== RCS file: /home/ncvs/src/sys/sys/disklabel.h,v retrieving revision 1.104 diff -u -r1.104 disklabel.h --- disklabel.h 2003/06/07 09:06:39 1.104 +++ disklabel.h 2003/06/09 01:37:41 @@ -60,7 +60,7 @@ #define LABELOFFSET 0 /* offset of label in sector */ #endif -#ifdef __alpha__ +#if defined(__alpha__) || defined(__sparc64__) #define LABELSECTOR 0 #define LABELOFFSET 64 #endif
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"