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

Commit 20a8ab97 authored by Anton Blanchard's avatar Anton Blanchard Committed by Benjamin Herrenschmidt
Browse files

powerpc/pseries: Quieten cede latency printk



The cede latency stuff is relatively new and we don't need to complain about
it not working on older firmware.

Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Acked-by: default avatarBalbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 5a2ad98e
Loading
Loading
Loading
Loading
+5 −17
Original line number Diff line number Diff line
@@ -387,24 +387,12 @@ static char cede_parameters[CEDE_LATENCY_PARAM_MAX_LENGTH];

static int parse_cede_parameters(void)
{
	int call_status;

	memset(cede_parameters, 0, CEDE_LATENCY_PARAM_MAX_LENGTH);
	call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1,
	return rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1,
			 NULL,
			 CEDE_LATENCY_TOKEN,
			 __pa(cede_parameters),
			 CEDE_LATENCY_PARAM_MAX_LENGTH);

	if (call_status != 0)
		printk(KERN_INFO "CEDE_LATENCY: "
			"%s %s Error calling get-system-parameter(0x%x)\n",
			__FILE__, __func__, call_status);
	else
		printk(KERN_INFO "CEDE_LATENCY: "
			"get-system-parameter successful.\n");

	return call_status;
}

static int __init pseries_cpu_hotplug_init(void)