Add bogus OCTEON_CORE_ID here. Really should integrate the pcpu.h stuff

that is in Cavium's base port.
This commit is contained in:
Warner Losh 2009-06-14 06:27:11 +00:00
parent c453afd113
commit 00e1958bd4

View File

@ -13,6 +13,14 @@
#ifndef LOCORE
/* XXXimp: From Cavium's include/pcpu.h, need to port that over */
#ifndef OCTEON_SMP
#define OCTEON_CORE_ID 0
#else
extern struct pcpu *cpuid_to_pcpu[];
#define OCTEON_CORE_ID (mips_rd_coreid())
#endif
/*
* Utility inlines & macros
*/