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

Commit 7559952e authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc/mm: Fix section mismatch warning in early_check_vec5()



early_check_vec5() is called from and calls __init routines, so should
also be __init.

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 0e9645df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -381,7 +381,7 @@ early_param("disable_radix", parse_disable_radix);
 * /chosen/ibm,architecture-vec-5 to see if the hypervisor is willing to do
 * radix.  If not, we clear the radix feature bit so we fall back to hash.
 */
static void early_check_vec5(void)
static void __init early_check_vec5(void)
{
	unsigned long root, chosen;
	int size;