| commit | 21b69154dac44a8ded1a25d0beb22f136cfb60b4 | [log] [tgz] |
|---|---|---|
| author | Andy Lutomirski <luto@kernel.org> | Sun Apr 07 19:14:27 2019 -0700 |
| committer | Andy Lutomirski <luto@kernel.org> | Sun Apr 07 19:17:57 2019 -0700 |
| tree | 9fac860cdd2e937e328d84bfa213194b5934722a | |
| parent | e4a2d765cc14b3e8445d4379938d3b162b71d4bf [diff] |
riscv: Stop using kstack_end() kstack_end() is a hack that is not correct on all arches. The ancient comment suggests that it masterfully works fully correctly on x86, for example, but it's actually wrong on x86. Since it could plausibly be correct on riscv, copy the implementation to sh near its only call site. Signed-off-by: Andy Lutomirski <luto@kernel.org>