From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755761AbbGUQgG (ORCPT ); Tue, 21 Jul 2015 12:36:06 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:42569 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754653AbbGUQgC (ORCPT ); Tue, 21 Jul 2015 12:36:02 -0400 From: Guenter Roeck To: Tony Luck Cc: Fenghua Yu , linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck , Eric B Munson , Andrew Morton Subject: [PATCH -next] ia64: Increase NR_syscalls to match size of syscall table Date: Tue, 21 Jul 2015 09:35:42 -0700 Message-Id: <1437496542-7352-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.1.0 X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 05aa30a22eff ("mm: mlock: add new mlock, munlock, and munlockall system calls") added new system calls, but did not increase the size of the syscall table for the ia64 architecture, resulting in the following build error. arch/ia64/kernel/entry.S: Assembler messages: arch/ia64/kernel/entry.S:1775: Error: attempt to move .org backwards Fixes: 05aa30a22eff ("mm: mlock: add new mlock, munlock, and munlockall system calls") Cc: Eric B Munson Cc: Andrew Morton Signed-off-by: Guenter Roeck --- arch/ia64/include/asm/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h index 95c39b95e97e..db73390568c8 100644 --- a/arch/ia64/include/asm/unistd.h +++ b/arch/ia64/include/asm/unistd.h @@ -11,7 +11,7 @@ -#define NR_syscalls 319 /* length of syscall table */ +#define NR_syscalls 322 /* length of syscall table */ /* * The following defines stop scripts/checksyscalls.sh from complaining about -- 2.1.0