target/ppc: Remove includes from mmu-book3s-v3.h
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 26 May 2024 23:13:08 +0000 (01:13 +0200)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:51:34 +0000 (09:51 +1000)
Drop includes from header that is not needed by the header itself and
only include them from C files that really need it.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/mmu-book3s-v3.h
target/ppc/mmu-hash64.c
target/ppc/mmu-radix64.c

index 263ce55c1f014b573394f71b2c13827f7065c447..be66e26604ea8b185a8d7154ea5839c976bfd074 100644 (file)
@@ -20,9 +20,6 @@
 #ifndef PPC_MMU_BOOK3S_V3_H
 #define PPC_MMU_BOOK3S_V3_H
 
-#include "mmu-hash64.h"
-#include "mmu-books.h"
-
 #ifndef CONFIG_USER_ONLY
 
 /*
index 7bc0323f26cdbf78ecf018da940dca62dc9c90dd..5e1983e33415b51ac4a3ca66959a9217ee24399a 100644 (file)
@@ -31,6 +31,7 @@
 #include "hw/hw.h"
 #include "internal.h"
 #include "mmu-book3s-v3.h"
+#include "mmu-books.h"
 #include "helper_regs.h"
 
 #ifdef CONFIG_TCG
index cf9619e847cc192ae90d1a073de050d553e41d03..be7a45f25497f9801ea2b272580adbe2eacb5815 100644 (file)
@@ -28,6 +28,7 @@
 #include "internal.h"
 #include "mmu-radix64.h"
 #include "mmu-book3s-v3.h"
+#include "mmu-books.h"
 
 /* Radix Partition Table Entry Fields */
 #define PATE1_R_PRTB           0x0FFFFFFFFFFFF000