Author: gwatson
Date: 2005-10-21 02:52:52 +0200 (Fri, 21 Oct 2005)
New Revision: 2065
This commit is broken. We are never going to be able to set
ARCH to the character constant 'i386'. The basic sentiment
sane but not the implementation.
Modified:
trunk/LinuxBIOSv2/src/stream/fs/ext2fs.c
trunk/LinuxBIOSv2/src/stream/fs/fat.c
Log:
Some compilation issue fix for PPC970 port
Modified: trunk/LinuxBIOSv2/src/stream/fs/ext2fs.c
--- trunk/LinuxBIOSv2/src/stream/fs/ext2fs.c 2005-10-20 01:44:21 UTC (rev 2064)
+++ trunk/LinuxBIOSv2/src/stream/fs/ext2fs.c 2005-10-21 00:52:52 UTC (rev 2065)
@@ -239,7 +239,7 @@
- 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)
{
Modified: trunk/LinuxBIOSv2/src/stream/fs/fat.c
--- trunk/LinuxBIOSv2/src/stream/fs/fat.c 2005-10-20 01:44:21 UTC (rev 2064)
+++ trunk/LinuxBIOSv2/src/stream/fs/fat.c 2005-10-21 00:52:52 UTC (rev 2065)
@@ -54,7 +54,7 @@
#define FAT_CACHE_SIZE 2048
-#ifndef PPC
+#if ARCH == 'i386'
static __inline__ unsigned long
log2 (unsigned long word)
{
--
To unsubscribe send an email to
linuxbios-checkins+unsubscribe@openbios.org