[U-Boot] [PATCH v2] Correct ffs/fls regression for PowerPC etc

Kumar Gala
2009-09-17T14:03:51Z

On Sep 17, 2009, at 8:15 AM, Simon Kagstrom wrote:

> Correct ffs/fls regression for PowerPC etc
>
> Commits
>
> 02f99901ed1c9d828e3ea117f94ce2264bf8389e
> 52d61227b66d4099b39c8309ab37cb67ee09a405
>
> introduced a regression where platform-specific ffs/fls
> implementations
> were defined away. This patch corrects that by using PLATFORM_xxx
> instead of the name itself.
>
> Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
> ---
> I've runtime tested on ARM (OpenRD base) and build-tested on
> MPC8536DS,
> where __ilog2_u64 now at least is non-empty. It would be nice if (at
> least!) some PowerPC people could test the patch.
>
>
> ChangeLog:
>
> v2 - Make _all_ macros upper case (Stefan, Wolfgang)
>

Acked-by: Kumar Gala <galak@kernel.crashing.org>

This fixes the issue I was seeing.

- k