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

Commit 46a74179 authored by David Gibson's avatar David Gibson Committed by Paul Mackerras
Browse files

[POWERPC] Fix __set_fixmap() for STRICT_MM_TYPECHECKS



__set_fixmap() in pgtable_32.c currently fails to compile if
STRICT_MM_TYPECHECKS is defined.  This fixes it.

Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent ecc240f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -402,7 +402,7 @@ void __set_fixmap (enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags)
		return;
	}

	map_page(address, phys, flags);
	map_page(address, phys, pgprot_val(flags));
	fixmaps++;
}