Message ID | 20090610210923.2323202f@lappy.seanm.ca (mailing list archive) |
---|---|
State | Accepted, archived |
Commit | 79290e4b692af8a76273bab38e41a3a385dedc7b |
Delegated to: | Benjamin Herrenschmidt |
Headers | show |
On Wed, 2009-06-10 at 21:09 -0400, Sean MacLennan wrote: > I was expecting an rc9 and another week. Probably others where caught > off guard. Patch below. > Note that this simple patch qualifies as a bug fix in my book and thus is less constrainted. I would happily have merged it in -rc4 :-) Cheers, Ben.
diff --git a/arch/powerpc/platforms/44x/warp.c b/arch/powerpc/platforms/44x/warp.c index 21ff868..7f3c1c7 100644 --- a/arch/powerpc/platforms/44x/warp.c +++ b/arch/powerpc/platforms/44x/warp.c @@ -43,7 +43,13 @@ static int __init warp_probe(void) { unsigned long root = of_get_flat_dt_root(); - return of_flat_dt_is_compatible(root, "pika,warp"); + if (!of_flat_dt_is_compatible(root, "pika,warp")) + return 0; + + /* For __dma_alloc_coherent */ + ISA_DMA_THRESHOLD = ~0L; + + return 1; } define_machine(warp) {