arm64: Fix the includes for rsi.c

This depended on header pollution only present when FDT is defined. As
FDT isn't check for in this file we can remove opt_platform.h and
include the correct set of vm header files.

Reported by:	ivy
Fixes:	76a2904c35 ("arm64: Add RSI detection for CCA")
Sponsored by:	Arm Ltd
This commit is contained in:
Andrew Turner
2026-05-14 09:31:06 +01:00
parent 96f262dcac
commit b8606c3406
+2 -3
View File
@@ -25,14 +25,13 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#include "opt_platform.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/physmem.h> #include <sys/physmem.h>
#include <sys/rwlock.h> #include <sys/rwlock.h>
#include <vm/vm_page.h> #include <vm/vm.h>
#include <vm/pmap.h>
#include <machine/rsi.h> #include <machine/rsi.h>
#include <machine/vmparam.h> #include <machine/vmparam.h>