powerpc/405: move PPC405_ERR77 in asm-405.h
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
8c58259bba
commit
36a7eeaff7
@@ -70,17 +70,4 @@
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#ifdef CONFIG_IBM405_ERR77
|
||||
/* Erratum #77 on the 405 means we need a sync or dcbt before every
|
||||
* stwcx. The old ATOMIC_SYNC_FIX covered some but not all of this.
|
||||
*/
|
||||
#define PPC405_ERR77(ra,rb) stringify_in_c(dcbt ra, rb;)
|
||||
#define PPC405_ERR77_SYNC stringify_in_c(sync;)
|
||||
#else
|
||||
#define PPC405_ERR77(ra,rb)
|
||||
#define PPC405_ERR77_SYNC
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* _ASM_POWERPC_ASM_COMPAT_H */
|
||||
|
Reference in New Issue
Block a user