Commit ac8d3818 authored by Balbir Singh's avatar Balbir Singh Committed by Michael Ellerman

powerpc/mm: Fix typo in radix encodings print

Rename "sift" to "shift".
Signed-off-by: default avatarBalbir Singh <bsingharora@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 1aed61f9
...@@ -248,7 +248,7 @@ static int __init radix_dt_scan_page_sizes(unsigned long node, ...@@ -248,7 +248,7 @@ static int __init radix_dt_scan_page_sizes(unsigned long node,
/* top 3 bit is AP encoding */ /* top 3 bit is AP encoding */
shift = be32_to_cpu(prop[0]) & ~(0xe << 28); shift = be32_to_cpu(prop[0]) & ~(0xe << 28);
ap = be32_to_cpu(prop[0]) >> 29; ap = be32_to_cpu(prop[0]) >> 29;
pr_info("Page size sift = %d AP=0x%x\n", shift, ap); pr_info("Page size shift = %d AP=0x%x\n", shift, ap);
idx = get_idx_from_shift(shift); idx = get_idx_from_shift(shift);
if (idx < 0) if (idx < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment