diff options
| author | Jordan Niethe <[email protected]> | 2020-10-14 18:28:37 +1100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-11-19 14:49:56 +1100 |
| commit | 344fbab991a568dc33ad90711b489d870e18d26d (patch) | |
| tree | 9e238e64e62494a77908c928782763760422bf77 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 3c0b976bf20d236c57adcefa80f86a0a1d737727 (diff) | |
powerpc/64s: Convert some cpu_setup() and cpu_restore() functions to C
The only thing keeping the cpu_setup() and cpu_restore() functions
used in the cputable entries for Power7, Power8, Power9 and Power10 in
assembly was cpu_restore() being called before there was a stack in
generic_secondary_smp_init(). Commit ("powerpc/64: Set up a kernel
stack for secondaries before cpu_restore()") means that it is now
possible to use C.
Rewrite the functions in C so they are a little bit easier to read.
This is not changing their functionality.
Signed-off-by: Jordan Niethe <[email protected]>
[mpe: Tweak copyright and authorship notes]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions