aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/cpu.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-09-03 17:23:08 -0500
committerAaron Durbin <adurbin@chromium.org>2015-09-05 15:36:23 +0000
commit037581542b8e4571437ea34fb0244ad2ef43b6a3 (patch)
treef1ded4d98dd1f86cfaf424befdd63ecbcb01eaa8 /src/arch/x86/cpu.c
parent541b567167620c96de29c3bd1aec14c6742ae2b6 (diff)
symbols: add '_' to pci_drivers and cpu_drivers symbols
In order to prepare for more unification of the linker scripts prefix pci_drivers, epci_drivers, cpu_drivers, and ecpu_drivers with an underscore. BUG=chrome-os-partner:44827 BRANCH=None TEST=Built different boards includes ones w/ and w/o relocatable ramstage. Change-Id: I8918b38db3b754332e8d8506b424f3c6b3e06af8 Signed-off-by: Aaron Durbin <adubin@chromium.org> Reviewed-on: http://review.coreboot.org/11506 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch/x86/cpu.c')
-rw-r--r--src/arch/x86/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/cpu.c b/src/arch/x86/cpu.c
index 3eb7b9439e..ceed0770e2 100644
--- a/src/arch/x86/cpu.c
+++ b/src/arch/x86/cpu.c
@@ -192,7 +192,7 @@ static void identify_cpu(struct device *cpu)
struct cpu_driver *find_cpu_driver(struct device *cpu)
{
struct cpu_driver *driver;
- for (driver = cpu_drivers; driver < ecpu_drivers; driver++) {
+ for (driver = _cpu_drivers; driver < _ecpu_drivers; driver++) {
struct cpu_device_id *id;
for (id = driver->id_table;
id->vendor != X86_VENDOR_INVALID; id++) {