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.
This commit is contained in:
Marcel Moolenaar 2003-10-29 07:35:53 +00:00
parent 2d9974c1e8
commit 3c6441a736
4 changed files with 4 additions and 12 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>