diff options
author | Avi Kivity <avi@redhat.com> | 2012-09-20 16:02:51 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-10-15 11:43:05 +0200 |
commit | 7762c2c1e02e44fdc473cbe75105faba08b906cc (patch) | |
tree | 9013b33b34dd304902f2b836644e78945a95261d | |
parent | 8b4a3df8081f3e6f1061ed5cbb303ad623ade66b (diff) |
memory: rename 'exec-obsolete.h'
exec-obsolete.h used to hold pre-memory-API functions that were used from
device code prior to the transition to the memory API. Now that the
transition is complete, the name no longer describes the file. The
functions still need to be merged better into the memory core, but there's
no danger of anyone using them.
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r-- | cputlb.c | 3 | ||||
-rw-r--r-- | exec.c | 3 | ||||
-rw-r--r-- | memory-internal.h (renamed from exec-obsolete.h) | 8 | ||||
-rw-r--r-- | memory.c | 3 |
4 files changed, 5 insertions, 12 deletions
@@ -24,8 +24,7 @@ #include "cputlb.h" -#define WANT_EXEC_OBSOLETE -#include "exec-obsolete.h" +#include "memory-internal.h" //#define DEBUG_TLB //#define DEBUG_TLB_CHECK @@ -59,8 +59,7 @@ #include "cputlb.h" -#define WANT_EXEC_OBSOLETE -#include "exec-obsolete.h" +#include "memory-internal.h" //#define DEBUG_TB_INVALIDATE //#define DEBUG_FLUSH diff --git a/exec-obsolete.h b/memory-internal.h index 286e2f75e1..43fa886264 100644 --- a/exec-obsolete.h +++ b/memory-internal.h @@ -16,12 +16,8 @@ * The functions declared here will be removed soon. */ -#ifndef EXEC_OBSOLETE_H -#define EXEC_OBSOLETE_H - -#ifndef WANT_EXEC_OBSOLETE -#error Do not include exec-obsolete.h -#endif +#ifndef MEMORY_INTERNAL_H +#define MEMORY_INTERNAL_H #ifndef CONFIG_USER_ONLY #include "hw/xen.h" @@ -20,8 +20,7 @@ #include "kvm.h" #include <assert.h> -#define WANT_EXEC_OBSOLETE -#include "exec-obsolete.h" +#include "memory-internal.h" unsigned memory_region_transaction_depth = 0; static bool global_dirty_log = false; |