]>
git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/powerpc/include/asm/asm-405.h
1 #ifndef _ASM_POWERPC_ASM_405_H
2 #define _ASM_POWERPC_ASM_405_H
4 #include <asm/asm-const.h>
7 #ifdef CONFIG_IBM405_ERR77
8 /* Erratum #77 on the 405 means we need a sync or dcbt before every
9 * stwcx. The old ATOMIC_SYNC_FIX covered some but not all of this.
11 #define PPC405_ERR77(ra,rb) stringify_in_c(dcbt ra, rb;)
12 #define PPC405_ERR77_SYNC stringify_in_c(sync;)
14 #define PPC405_ERR77(ra,rb)
15 #define PPC405_ERR77_SYNC
19 #endif /* _ASM_POWERPC_ASM_405_H */