diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-10-28 10:54:50 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-10-28 10:54:50 +0000 |
commit | a8b1845a784516e51266e9f33fc3fe5b1e2790d5 (patch) | |
tree | e057fa606799edf4f4fd4af58b5b351ead338549 /xen/arch/x86/srat.c | |
parent | 0a7e9c30b5554194b7b3c80ab751f13df0f7607f (diff) | |
download | xen-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.c | 4 |
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. */ |