diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-12-15 00:44:54 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-16 00:30:12 +0000 |
commit | ca261091eb1f1b676710e1b68a0a595be53840ac (patch) | |
tree | 66bc241fcd0fcc60700a03326259a67f03ad3475 /src/cpu/x86/pae | |
parent | 08529918fcc11fde87e3a78dab0fe73e72b04de5 (diff) |
cpu/x86/mtrr: rename local cpu_idx variable and make it const
After the previous patch this local variable is no longer the mpinit CPU
index, but the LAPIC ID, so rename it. Since it will only be set once,
it can also be marked as const.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I4fad4e1095478213727bee8586852f9d5a7d18e9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70798
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/cpu/x86/pae')
0 files changed, 0 insertions, 0 deletions