aboutsummaryrefslogtreecommitdiffstats
path: root/arch/score/kernel/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-06-19 05:31:54 -0400
committerArnd Bergmann <arnd@arndb.de>2009-06-19 08:10:33 -0400
commitf673c032ed13ed8f3fda5922c2190da2892398bc (patch)
tree8e1145ed21188c77ffdfacba2b22a529c8ddb938 /arch/score/kernel/Makefile
parent78229db4c4f78f27ecf772fe7489a70530ba9862 (diff)
score: add generic sys_call_table
This adds back a sys_call_table to the score architecture, which got lost in the conversion to the generic unistd.h file. It's rather worrying that the code got submitted without a system call table, which evidently means that it got zero testing. Since the system call table has a different layout from the old one (which was modeled after the mips-o32 one), I also try to fix the entry.S path to use it. In the modified calling conventions, all system call arguments are passed as registers r4 through r9, instead of r4 through r7 plus stack for the fifth and sixth argument. This matches what other architectures to when they normally pass arguments on the stack. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/score/kernel/Makefile')
-rw-r--r--arch/score/kernel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/score/kernel/Makefile b/arch/score/kernel/Makefile
index 1e5de89d5c73..f218673b5d3d 100644
--- a/arch/score/kernel/Makefile
+++ b/arch/score/kernel/Makefile
@@ -5,6 +5,7 @@
5extra-y := head.o vmlinux.lds 5extra-y := head.o vmlinux.lds
6 6
7obj-y += entry.o init_task.o irq.o process.o ptrace.o \ 7obj-y += entry.o init_task.o irq.o process.o ptrace.o \
8 setup.o signal.o sys_score.o time.o traps.o 8 setup.o signal.o sys_score.o time.o traps.o \
9 sys_call_table.o
9 10
10obj-$(CONFIG_MODULES) += module.o 11obj-$(CONFIG_MODULES) += module.o