Skip to content
Snippets Groups Projects
Commit 43381474 authored by Ashish kumar's avatar Ashish kumar Committed by York Sun
Browse files

arch/powperpc: Fix start_align due to use of __ffs64() instead ffs64()


Incorrect DDR law was created in case of B4860qds after commit
2d2f490d. Return value of ffs64() differs from __ffs64(), eg.
    ffs64(0x80000000) = 0x20
    __ffs64(0x80000000) = 0x1f
As a result of this change, callers need to adjust the expected
return value by removing -1.

Signed-off-by: default avatarAshish Kumar <Ashish.Kumar@nxp.com>
Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
parent 2c0d6971
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment