* [PATCH] sh: Wire up finit_module syscall
@ 2012-11-14 6:01 Nobuhiro Iwamatsu
2012-11-14 6:13 ` Paul Mundt
2012-11-14 6:26 ` Nobuhiro Iwamatsu
0 siblings, 2 replies; 3+ messages in thread
From: Nobuhiro Iwamatsu @ 2012-11-14 6:01 UTC (permalink / raw)
To: linux-sh
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
---
arch/sh/include/uapi/asm/unistd_32.h | 3 ++-
arch/sh/include/uapi/asm/unistd_64.h | 3 ++-
arch/sh/kernel/syscalls_32.S | 1 +
arch/sh/kernel/syscalls_64.S | 1 +
4 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/sh/include/uapi/asm/unistd_32.h b/arch/sh/include/uapi/asm/unistd_32.h
index 9e465f2..d13a1d6 100644
--- a/arch/sh/include/uapi/asm/unistd_32.h
+++ b/arch/sh/include/uapi/asm/unistd_32.h
@@ -379,7 +379,8 @@
#define __NR_process_vm_readv 365
#define __NR_process_vm_writev 366
#define __NR_kcmp 367
+#define __NR_finit_module 368
-#define NR_syscalls 368
+#define NR_syscalls 369
#endif /* __ASM_SH_UNISTD_32_H */
diff --git a/arch/sh/include/uapi/asm/unistd_64.h b/arch/sh/include/uapi/asm/unistd_64.h
index 8e3a2ed..9f1a456 100644
--- a/arch/sh/include/uapi/asm/unistd_64.h
+++ b/arch/sh/include/uapi/asm/unistd_64.h
@@ -399,7 +399,8 @@
#define __NR_process_vm_readv 376
#define __NR_process_vm_writev 377
#define __NR_kcmp 378
+#define __NR_finit_module 368
-#define NR_syscalls 379
+#define NR_syscalls 380
#endif /* __ASM_SH_UNISTD_64_H */
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S
index fe97ae5..734234b 100644
--- a/arch/sh/kernel/syscalls_32.S
+++ b/arch/sh/kernel/syscalls_32.S
@@ -385,3 +385,4 @@ ENTRY(sys_call_table)
.long sys_process_vm_readv /* 365 */
.long sys_process_vm_writev
.long sys_kcmp
+ .long sys_finit_module
diff --git a/arch/sh/kernel/syscalls_64.S b/arch/sh/kernel/syscalls_64.S
index 5c7b1c6..579fcb9 100644
--- a/arch/sh/kernel/syscalls_64.S
+++ b/arch/sh/kernel/syscalls_64.S
@@ -405,3 +405,4 @@ sys_call_table:
.long sys_process_vm_readv
.long sys_process_vm_writev
.long sys_kcmp
+ .long sys_finit_module
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] sh: Wire up finit_module syscall
2012-11-14 6:01 [PATCH] sh: Wire up finit_module syscall Nobuhiro Iwamatsu
@ 2012-11-14 6:13 ` Paul Mundt
2012-11-14 6:26 ` Nobuhiro Iwamatsu
1 sibling, 0 replies; 3+ messages in thread
From: Paul Mundt @ 2012-11-14 6:13 UTC (permalink / raw)
To: linux-sh
On Wed, Nov 14, 2012 at 03:01:40PM +0900, Nobuhiro Iwamatsu wrote:
> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
> ---
> arch/sh/include/uapi/asm/unistd_32.h | 3 ++-
> arch/sh/include/uapi/asm/unistd_64.h | 3 ++-
> arch/sh/kernel/syscalls_32.S | 1 +
> arch/sh/kernel/syscalls_64.S | 1 +
> 4 files changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/arch/sh/include/uapi/asm/unistd_32.h b/arch/sh/include/uapi/asm/unistd_32.h
> index 9e465f2..d13a1d6 100644
> --- a/arch/sh/include/uapi/asm/unistd_32.h
> +++ b/arch/sh/include/uapi/asm/unistd_32.h
> @@ -379,7 +379,8 @@
> #define __NR_process_vm_readv 365
> #define __NR_process_vm_writev 366
> #define __NR_kcmp 367
> +#define __NR_finit_module 368
>
> -#define NR_syscalls 368
> +#define NR_syscalls 369
>
> #endif /* __ASM_SH_UNISTD_32_H */
> diff --git a/arch/sh/include/uapi/asm/unistd_64.h b/arch/sh/include/uapi/asm/unistd_64.h
> index 8e3a2ed..9f1a456 100644
> --- a/arch/sh/include/uapi/asm/unistd_64.h
> +++ b/arch/sh/include/uapi/asm/unistd_64.h
> @@ -399,7 +399,8 @@
> #define __NR_process_vm_readv 376
> #define __NR_process_vm_writev 377
> #define __NR_kcmp 378
> +#define __NR_finit_module 368
>
Copy and paste error, this needs to be 379.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sh: Wire up finit_module syscall
2012-11-14 6:01 [PATCH] sh: Wire up finit_module syscall Nobuhiro Iwamatsu
2012-11-14 6:13 ` Paul Mundt
@ 2012-11-14 6:26 ` Nobuhiro Iwamatsu
1 sibling, 0 replies; 3+ messages in thread
From: Nobuhiro Iwamatsu @ 2012-11-14 6:26 UTC (permalink / raw)
To: linux-sh
On Wed, Nov 14, 2012 at 3:13 PM, Paul Mundt <lethal@linux-sh.org> wrote:
> On Wed, Nov 14, 2012 at 03:01:40PM +0900, Nobuhiro Iwamatsu wrote:
>> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
>> ---
>> arch/sh/include/uapi/asm/unistd_32.h | 3 ++-
>> arch/sh/include/uapi/asm/unistd_64.h | 3 ++-
>> arch/sh/kernel/syscalls_32.S | 1 +
>> arch/sh/kernel/syscalls_64.S | 1 +
>> 4 files changed, 6 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/sh/include/uapi/asm/unistd_32.h b/arch/sh/include/uapi/asm/unistd_32.h
>> index 9e465f2..d13a1d6 100644
>> --- a/arch/sh/include/uapi/asm/unistd_32.h
>> +++ b/arch/sh/include/uapi/asm/unistd_32.h
>> @@ -379,7 +379,8 @@
>> #define __NR_process_vm_readv 365
>> #define __NR_process_vm_writev 366
>> #define __NR_kcmp 367
>> +#define __NR_finit_module 368
>>
>> -#define NR_syscalls 368
>> +#define NR_syscalls 369
>>
>> #endif /* __ASM_SH_UNISTD_32_H */
>> diff --git a/arch/sh/include/uapi/asm/unistd_64.h b/arch/sh/include/uapi/asm/unistd_64.h
>> index 8e3a2ed..9f1a456 100644
>> --- a/arch/sh/include/uapi/asm/unistd_64.h
>> +++ b/arch/sh/include/uapi/asm/unistd_64.h
>> @@ -399,7 +399,8 @@
>> #define __NR_process_vm_readv 376
>> #define __NR_process_vm_writev 377
>> #define __NR_kcmp 378
>> +#define __NR_finit_module 368
>>
> Copy and paste error, this needs to be 379.
Ah, I will fix.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-14 6:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-14 6:01 [PATCH] sh: Wire up finit_module syscall Nobuhiro Iwamatsu
2012-11-14 6:13 ` Paul Mundt
2012-11-14 6:26 ` Nobuhiro Iwamatsu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.