Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7210ed74 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: fix up an off-by-1 in the number of early ioremap fixmaps.



There was an off-by-1 in the begin/end of the ioremap fixmaps, leaving us
with a spurious entry. In practice this wasn't a problem since we aligned
on a PMD boundary anyways, but this makes it consistent with the
intention and the other fixmaps.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 3a598264
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ enum fixed_addresses {
	 */
#define FIX_N_IOREMAPS	32
	FIX_IOREMAP_BEGIN,
	FIX_IOREMAP_END = FIX_IOREMAP_BEGIN + FIX_N_IOREMAPS,
	FIX_IOREMAP_END = FIX_IOREMAP_BEGIN + FIX_N_IOREMAPS - 1,
#endif

	__end_of_fixed_addresses