mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linuxkpi: Move cpu_relax out of ifdef for x86
It's needed by drm-kmod and this allow building on arm64 and powerpc. Reported by: jhibbits Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
1a70101a87
commit
ee247fc1e9
1 changed files with 2 additions and 2 deletions
|
|
@ -38,9 +38,9 @@ struct cpuinfo_x86 {
|
|||
uint16_t x86_clflush_size;
|
||||
};
|
||||
|
||||
#define cpu_relax() cpu_spinwait()
|
||||
|
||||
extern struct cpuinfo_x86 boot_cpu_data;
|
||||
#endif
|
||||
|
||||
#define cpu_relax() cpu_spinwait()
|
||||
|
||||
#endif /* _LINUXKPI_ASM_PROCESSOR_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue