diff options
Diffstat (limited to 'include/asm-m68k')
-rw-r--r-- | include/asm-m68k/stat.h | 5 | ||||
-rw-r--r-- | include/asm-m68k/system.h | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-m68k/stat.h b/include/asm-m68k/stat.h index b28ce37c5..1d5b008e0 100644 --- a/include/asm-m68k/stat.h +++ b/include/asm-m68k/stat.h @@ -42,10 +42,11 @@ struct stat { * insane amounts of padding around dev_t's. */ struct stat64 { + unsigned char __pad0[6]; unsigned short st_dev; - unsigned char __pad0[10]; - unsigned long st_ino; + unsigned long long st_ino; + unsigned int st_mode; unsigned int st_nlink; diff --git a/include/asm-m68k/system.h b/include/asm-m68k/system.h index 7b6ae7d16..64dab98d8 100644 --- a/include/asm-m68k/system.h +++ b/include/asm-m68k/system.h @@ -80,8 +80,7 @@ asmlinkage void resume(void); #define mb() asm volatile ("" : : :"memory") #define rmb() asm volatile ("" : : :"memory") #define wmb() asm volatile ("" : : :"memory") -#define set_rmb(var, value) do { xchg(&var, value); } while (0) -#define set_mb(var, value) set_rmb(var, value) +#define set_mb(var, value) do { xchg(&var, value); } while (0) #define set_wmb(var, value) do { var = value; wmb(); } while (0) |