summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/asm-compat.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-07-05 19:24:55 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-30 15:48:13 +0300
commit36a7eeaff7d06cef253c8df6dfe363bfc4a553f8 (patch)
tree615de7235f2e4db04860bd3fed530d81a6ef3c5a /arch/powerpc/include/asm/asm-compat.h
parent8c58259bba43084eb5876aeefa574e9344b85ae3 (diff)
downloadlinux-36a7eeaff7d06cef253c8df6dfe363bfc4a553f8.tar.xz
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>
Diffstat (limited to 'arch/powerpc/include/asm/asm-compat.h')
-rw-r--r--arch/powerpc/include/asm/asm-compat.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/powerpc/include/asm/asm-compat.h b/arch/powerpc/include/asm/asm-compat.h
index 7f2a7702596c..d2cf3593e987 100644
--- a/arch/powerpc/include/asm/asm-compat.h
+++ b/arch/powerpc/include/asm/asm-compat.h
@@ -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 */