memblock_is_region_reserved() issue

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Aug 4 00:02:17 EDT 2010


Hi folks !

You seem to use memblock_is_region_reserved() in a few places in the new
code assuming (as I would) that it returns a boolean (0 reserved, !0 not
reserved).

However, the implementation looks totally wrong. I was wondering if you
had noticed :-)

I'm about to send a fix, but wanted to make sure you guys were ok with
it.

Cheers,
Ben.




More information about the linux-arm-kernel mailing list