summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-26 12:22:26 +0000
committerphk <phk@FreeBSD.org>2003-01-26 12:22:26 +0000
commitad2fa30e32402a15031791e7f7b2d28d1239caf8 (patch)
treeee7ca7e1bc5d9e68e582a3c16affc8afa99b8e4e /sbin
parent82826b71d12bdcca12994a000a0e8887d2e1c5a7 (diff)
downloadFreeBSD-src-ad2fa30e32402a15031791e7f7b2d28d1239caf8.zip
FreeBSD-src-ad2fa30e32402a15031791e7f7b2d28d1239caf8.tar.gz
Remove ia64 and powerpc #ifdefs: this is i386/pc98/alpha only code.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/bsdlabel/bsdlabel.c6
-rw-r--r--sbin/disklabel/disklabel.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c
index eb14a51..16e5138 100644
--- a/sbin/bsdlabel/bsdlabel.c
+++ b/sbin/bsdlabel/bsdlabel.c
@@ -104,9 +104,9 @@ __FBSDID("$FreeBSD$");
#define BIG_NEWFS_FRAG 2048U
#define BIG_NEWFS_CPG 64U
-#if defined(__i386__) || defined(__ia64__)
+#if defined(__i386__)
#define NUMBOOT 2
-#elif defined(__alpha__) || defined(__powerpc__)
+#elif defined(__alpha__)
#define NUMBOOT 1
#else
#error I do not know about this architecture.
@@ -557,7 +557,7 @@ makebootarea(char *boot, struct disklabel *dp, int f)
* 1. One-piece bootstrap (alpha)
* up to d_bbsize bytes of ``xxboot'' go in bootarea, the rest
* is remembered and written later following the bootarea.
- * 2. Two-piece bootstraps (i386/ia64)
+ * 2. Two-piece bootstraps (i386)
* up to d_secsize bytes of ``xxboot'' go in first d_secsize
* bytes of bootarea, remaining d_bbsize-d_secsize filled
* from ``bootxx''.
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c
index eb14a51..16e5138 100644
--- a/sbin/disklabel/disklabel.c
+++ b/sbin/disklabel/disklabel.c
@@ -104,9 +104,9 @@ __FBSDID("$FreeBSD$");
#define BIG_NEWFS_FRAG 2048U
#define BIG_NEWFS_CPG 64U
-#if defined(__i386__) || defined(__ia64__)
+#if defined(__i386__)
#define NUMBOOT 2
-#elif defined(__alpha__) || defined(__powerpc__)
+#elif defined(__alpha__)
#define NUMBOOT 1
#else
#error I do not know about this architecture.
@@ -557,7 +557,7 @@ makebootarea(char *boot, struct disklabel *dp, int f)
* 1. One-piece bootstrap (alpha)
* up to d_bbsize bytes of ``xxboot'' go in bootarea, the rest
* is remembered and written later following the bootarea.
- * 2. Two-piece bootstraps (i386/ia64)
+ * 2. Two-piece bootstraps (i386)
* up to d_secsize bytes of ``xxboot'' go in first d_secsize
* bytes of bootarea, remaining d_bbsize-d_secsize filled
* from ``bootxx''.
OpenPOWER on IntegriCloud