#include #define __KERNEL__ #undef asmlinkage #define asmlinkage #include int semget (key_t key, int nsems, int semflg) { return __ipc (SEMGET, key, nsems, semflg, NULL); }