diff options
| author | Michael Ellerman <michael@ellerman.id.au> | 2012-09-07 19:31:44 +0400 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-10 03:35:27 +0400 |
| commit | 407821a34fce89b4f0b031dbab5cec7d059f46bc (patch) | |
| tree | 36aa8357700f25acac080003fbed376f737ca1b4 /tools/perf/scripts/python | |
| parent | 06c887666803608c3efe3807eba0e362307db7c4 (diff) | |
| download | linux-407821a34fce89b4f0b031dbab5cec7d059f46bc.tar.xz | |
powerpc: Initialise paca.data_offset with poison
It's possible for the cpu_possible_mask to change between the time we
initialise the pacas and the time we setup per_cpu areas.
Obviously impossible cpus shouldn't ever be running, but stranger things
have happened. So be paranoid and initialise data_offset with a poison
value in case we don't set it up later.
Based on a patch from Anton Blanchard.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
