Some compilation issue fix for PPC970 port
authorGreg Watson <gwatson@lanl.gov>
Fri, 21 Oct 2005 00:52:52 +0000 (00:52 +0000)
committerGreg Watson <gwatson@lanl.gov>
Fri, 21 Oct 2005 00:52:52 +0000 (00:52 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2065 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/stream/fs/ext2fs.c
src/stream/fs/fat.c

index e57a9f19154e04fd99960d539aa3333fedce4be5..f29fd8aeb13d4a261d3fd9c341cdbbdb3055f5a8 100644 (file)
@@ -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)
 {
index aa64e584d6422a3abe3610a56f97fedfba1f2d6b..540cac370ec2c53d686753fba133fed70ead2a4d 100644 (file)
@@ -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)
 {