summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/disklabel.h5
-rw-r--r--sys/sys/diskmbr.h5
-rw-r--r--sys/sys/diskpc98.h5
3 files changed, 15 insertions, 0 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h
index 980e795..a3b927f 100644
--- a/sys/sys/disklabel.h
+++ b/sys/sys/disklabel.h
@@ -71,6 +71,11 @@
#define LABELOFFSET 0
#endif
+#ifdef __sparc64__
+#define LABELSECTOR 0
+#define LABELOFFSET 128
+#endif
+
#ifndef LABELSECTOR
#define LABELSECTOR 0
#endif
diff --git a/sys/sys/diskmbr.h b/sys/sys/diskmbr.h
index 980e795..a3b927f 100644
--- a/sys/sys/diskmbr.h
+++ b/sys/sys/diskmbr.h
@@ -71,6 +71,11 @@
#define LABELOFFSET 0
#endif
+#ifdef __sparc64__
+#define LABELSECTOR 0
+#define LABELOFFSET 128
+#endif
+
#ifndef LABELSECTOR
#define LABELSECTOR 0
#endif
diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h
index 980e795..a3b927f 100644
--- a/sys/sys/diskpc98.h
+++ b/sys/sys/diskpc98.h
@@ -71,6 +71,11 @@
#define LABELOFFSET 0
#endif
+#ifdef __sparc64__
+#define LABELSECTOR 0
+#define LABELOFFSET 128
+#endif
+
#ifndef LABELSECTOR
#define LABELSECTOR 0
#endif
OpenPOWER on IntegriCloud