diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2024-02-14 10:44:11 +0100 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-02-18 07:51:51 +0000 |
commit | 8bbc07ef232c329d811ae920953a9858c5b1821e (patch) | |
tree | 1599969180aa5add3c3b14645c6487b0c344e074 /src/arch/riscv/trap_handler.c | |
parent | eba383c20ce8f6f98981afbc40137571519a8571 (diff) |
soc/intel/xeon_sp/spr: Don't leak memory
Only call fill_pds() once to prevent leaking memory. Previously it was
called for every active stack on every socket.
Only call dump_pds() once to prevent spamming the console with the same
information.
Drop the return value since it's always returning success.
Change-Id: Ifa9609e9da086dc9731556014ea9b320b270d776
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80547
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shuo Liu <shuo.liu@intel.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/arch/riscv/trap_handler.c')
0 files changed, 0 insertions, 0 deletions