Rusty Russell wrote: > Ramkumar Ramachandra <[email protected]> writes: >> asm and volatile are provided for backward compatibility; use the ansi >> versions __asm__ and __volatile__. > > Really? I don't see that in the gcc documentation. In fact, I didn't > know __volatile__ at all:
Try compiling the program with `gcc -ansi`, and you'll see that "asm" and "volatile" are undeclared. The motivation for my patch comes from barrier() being declared differently in compiler-gcc.h. However, the tree is polluted with the non-ansi versions anyway; compilers will continue to support them for decades. So, I'd request you to drop the patch. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

