You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.0 KiB

  1. From ec4b65d9c9180101807f598c9edecb462f54261a Mon Sep 17 00:00:00 2001
  2. From: Rosen Penev <rosenp@gmail.com>
  3. Date: Sun, 31 Mar 2019 21:19:03 -0700
  4. Subject: [PATCH] arch: fix build breakage on armv6 again
  5. 6K was missing from the defines.
  6. Signed-off-by: Rosen Penev <rosenp@gmail.com>
  7. ---
  8. arch/arch-arm.h | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/arch/arch-arm.h b/arch/arch-arm.h
  11. index fc1c4844..78cb2ebe 100644
  12. --- a/arch/arch-arm.h
  13. +++ b/arch/arch-arm.h
  14. @@ -7,7 +7,7 @@
  15. || defined (__ARM_ARCH_5__) || defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5E__)\
  16. || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) \
  17. || defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) \
  18. - || defined(__ARM_ARCH_6KZ__)
  19. + || defined(__ARM_ARCH_6KZ__) || defined(__ARM_ARCH_6K__)
  20. #define nop __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t")
  21. #define read_barrier() __asm__ __volatile__ ("" : : : "memory")
  22. #define write_barrier() __asm__ __volatile__ ("" : : : "memory")
  23. --
  24. 2.17.1