summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-10-29 07:35:53 +0000
committermarcel <marcel@FreeBSD.org>2003-10-29 07:35:53 +0000
commit66c2f8b643b462fd2b29e3af76e95b1634844641 (patch)
treed39e5418cc3279d7910286bf40cd457bfed5d49d /sys/gnu
parent4307e55d6c9333394c2fcef18b61d89a043e83eb (diff)
downloadFreeBSD-src-66c2f8b643b462fd2b29e3af76e95b1634844641.zip
FreeBSD-src-66c2f8b643b462fd2b29e3af76e95b1634844641.tar.gz
Fix the alpha tinderbox. The alpha specific bitops used by the bitmap
code has the typical branch prediction detour, which creates cross- section branches. A LINT kernel is apparently large enough nowadays that the .text and .text2 sections cannot always be layed-out so that branches between them reach. The fix is to stop using the alpha-specific bitops and instead use the portable implementation used by all platforms other than alpha and i386.
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_linux_balloc.c4
-rw-r--r--sys/gnu/ext2fs/ext2_linux_ialloc.c4
-rw-r--r--sys/gnu/fs/ext2fs/ext2_linux_balloc.c4
-rw-r--r--sys/gnu/fs/ext2fs/ext2_linux_ialloc.c4
4 files changed, 4 insertions, 12 deletions
diff --git a/sys/gnu/ext2fs/ext2_linux_balloc.c b/sys/gnu/ext2fs/ext2_linux_balloc.c
index ed0259e..6ab4c48 100644
--- a/sys/gnu/ext2fs/ext2_linux_balloc.c
+++ b/sys/gnu/ext2fs/ext2_linux_balloc.c
@@ -42,9 +42,7 @@
#include <gnu/ext2fs/ext2_fs_sb.h>
#include <gnu/ext2fs/fs.h>
-#ifdef __alpha__
-#include <gnu/ext2fs/alpha-bitops.h>
-#elif __i386__
+#ifdef __i386__
#include <gnu/ext2fs/i386-bitops.h>
#else
#include <gnu/ext2fs/ext2_bitops.h>
diff --git a/sys/gnu/ext2fs/ext2_linux_ialloc.c b/sys/gnu/ext2fs/ext2_linux_ialloc.c
index 926fe7c..893302a 100644
--- a/sys/gnu/ext2fs/ext2_linux_ialloc.c
+++ b/sys/gnu/ext2fs/ext2_linux_ialloc.c
@@ -44,9 +44,7 @@
#include <gnu/ext2fs/fs.h>
#include <sys/stat.h>
-#ifdef __alpha__
-#include <gnu/ext2fs/alpha-bitops.h>
-#elif __i386__
+#ifdef __i386__
#include <gnu/ext2fs/i386-bitops.h>
#else
#include <gnu/ext2fs/ext2_bitops.h>
diff --git a/sys/gnu/fs/ext2fs/ext2_linux_balloc.c b/sys/gnu/fs/ext2fs/ext2_linux_balloc.c
index ed0259e..6ab4c48 100644
--- a/sys/gnu/fs/ext2fs/ext2_linux_balloc.c
+++ b/sys/gnu/fs/ext2fs/ext2_linux_balloc.c
@@ -42,9 +42,7 @@
#include <gnu/ext2fs/ext2_fs_sb.h>
#include <gnu/ext2fs/fs.h>
-#ifdef __alpha__
-#include <gnu/ext2fs/alpha-bitops.h>
-#elif __i386__
+#ifdef __i386__
#include <gnu/ext2fs/i386-bitops.h>
#else
#include <gnu/ext2fs/ext2_bitops.h>
diff --git a/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c b/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c
index 926fe7c..893302a 100644
--- a/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c
+++ b/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c
@@ -44,9 +44,7 @@
#include <gnu/ext2fs/fs.h>
#include <sys/stat.h>
-#ifdef __alpha__
-#include <gnu/ext2fs/alpha-bitops.h>
-#elif __i386__
+#ifdef __i386__
#include <gnu/ext2fs/i386-bitops.h>
#else
#include <gnu/ext2fs/ext2_bitops.h>
OpenPOWER on IntegriCloud