diff options
Diffstat (limited to 'include/asm-powerpc/system.h')
-rw-r--r-- | include/asm-powerpc/system.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h index 09621f611dbc..32aa42b748be 100644 --- a/include/asm-powerpc/system.h +++ b/include/asm-powerpc/system.h | |||
@@ -43,7 +43,7 @@ | |||
43 | #ifdef CONFIG_SMP | 43 | #ifdef CONFIG_SMP |
44 | #define smp_mb() mb() | 44 | #define smp_mb() mb() |
45 | #define smp_rmb() rmb() | 45 | #define smp_rmb() rmb() |
46 | #define smp_wmb() __asm__ __volatile__ ("eieio" : : : "memory") | 46 | #define smp_wmb() eieio() |
47 | #define smp_read_barrier_depends() read_barrier_depends() | 47 | #define smp_read_barrier_depends() read_barrier_depends() |
48 | #else | 48 | #else |
49 | #define smp_mb() barrier() | 49 | #define smp_mb() barrier() |
@@ -559,5 +559,7 @@ static inline void create_function_call(unsigned long addr, void * func) | |||
559 | extern void account_system_vtime(struct task_struct *); | 559 | extern void account_system_vtime(struct task_struct *); |
560 | #endif | 560 | #endif |
561 | 561 | ||
562 | extern struct dentry *powerpc_debugfs_root; | ||
563 | |||
562 | #endif /* __KERNEL__ */ | 564 | #endif /* __KERNEL__ */ |
563 | #endif /* _ASM_POWERPC_SYSTEM_H */ | 565 | #endif /* _ASM_POWERPC_SYSTEM_H */ |