summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Watson <gwatson@lanl.gov>2005-10-21 00:52:52 +0000
committerGreg Watson <gwatson@lanl.gov>2005-10-21 00:52:52 +0000
commit4b18e2048f717d0e274b557dbda0829e8d6d6451 (patch)
tree7f762647a4695730bcbc0a7ea8b3afb8ca2046d9
parent8d4edc2fcd003990228f505ce717c32b45831f2d (diff)
downloadcoreboot-4b18e2048f717d0e274b557dbda0829e8d6d6451.tar.xz
Some compilation issue fix for PPC970 port
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2065 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/stream/fs/ext2fs.c2
-rw-r--r--src/stream/fs/fat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/fs/ext2fs.c b/src/stream/fs/ext2fs.c
index e57a9f1915..f29fd8aeb1 100644
--- a/src/stream/fs/ext2fs.c
+++ b/src/stream/fs/ext2fs.c
@@ -239,7 +239,7 @@ struct ext2_dir_entry
* ffz = Find First Zero in word. Undefined if no zero exists,
* so code should check against ~0UL first..
*/
-#ifndef PPC
+#if ARCH == 'i386'
static __inline__ unsigned long
ffz (unsigned long word)
{
diff --git a/src/stream/fs/fat.c b/src/stream/fs/fat.c
index aa64e584d6..540cac370e 100644
--- a/src/stream/fs/fat.c
+++ b/src/stream/fs/fat.c
@@ -54,7 +54,7 @@ struct fat_superblock
#define FAT_CACHE_SIZE 2048
-#ifndef PPC
+#if ARCH == 'i386'
static __inline__ unsigned long
log2 (unsigned long word)
{