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/common/lib.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/common/lib.c')
-rw-r--r-- | xen/common/lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/lib.c b/xen/common/lib.c index 579512a4c5..4ae637c478 100644 --- a/xen/common/lib.c +++ b/xen/common/lib.c @@ -5,7 +5,7 @@ #include <asm/byteorder.h> /* for ctype.h */ -unsigned char _ctype[] = { +const unsigned char _ctype[] = { _C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */ _C,_C|_S,_C|_S,_C|_S,_C|_S,_C|_S,_C,_C, /* 8-15 */ _C,_C,_C,_C,_C,_C,_C,_C, /* 16-23 */ |