mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/arm: Print correct domid in allocate_memory_11
allocate_memory_11() can be called for dom0 and direct-mapped hwdom
domU. In the latter scenario, a log message would still mention dom0
instead of the correct domid.
Fixes: 52cb53f181 ("xen/arm: dom0less hwdom construction")
Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
4b3cad91a1
commit
7c02572c37
1 file changed
+2
-2
@@ -296,9 +296,9 @@ static void __init allocate_memory_11(struct domain *d,
|
||||
*/
|
||||
BUG_ON(!is_domain_direct_mapped(d));
|
||||
|
||||
printk("Allocating 1:1 mappings totalling %ldMB for dom0:\n",
|
||||
printk("Allocating 1:1 mappings totalling %ldMB for %pd:\n",
|
||||
/* Don't want format this as PRIpaddr (16 digit hex) */
|
||||
(unsigned long)(kinfo->unassigned_mem >> 20));
|
||||
(unsigned long)(kinfo->unassigned_mem >> 20), d);
|
||||
|
||||
mem->nr_banks = 0;
|
||||
|
||||
|
||||