From c4e7b7e2e02a38e9e1a5859ffe5168b2d993052c Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sat, 6 Oct 2001 12:35:22 +0000 Subject: [PATCH] Put the label at the same place as i386 for compatibility. --- sys/sys/disklabel.h | 5 +++++ sys/sys/diskmbr.h | 5 +++++ sys/sys/diskpc98.h | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index fe93b65dbd77..7d51a8479f2f 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -66,6 +66,11 @@ #define LABELOFFSET 64 #endif +#ifdef __ia64__ +#define LABELSECTOR 1 /* sector containing label */ +#define LABELOFFSET 0 /* offset of label in sector */ +#endif + #ifndef LABELSECTOR #define LABELSECTOR 0 /* sector containing label */ #endif diff --git a/sys/sys/diskmbr.h b/sys/sys/diskmbr.h index fe93b65dbd77..7d51a8479f2f 100644 --- a/sys/sys/diskmbr.h +++ b/sys/sys/diskmbr.h @@ -66,6 +66,11 @@ #define LABELOFFSET 64 #endif +#ifdef __ia64__ +#define LABELSECTOR 1 /* sector containing label */ +#define LABELOFFSET 0 /* offset of label in sector */ +#endif + #ifndef LABELSECTOR #define LABELSECTOR 0 /* sector containing label */ #endif diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h index fe93b65dbd77..7d51a8479f2f 100644 --- a/sys/sys/diskpc98.h +++ b/sys/sys/diskpc98.h @@ -66,6 +66,11 @@ #define LABELOFFSET 64 #endif +#ifdef __ia64__ +#define LABELSECTOR 1 /* sector containing label */ +#define LABELOFFSET 0 /* offset of label in sector */ +#endif + #ifndef LABELSECTOR #define LABELSECTOR 0 /* sector containing label */ #endif