Commit da2ee261 authored by Linus Torvalds's avatar Linus Torvalds

Work around binutils bug.

This caused the system call code to test for the wrong number of
system calls, with resulting exciting results. 
parent 4b4ac64b
......@@ -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 @@ ENTRY(sys_call_table)
.long sys_fadvise64_64
.long sys_ni_syscall /* sys_vserver */
nr_syscalls=(.-sys_call_table)/4
syscall_table_size=(.-sys_call_table)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment