bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ionice kills vanilla 2.6.0-test9 was [Re: [PATCH] cfq + io prioritie


From: Linus Torvalds
Subject: Re: ionice kills vanilla 2.6.0-test9 was [Re: [PATCH] cfq + io priorities (fwd)]
Date: Fri, 21 Nov 2003 15:33:05 -0800 (PST)

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 <asm/page.h>
 #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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]