uclient: update to Git HEAD (2024-04-18)
[openwrt/openwrt.git] / target / linux / generic / patches-4.4 / 097-MIPS-io.h-Define-ioremap_cache.patch
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
9 Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
10 Cc: Brian Norris <computersforpeace@gmail.com>
11 Cc: Rafał Miłecki <zajec5@gmail.com>
12 Cc: linux-mips@linux-mips.org
13 Cc: linux-kernel@vger.kernel.org
14 Patchwork: https://patchwork.linux-mips.org/patch/12040/
15 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 ---
17 arch/mips/include/asm/io.h | 1 +
18 1 file changed, 1 insertion(+)
19
20 --- a/arch/mips/include/asm/io.h
21 +++ b/arch/mips/include/asm/io.h
22 @@ -275,6 +275,7 @@ static inline void __iomem * __ioremap_m
23 */
24 #define ioremap_cachable(offset, size) \
25 __ioremap_mode((offset), (size), _page_cachable_default)
26 +#define ioremap_cache ioremap_cachable
27
28 /*
29 * These two are MIPS specific ioremap variant. ioremap_cacheable_cow