Change all references of num_cpus -> num_cores
[akaros.git] / kern / arch / x86 / ros / syscall.h
1 #ifndef ROS_INC_ARCH_SYSCALL_H
2 #define ROS_INC_ARCH_SYSCALL_H
3
4 #define T_SYSCALL       48
5
6 #ifndef ROS_KERNEL
7
8 #include <ros/arch/syscall64.h>
9
10 static inline long __ros_arch_syscall(long _a0, long _a1)
11 {
12         #ifdef CONFIG_SYSCALL_TRAP
13                 return __syscall_trap(_a0, _a1);
14         #else
15                 return __syscall_sysenter(_a0, _a1);
16         #endif
17 }
18
19 #endif /* ifndef ROS_KERNEL */
20
21 #endif /* ROS_INC_ARCH_SYSCALL_H */