Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261754AbTKUXdQ (ORCPT ); Fri, 21 Nov 2003 18:33:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261755AbTKUXdQ (ORCPT ); Fri, 21 Nov 2003 18:33:16 -0500 Received: from fw.osdl.org ([65.172.181.6]:5573 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261754AbTKUXdO (ORCPT ); Fri, 21 Nov 2003 18:33:14 -0500 Date: Fri, 21 Nov 2003 15:33:05 -0800 (PST) From: Linus Torvalds To: Pavel Machek cc: Jens Axboe , Linux Kernel , Subject: Re: ionice kills vanilla 2.6.0-test9 was [Re: [PATCH] cfq + io priorities (fwd)] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1025 Lines: 36 On Fri, 21 Nov 2003, Linus Torvalds wrote: > > So it definitely _does_ work in some versions, and the bug appears to be > new to binutils 2.14, with 2.13 doing the right thing. It looks like we can work around it with this silly syntactic sugar.. Does this work for you? Linus --- ===== arch/i386/kernel/entry.S 1.69 vs edited ===== --- 1.69/arch/i386/kernel/entry.S Wed Oct 1 06:53:17 2003 +++ edited/arch/i386/kernel/entry.S Fri Nov 21 15:32:00 2003 @@ -49,6 +49,8 @@ #include #include "irq_vectors.h" +#define nr_syscalls ((syscall_table_size)/4) + EBX = 0x00 ECX = 0x04 EDX = 0x08 @@ -881,4 +883,4 @@ .long sys_fadvise64_64 .long sys_ni_syscall /* sys_vserver */ -nr_syscalls=(.-sys_call_table)/4 +syscall_table_size=(.-sys_call_table) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/