diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-09-21 14:25:12 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-09-21 14:25:12 +0200 |
commit | 8a858447e93a080c8f46dfd5224f6952122da05f (patch) | |
tree | a9f63a18e565e4d784374274cdd7b0c80fbfbbdb /xen/common/page_alloc.c | |
parent | 724b55f48a6c9fca00ddeeca5a130657680caf0b (diff) | |
download | xen-8a858447e93a080c8f46dfd5224f6952122da05f.tar.gz xen-8a858447e93a080c8f46dfd5224f6952122da05f.tar.bz2 xen-8a858447e93a080c8f46dfd5224f6952122da05f.zip |
printk: prefer %#x et at over 0x%x
Performance is not an issue with printk(), so let the function do
minimally more work and instead save a byte per affected format
specifier.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/page_alloc.c')
-rw-r--r-- | xen/common/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c index ae309faf3e..6a34156494 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -367,7 +367,7 @@ static void __init setup_low_mem_virq(void) low_mem_virq_th = low_mem_virq_orig = 1UL << order; low_mem_virq_th_order = order; - printk("Initial low memory virq threshold set at 0x%lx pages.\n", + printk("Initial low memory virq threshold set at %#lx pages.\n", low_mem_virq_th); } |