Hi Linus, The attached patch fixes the compilation problems Andrew Morton has been seeing with the rw-semaphores in the kernel when using gcc 2.95.3 with -O1. David