Re: [PATCH] "volatile considered harmful", take 2

From: H. Peter Anvin
Date: Thu May 10 2007 - 17:46:18 EST


Jan Engelhardt wrote:
> On May 10 2007 14:20, Jonathan Corbet wrote:
>> Who knew a documentation patch would get so many reviews? I like it...
>
> And the next thing is register-considered-harmful.txt. Running
>
> grep -Pr '\bregister\s+(unsigned|char|short|int|long|float|
> double|struct|union|uint|u\d+|s\d+)\b' linux-2.6.21/ | wc -l
>
> turns up no less than 1106+2 hits.

You forgot to exclude instances with "asm" in them.

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