[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20090806115553.GA10734@elte.hu>
Date: Thu, 6 Aug 2009 13:55:53 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Paul Mackerras <paulus@...ba.org>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
linux-kernel@...r.kernel.org, benh@...nel.crashing.org
Subject: Re: [PATCH] perf_counter/powerpc: Check oprofile_cpu_type for NULL
before using it
* Paul Mackerras <paulus@...ba.org> wrote:
> From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
>
> If the current CPU doesn't support performance counters,
> cur_cpu_spec->oprofile_cpu_type can be NULL. The current perf_counter
> modules don't test for that case and would thus crash at boot time.
>
> Bug reported by David Woodhouse.
>
> Signed-off-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
> Reported-by: David Woodhouse <dwmw2@...radead.org>
> Signed-off-by: Paul Mackerras <paulus@...ba.org>
> ---
> Ingo, this needs to go in for .31 since it fixes a boot-time oops.
> Are you going to be sending a batch to Linus shortly or should I send
> this to him separately?
Yeah, wanted to send a batch of fixes later today - so i've queued
this one up too in perfcounters/urgent.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists