aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/srat.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-10-28 10:54:50 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-10-28 10:54:50 +0000
commita8b1845a784516e51266e9f33fc3fe5b1e2790d5 (patch)
treee057fa606799edf4f4fd4af58b5b351ead338549 /xen/arch/x86/srat.c
parent0a7e9c30b5554194b7b3c80ab751f13df0f7607f (diff)
downloadxen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.tar.gz
xen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.tar.bz2
xen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.zip
Miscellaneous data placement adjustments
Make various data items const or __read_mostly where possible/reasonable. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/srat.c')
-rw-r--r--xen/arch/x86/srat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/srat.c b/xen/arch/x86/srat.c
index 9ee4f3106e..9deeda077c 100644
--- a/xen/arch/x86/srat.c
+++ b/xen/arch/x86/srat.c
@@ -20,12 +20,12 @@
#include <asm/e820.h>
#include <asm/page.h>
-static struct acpi_table_slit *acpi_slit;
+static struct acpi_table_slit *__read_mostly acpi_slit;
static nodemask_t nodes_parsed __initdata;
static nodemask_t nodes_found __initdata;
static struct node nodes[MAX_NUMNODES] __initdata;
-static u8 pxm2node[256] = { [0 ... 255] = 0xff };
+static u8 __read_mostly pxm2node[256] = { [0 ... 255] = 0xff };
/* Too small nodes confuse the VM badly. Usually they result
from BIOS bugs. */