From patchwork Wed Nov 14 06:26:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 1738641 X-Patchwork-Delegate: lethal@linux-sh.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 4C6F63FE20 for ; Wed, 14 Nov 2012 06:26:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752161Ab2KNG0q (ORCPT ); Wed, 14 Nov 2012 01:26:46 -0500 Received: from mail-pb0-f46.google.com ([209.85.160.46]:41256 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751054Ab2KNG0p (ORCPT ); Wed, 14 Nov 2012 01:26:45 -0500 Received: by mail-pb0-f46.google.com with SMTP id wy7so155317pbc.19 for ; Tue, 13 Nov 2012 22:26:45 -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=ifuHmWrtI3plncSAOCoeDhAiDVBrCqANUlW+VAKLuzQ=; b=OV8TM+FpN2WqOyaIXDZEdXSWYogeEigrcBAyNNcHULVJTg0pLvY4EMe469ROCVZQmO xq6VYdzFoCb5fSAWhxTX/QE+HDfC+gMUO1ZDTJU1Gcpc6gcETq2uh61YxPk5FXE/H5Ax O+81OPWw6fTzAwwdOvEDH8R3EuNNyzBXyqbCyvdeVhmBfYHCfsVxkdlLz6QldZQbH1zb mUPEVZ65dbg+4Zuy5/Q5IUdOjFyrhP2GdvPzqcqdalU6NS0pylKWWYTfrr3kQ/hS2BJJ 5Ugt5uj2/h2193f82wLa0OQC+lsyVCqHX6bUCJqyin9pStRM/RSwt3fkx7FWBb1Tyj+F ET7Q== Received: by 10.66.77.199 with SMTP id u7mr71330510paw.7.1352874405034; Tue, 13 Nov 2012 22:26:45 -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 ou5sm5633629pbb.33.2012.11.13.22.26.43 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 22:26:44 -0800 (PST) From: Nobuhiro Iwamatsu To: linux-sh@vger.kernel.org Cc: lethal@linux-sh.org, Nobuhiro Iwamatsu Subject: [PATCH v2] sh: Wire up finit_module syscall Date: Wed, 14 Nov 2012 15:26:37 +0900 Message-Id: <1352874397-6772-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQlnf4JpveRM6k3XNLFepByo60/qzaO+40YTygjVTfZv6fzXcc/HTmX2x+tEOyNhp7fHZf91 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Signed-off-by: Nobuhiro Iwamatsu --- v2: Fix syncall id in unistd_64.h 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..e6820c8 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 379 -#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