mirror of
https://github.com/opnsense/src.git
synced 2026-02-21 00:40:33 -05:00
linuxkpi: io.h: Do not include asm/set_memory.h for armv6 and armv7
They do not have the same pmap api and this cannot work for those arch.
Fixes: 789dbdbb48 ("linuxkpi: Add arch_io_{reserve,free}_memtype_wc")
Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
cbd1e83154
commit
d387a1b4b1
1 changed files with 2 additions and 0 deletions
|
|
@ -38,7 +38,9 @@
|
|||
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/types.h>
|
||||
#if defined(__amd64__) || defined(__arm64__) || defined(__i386__) || defined(__riscv__)
|
||||
#include <asm/set_memory.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* XXX This is all x86 specific. It should be bus space access.
|
||||
|
|
|
|||
Loading…
Reference in a new issue