diff mbox series

[v2,1/3] exec: Rename exec-vary.c as page-vary.c

Message ID 20210322112427.4045204-2-f4bug@amsat.org
State New
Headers show
Series [v2,1/3] exec: Rename exec-vary.c as page-vary.c | expand

Commit Message

Philippe Mathieu-Daudé March 22, 2021, 11:24 a.m. UTC
From: Richard Henderson <richard.henderson@linaro.org>


exec-vary.c is about variable page size handling,
rename it page-vary.c. Currently this file is target
specific (built once for each target), comment this.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

---
 meson.build                | 3 ++-
 exec-vary.c => page-vary.c | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
 rename exec-vary.c => page-vary.c (98%)

-- 
2.26.2
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index 5c85a15364d..f0dd8aa0898 100644
--- a/meson.build
+++ b/meson.build
@@ -1933,7 +1933,6 @@ 
 
 common_ss.add(capstone)
 specific_ss.add(files('cpu.c', 'disas.c', 'gdbstub.c'), capstone)
-specific_ss.add(files('exec-vary.c'))
 specific_ss.add(when: 'CONFIG_TCG', if_true: files(
   'fpu/softfloat.c',
   'tcg/optimize.c',
@@ -1945,6 +1944,8 @@ 
 ))
 specific_ss.add(when: 'CONFIG_TCG_INTERPRETER', if_true: files('tcg/tci.c'))
 
+specific_ss.add(files('page-vary.c'))
+
 subdir('backends')
 subdir('disas')
 subdir('migration')
diff --git a/exec-vary.c b/page-vary.c
similarity index 98%
rename from exec-vary.c
rename to page-vary.c
index a603b1b4336..344f9fcf76a 100644
--- a/exec-vary.c
+++ b/page-vary.c
@@ -1,5 +1,5 @@ 
 /*
- * Variable page size handling
+ * Variable page size handling -- target specific part.
  *
  *  Copyright (c) 2003 Fabrice Bellard
  *