diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2012-09-07 15:31:44 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-09 23:35:27 (GMT) |
commit | 407821a34fce89b4f0b031dbab5cec7d059f46bc (patch) | |
tree | 36aa8357700f25acac080003fbed376f737ca1b4 /arch/powerpc/include/asm/eeh.h | |
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 'arch/powerpc/include/asm/eeh.h')
0 files changed, 0 insertions, 0 deletions