This fix should remove __builtin_expect () and replace it with unlikely () in include/asm-alpha/rwsem.h This should be cool since rwsem.h already includes include/linux/compiler.h Files changed : include/asm-alpha/rwsem.h