xentrace: Mark data_size __read_mostly because it's only written once (xen-unstable changeset: 23309:0ddcc8063690) Signed-off-by: Olaf Hering --- xen/common/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: xen-4.1.1-testing/xen/common/trace.c =================================================================== --- xen-4.1.1-testing.orig/xen/common/trace.c +++ xen-4.1.1-testing/xen/common/trace.c @@ -55,7 +55,7 @@ static unsigned int t_info_pages; static DEFINE_PER_CPU_READ_MOSTLY(struct t_buf *, t_bufs); static DEFINE_PER_CPU_READ_MOSTLY(unsigned char *, t_data); static DEFINE_PER_CPU_READ_MOSTLY(spinlock_t, t_lock); -static u32 data_size; +static u32 data_size __read_mostly; /* High water mark for trace buffers; */ /* Send virtual interrupt when buffer level reaches this point */