diff options
author | 2011-09-29 18:03:44 +0000 | |
---|---|---|
committer | 2011-09-29 18:03:44 +0000 | |
commit | f12aee5659dfc56916fb6cb9fbd41af2cf242b66 (patch) | |
tree | e60137fee1f596272dc73517e2bda25c6c2d030d | |
parent | Get size of struct disklabel for the sake of the assembly code with a (diff) | |
download | wireguard-openbsd-f12aee5659dfc56916fb6cb9fbd41af2cf242b66.tar.xz wireguard-openbsd-f12aee5659dfc56916fb6cb9fbd41af2cf242b66.zip |
Remove assembly defines for various struct disklabel field offsets, now that
nothing depends on them anymore.
ok jsing@ krw@
-rw-r--r-- | sys/sys/disklabel.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index 6c17bf50383..59202c298f4 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.51 2011/06/03 21:14:11 matthew Exp $ */ +/* $OpenBSD: disklabel.h,v 1.52 2011/09/29 18:03:44 miod Exp $ */ /* $NetBSD: disklabel.h,v 1.41 1996/05/10 23:07:37 mark Exp $ */ /* @@ -158,18 +158,6 @@ struct __partitionv0 { /* the partition table */ u_int16_t sgs; /* LFS: FS segment shift */ } __partitionv0_u1; }; - -#else /* _LOCORE */ - /* - * offsets for asm boot files. - */ - .set d_secsize,40 - .set d_nsectors,44 - .set d_ntracks,48 - .set d_ncylinders,52 - .set d_secpercyl,56 - .set d_secperunit,60 - .set d_end_,404 /* size of disk label */ #endif /* _LOCORE */ |