qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: qemu-devel@nongnu.org
Cc: "Gavin Shan" <gshan@redhat.com>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>
Subject: [PATCH v2 1/3] exec: Rename exec-vary.c as page-vary.c
Date: Mon, 22 Mar 2021 12:24:24 +0100	[thread overview]
Message-ID: <20210322112427.4045204-2-f4bug@amsat.org> (raw)
In-Reply-To: <20210322112427.4045204-1-f4bug@amsat.org>

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%)

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
  *
-- 
2.26.2



  reply	other threads:[~2021-03-22 11:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-22 11:24 [PATCH v2 0/3] exec: Build page-vary-common.c with -fno-lto Philippe Mathieu-Daudé
2021-03-22 11:24 ` Philippe Mathieu-Daudé [this message]
2021-03-22 11:24 ` [PATCH v2 2/3] exec: Extract 'page-vary.h' header Philippe Mathieu-Daudé
2021-03-22 11:24 ` [PATCH v2 3/3] exec: Build page-vary-common.c with -fno-lto Philippe Mathieu-Daudé
2021-03-22 13:00 ` [PATCH v2 0/3] " Paolo Bonzini
2021-03-22 21:49   ` Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210322112427.4045204-2-f4bug@amsat.org \
    --to=f4bug@amsat.org \
    --cc=gshan@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).