summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/cpu/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h
index bed77de017..47521d45fe 100644
--- a/src/include/cpu/cpu.h
+++ b/src/include/cpu/cpu.h
@@ -16,10 +16,12 @@ void smm_setup_structures(void *gnvs, void *tcg, void *smi1);
#endif
#define __cpu_driver __attribute__ ((used,__section__(".rodata.cpu_driver")))
+#ifndef __SIMPLE_DEVICE__
/** start of compile time generated pci driver array */
extern struct cpu_driver cpu_drivers[];
/** end of compile time generated pci driver array */
extern struct cpu_driver ecpu_drivers[];
+#endif
#endif /* !__PRE_RAM__ && !__SMM__ */
#endif /* CPU_CPU_H */