blob: c038c1991bae4f46a4636b6fa8698c7b4857524f [file] [log] [blame] [edit]
#ifndef ROS_INC_ARCH_SYSCALL_H
#define ROS_INC_ARCH_SYSCALL_H
#define T_SYSCALL 48
#ifndef ROS_KERNEL
#include <ros/arch/syscall64.h>
static inline long __ros_arch_syscall(long _a0, long _a1)
{
#ifdef CONFIG_SYSCALL_TRAP
return __syscall_trap(_a0, _a1);
#else
return __syscall_sysenter(_a0, _a1);
#endif
}
#endif /* ifndef ROS_KERNEL */
#endif /* ROS_INC_ARCH_SYSCALL_H */