Commit d3220953 authored by Jan Kiszka's avatar Jan Kiszka Committed by Philippe Gerum

ipipe: Make ipipe_root_nr_syscalls independent of CONFIG_IPIPE

Needed on x86 at least when CONFIG_IPIPE is off.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent b3529d4f
......@@ -204,10 +204,6 @@ int __ipipe_notify_user_intreturn(void);
#define __ipipe_serial_debug(__fmt, __args...) raw_printk(__fmt, ##__args)
#ifndef ipipe_root_nr_syscalls
#define ipipe_root_nr_syscalls(ti) NR_syscalls
#endif
struct ipipe_trap_data {
int exception;
struct pt_regs *regs;
......@@ -718,4 +714,8 @@ static inline void __ipipe_pin_mapping_globally(unsigned long start,
{ }
#endif
#ifndef ipipe_root_nr_syscalls
#define ipipe_root_nr_syscalls(ti) NR_syscalls
#endif
#endif /* !__LINUX_IPIPE_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment