Search
j0ke.net Open Build Service
>
Projects
>
oldschool
>
quota
> quota-ppc-hack.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File quota-ppc-hack.diff of Package quota
# This is a BitKeeper generated patch for the following project: # Project Name: Linux 2.4 for PowerPC # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.413 -> 1.414 # include/asm-ppc/byteorder.h 1.7 -> 1.8 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 01/10/11 trini@opus.bloom.county 1.414 # Fix byteorder.h for quota. # -------------------------------------------- # diff -Nru a/include/asm-ppc/byteorder.h b/include/asm-ppc/byteorder.h --- a/include/asm-ppc/byteorder.h Tue Feb 5 17:34:25 2002 +++ b/include/asm-ppc/byteorder.h Tue Feb 5 17:34:25 2002 @@ -6,8 +6,8 @@ #include <asm/types.h> -#ifdef __KERNEL__ #ifdef __GNUC__ +#ifdef __KERNEL__ extern __inline__ unsigned ld_le16(const volatile unsigned short *addr) { @@ -72,12 +72,14 @@ #define __arch__swab16s(addr) st_le16(addr,*addr) #define __arch__swab32s(addr) st_le32(addr,*addr) -#ifndef __STRICT_ANSI__ -#define __BYTEORDER_HAS_U64__ +#endif /* __KERNEL__ */ + +#if !defined(__STRICT_ANSI__) || defined(__KERNEL__) +# define __BYTEORDER_HAS_U64__ +# define __SWAB_64_THRU_32__ #endif #endif /* __GNUC__ */ -#endif /* __KERNEL__ */ #include <linux/byteorder/big_endian.h>