Some compilation issue fix for PPC970 port
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2065 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
8d4edc2fcd
commit
4b18e2048f
|
@ -239,7 +239,7 @@ struct ext2_dir_entry
|
||||||
* ffz = Find First Zero in word. Undefined if no zero exists,
|
* ffz = Find First Zero in word. Undefined if no zero exists,
|
||||||
* so code should check against ~0UL first..
|
* so code should check against ~0UL first..
|
||||||
*/
|
*/
|
||||||
#ifndef PPC
|
#if ARCH == 'i386'
|
||||||
static __inline__ unsigned long
|
static __inline__ unsigned long
|
||||||
ffz (unsigned long word)
|
ffz (unsigned long word)
|
||||||
{
|
{
|
||||||
|
|
|
@ -54,7 +54,7 @@ struct fat_superblock
|
||||||
|
|
||||||
#define FAT_CACHE_SIZE 2048
|
#define FAT_CACHE_SIZE 2048
|
||||||
|
|
||||||
#ifndef PPC
|
#if ARCH == 'i386'
|
||||||
static __inline__ unsigned long
|
static __inline__ unsigned long
|
||||||
log2 (unsigned long word)
|
log2 (unsigned long word)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue