097-MIPS-io.h-Define-ioremap_cache.patch 1.0 KB

1234567891011121314151617181920212223242526272829
  1. From a68f376844605399cbd28b662d5ed213639f46f7 Mon Sep 17 00:00:00 2001
  2. From: "Maciej W. Rozycki" <macro@imgtec.com>
  3. Date: Sat, 9 Jan 2016 02:05:31 +0000
  4. Subject: [PATCH] MIPS: io.h: Define `ioremap_cache'
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
  9. Cc: Brian Norris <computersforpeace@gmail.com>
  10. Cc: Rafał Miłecki <zajec5@gmail.com>
  11. Cc: linux-mips@linux-mips.org
  12. Cc: linux-kernel@vger.kernel.org
  13. Patchwork: https://patchwork.linux-mips.org/patch/12040/
  14. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  15. ---
  16. arch/mips/include/asm/io.h | 1 +
  17. 1 file changed, 1 insertion(+)
  18. --- a/arch/mips/include/asm/io.h
  19. +++ b/arch/mips/include/asm/io.h
  20. @@ -275,6 +275,7 @@ static inline void __iomem * __ioremap_m
  21. */
  22. #define ioremap_cachable(offset, size) \
  23. __ioremap_mode((offset), (size), _page_cachable_default)
  24. +#define ioremap_cache ioremap_cachable
  25. /*
  26. * These two are MIPS specific ioremap variant. ioremap_cacheable_cow