The proposed patch seems to duplicate the functionality in<asm/syscall.h>. Those macros also try to do the right thing in thepresence of compat. -hpa