On 7/25/25 1:38 PM, Richard Henderson wrote:
On 7/25/25 10:20, Pierrick Bouvier wrote:
Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>
---
meson.build | 2 +-
include/exec/target_page.h | 11 ++++++++++-
page-target.c | 10 ----------
3 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/page-target.c b/page-target.c
index 8fcd5443b52..66f03c61cd4 100644
--- a/page-target.c
+++ b/page-target.c
@@ -9,13 +9,3 @@
#include "qemu/osdep.h"
#include "exec/target_page.h"
-/* Convert target pages to MiB (2**20). */
-size_t qemu_target_pages_to_MiB(size_t pages)
-{
- int page_bits = TARGET_PAGE_BITS;
-
- /* So far, the largest (non-huge) page size is 64k, i.e. 16 bits. */
- g_assert(page_bits < 20);
-
- return pages >> (20 - page_bits);
-}
You didn't completely remove the file, though you clearly intended to do so.
Right, thanks.
Otherwise,
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~