powerpc/iommu: Use str_disabled_enabled() helper
Remove hard-coded strings by using the str_disabled_enabled() helper. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250210224246.363318-1-thorsten.blum@linux.dev
This commit is contained in:
committed by
Madhavan Srinivasan
parent
f36a28192e
commit
f15e87340a
@@ -16,6 +16,7 @@
|
||||
#include <linux/mm.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/string_choices.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/bitmap.h>
|
||||
#include <linux/iommu-helper.h>
|
||||
@@ -769,8 +770,8 @@ struct iommu_table *iommu_init_table(struct iommu_table *tbl, int nid,
|
||||
iommu_table_clear(tbl);
|
||||
|
||||
if (!welcomed) {
|
||||
printk(KERN_INFO "IOMMU table initialized, virtual merging %s\n",
|
||||
novmerge ? "disabled" : "enabled");
|
||||
pr_info("IOMMU table initialized, virtual merging %s\n",
|
||||
str_disabled_enabled(novmerge));
|
||||
welcomed = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user