RE: [PATCH] xen/tmem: cleanup

From: Jan Beulich
Date: Mon Feb 06 2012 - 03:12:37 EST

>>> On 04.02.12 at 17:42, Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> wrote:
>> From: Jan Beulich [mailto:JBeulich@xxxxxxxx]
>> Subject: [PATCH] xen/tmem: cleanup
>> Use 'bool' for boolean variables. Do proper section placement.
>> Eliminate an unnecessary export.
>> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
>> Cc: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
>> -int tmem_enabled __read_mostly;
>> -EXPORT_SYMBOL(tmem_enabled);
>> +bool __read_mostly tmem_enabled = false;
> tmem_enabled is used in xen/drivers/xen-selfballoon.c

Which can't be built as a module, and hence the symbol doesn't need
exporting. This patch (of course, I'm tempted to say) survived build


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at