diff options
Diffstat (limited to 'arch/x86/ia32/ipc32.c')
-rw-r--r-- | arch/x86/ia32/ipc32.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/ia32/ipc32.c b/arch/x86/ia32/ipc32.c index 29cdcd02ead..accd6b42bd2 100644 --- a/arch/x86/ia32/ipc32.c +++ b/arch/x86/ia32/ipc32.c @@ -8,8 +8,11 @@ #include <linux/shm.h> #include <linux/ipc.h> #include <linux/compat.h> +#include <trace/ipc.h> #include <asm/sys_ia32.h> +DEFINE_TRACE(ipc_call); + asmlinkage long sys32_ipc(u32 call, int first, int second, int third, compat_uptr_t ptr, u32 fifth) { @@ -18,6 +21,8 @@ asmlinkage long sys32_ipc(u32 call, int first, int second, int third, version = call >> 16; /* hack for backward compatibility */ call &= 0xffff; + trace_ipc_call(call, first); + switch (call) { case SEMOP: /* struct sembuf is the same on 32 and 64bit :)) */ |