Re: question on memory barrier

From: Maciej W. Rozycki
Date: Thu Aug 25 2005 - 05:33:16 EST


On Wed, 24 Aug 2005, Andy Isaacson wrote:

> You might benefit by running your source code through gcc -E and seeing
> what the writel() expands to. (I do something like "rm drivers/mydev.o;
> make V=1" and then copy-n-paste the gcc line, replacing the "-c -o mydev.o"
> options with -E.)

Well, `make drivers/mydev.i' does the same and is simpler. ;-)

Maciej
-
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/