diff options
author | Kevin Hao <haokexin@gmail.com> | 2014-01-29 18:24:54 +0800 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-02-11 11:24:52 +1100 |
commit | 04a341138da55daf47551308660a5fcc6b5b9077 (patch) | |
tree | 978ef5b7e571284ed25a263354a7ee41de089e60 /arch/tile/kernel/entry.S | |
parent | d2b496e5e1fa7a6796534e435440eb9d3ed184dd (diff) | |
download | linux-04a341138da55daf47551308660a5fcc6b5b9077.tar.bz2 |
powerpc/ppc32: Fix the bug in the init of non-base exception stack for UP
We would allocate one specific exception stack for each kind of
non-base exceptions for every CPU. For ppc32 the CPU hard ID is
used as the subscript to get the specific exception stack for
one CPU. But for an UP kernel, there is only one element in the
each kind of exception stack array. We would get stuck if the
CPU hard ID is not equal to '0'. So in this case we should use the
subscript '0' no matter what the CPU hard ID is.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/tile/kernel/entry.S')
0 files changed, 0 insertions, 0 deletions