Re: [PATCH] OLPC: only check for OFW signature on VSA-less Geodes

From: Andrew Morton
Date: Mon Apr 28 2008 - 23:07:30 EST


On Mon, 21 Apr 2008 17:02:30 -0400 Andres Salomon <dilinger@xxxxxxxxxx> wrote:

> + if (!is_geode() || geode_has_vsa2())

geode_has_vsa2() is a fairly expensive-looking function and afacit only
needs to be evaluated once per boot. Perhaps we should cache it somewhere?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/