From patchwork Wed Nov 14 06:01:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 1738271 X-Patchwork-Delegate: lethal@linux-sh.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 47260DFE80 for ; Wed, 14 Nov 2012 06:01:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756301Ab2KNGBw (ORCPT ); Wed, 14 Nov 2012 01:01:52 -0500 Received: from mail-da0-f46.google.com ([209.85.210.46]:49688 "EHLO mail-da0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756304Ab2KNGBu (ORCPT ); Wed, 14 Nov 2012 01:01:50 -0500 Received: by mail-da0-f46.google.com with SMTP id n41so43888dak.19 for ; Tue, 13 Nov 2012 22:01:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=OzNgLmBOLfUOQwq8deuM/c+RG21WuhJ8FrkNQdP1lxk=; b=U+HFTNOaBZUvvCAtU4pG6UYVOiY1cWm96FNnrLqE7b8rPE5FEtMA8vSzGTGgekeIFn 3ZtCzVG+RrxJsA0GFnmgCajjO6CFYQWrkGHVGKpxHOulskVH8x6g7NyRVjaCww5GXblw GEwtgDE1xfkU0XgtRjQ0KPNf5UqI+L+XHjZZsFdgVt/ZEESvX0iWlBsHZAVHW9eXLlEY kv6ZaFYM5s/U5c2YeSe32oW+Dt/JOlEsYOxhmI/b8gCBcHYYxLyFQvKGyvMW7wbg6/kJ S0652mWcSgyUA5TjREKEzEaXKv287aFaPtrm8ALXyGkNmTLQb/6kahIutfgvPJonVnwM fJ9Q== Received: by 10.66.87.226 with SMTP id bb2mr1165550pab.57.1352872910144; Tue, 13 Nov 2012 22:01:50 -0800 (PST) Received: from xps-iwamatsu.renesas.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPS id j4sm7360421pax.31.2012.11.13.22.01.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 22:01:49 -0800 (PST) From: Nobuhiro Iwamatsu To: linux-sh@vger.kernel.org Cc: lethal@linux-sh.org, Nobuhiro Iwamatsu Subject: [PATCH] sh: Wire up finit_module syscall Date: Wed, 14 Nov 2012 15:01:40 +0900 Message-Id: <1352872900-25112-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQlzcaM+S4YxgircUP9uX509WPYqqMJ0wJxvL0wAMRRaWbOpapgJRSzBNisstjpcyvqbTh/b Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Signed-off-by: Nobuhiro Iwamatsu --- 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