ipipe: Make ipipe_root_nr_syscalls independent of CONFIG_IPIPE
PATCH 1/1 ipipe: Make ipipe_root_nr_syscalls independent of CONFIG_IPIPE
From: Jan Kiszka <[email protected]>
Needed on x86 at least when CONFIG_IPIPE is off.
Signed-off-by Jan Kiszka <[email protected]>
--- include/linux/ipipe.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
include/linux/ipipe.h +4 -4
@@ -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 */
Signature · 1 line
2.16.4
Philippe Gerum
AppliedQuoted 26 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Needed on x86 at least when
CONFIG_IPIPEis off.Signed-off-by Jan Kiszka <[email protected]>--- include/linux/ipipe.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)include/linux/ipipe.h +0
-4@@ -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;
include/linux/ipipe.h static inline void __ipipe_pin_mapping_globally(unsigned long start, · line 721
Quoted 8 lines
include/linux/ipipe.h +4
-0@@ -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 */
Merged, thanks.
Signature · 1 line
Philippe.