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:
parent
c453afd113
commit
00e1958bd4
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user