Re: [PATCH] allow vesafb to build when no CONFIG_MTRR
From: Gerd Knorr
Date: Tue Jun 21 2005 - 06:34:05 EST
> +#ifdef CONFIG_MTRR
> if (mtrr) {
> - int temp_size = size_total;
> + unsigned int temp_size = size_total;
> /* Find the largest power-of-two */
> while (temp_size & (temp_size - 1))
> temp_size &= (temp_size - 1);
> @@ -396,6 +401,7 @@ static int __init vesafb_probe(struct de
> temp_size >>= 1;
> }
> }
> +#endif
I'd just do that to avoid cluttering up the source with
#ifdef's, otherwise it looks ok to me ;)
Gerd
--
-mm seems unusually stable at present.
-- akpm about 2.6.12-rc3-mm3
-
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/