The `volatile' is there so that loops like
oldtime = jiffies;
while ((jiffies - oldtime) < HZ)
;
work. It serves no useful purpose when assigning to the variable, and casting
it away prevents other optimisations from being inhibited.
p.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/