diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-12-07 13:47:48 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-12-07 13:47:48 +0100 |
commit | 57b4fcf14eb2bb243045ed320ca5809c201be3ee (patch) | |
tree | e5d11062523169d8d57c16d7373b52e5dfc6a417 /xen/arch/x86/mm | |
parent | 3e7fcd51276a6df669f1338947157d7408268b91 (diff) | |
download | xen-57b4fcf14eb2bb243045ed320ca5809c201be3ee.tar.gz xen-57b4fcf14eb2bb243045ed320ca5809c201be3ee.tar.bz2 xen-57b4fcf14eb2bb243045ed320ca5809c201be3ee.zip |
x86: mark certain items static
..., and at once constify the data items among them.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/mm')
-rw-r--r-- | xen/arch/x86/mm/guest_walk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/mm/guest_walk.c b/xen/arch/x86/mm/guest_walk.c index 13ea0bb385..0f08fb0b92 100644 --- a/xen/arch/x86/mm/guest_walk.c +++ b/xen/arch/x86/mm/guest_walk.c @@ -34,7 +34,7 @@ /* Flags that are needed in a pagetable entry, with the sense of NX inverted */ static uint32_t mandatory_flags(struct vcpu *v, uint32_t pfec) { - static uint32_t flags[] = { + static const uint32_t flags[] = { /* I/F - Usr Wr */ /* 0 0 0 0 */ _PAGE_PRESENT, /* 0 0 0 1 */ _PAGE_PRESENT|_PAGE_RW, |