Skip to content

Commit

Permalink
powerpc/mm: Fix typo in radix encodings print
Browse files Browse the repository at this point in the history
Rename "sift" to "shift".

Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Balbir Singh authored and Michael Ellerman committed Nov 17, 2016
1 parent 1aed61f commit ac8d381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/mm/pgtable-radix.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ static int __init radix_dt_scan_page_sizes(unsigned long node,
/* top 3 bit is AP encoding */
shift = be32_to_cpu(prop[0]) & ~(0xe << 28);
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);
if (idx < 0)
Expand Down

0 comments on commit ac8d381

Please sign in to comment.