diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2013-11-05 18:47:38 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2014-03-03 10:15:39 -0500 |
commit | 12469bff001eb27730a669d8dc2090e7fc6ba75e (patch) | |
tree | e3b8df270de46fe3fe8623048fc2e48a8a8aecd9 | |
parent | 7cb6b656924ee4a8e2887160097d0237365e40d1 (diff) |
Add gpusync syscalls to arch syscall tables.
Earlier patches forgot to update the arch-specific syscall
tables. That is done here.
-rw-r--r-- | arch/arm/kernel/calls.S | 10 | ||||
-rw-r--r-- | arch/x86/syscalls/syscall_32.tbl | 6 | ||||
-rw-r--r-- | arch/x86/syscalls/syscall_64.tbl | 6 | ||||
-rw-r--r-- | include/litmus/unistd_32.h | 4 | ||||
-rw-r--r-- | include/litmus/unistd_64.h | 5 |
5 files changed, 27 insertions, 4 deletions
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index 2da776a2e8c4..f829c749740e 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S | |||
@@ -393,14 +393,20 @@ | |||
393 | CALL(sys_get_rt_task_param) | 393 | CALL(sys_get_rt_task_param) |
394 | CALL(sys_complete_job) | 394 | CALL(sys_complete_job) |
395 | CALL(sys_od_open) | 395 | CALL(sys_od_open) |
396 | CALL(sys_od_close) | 396 | CALL(sys_od_close) |
397 | /* 385 */ CALL(sys_litmus_lock) | 397 | /* 385 */ CALL(sys_litmus_lock) |
398 | CALL(sys_litmus_unlock) | 398 | CALL(sys_litmus_unlock) |
399 | CALL(sys_query_job_no) | 399 | CALL(sys_query_job_no) |
400 | CALL(sys_wait_for_job_release) | 400 | CALL(sys_wait_for_job_release) |
401 | CALL(sys_wait_for_ts_release) | 401 | CALL(sys_wait_for_ts_release) |
402 | /* 390 */ CALL(sys_release_ts) | 402 | /* 390 */ CALL(sys_release_ts) |
403 | CALL(sys_null_call) | 403 | CALL(sys_null_call) |
404 | CALL(sys_litmus_dgl_lock) | ||
405 | CALL(sys_litmus_dgl_unlock) | ||
406 | CALL(sys_litmus_should_yield_lock) | ||
407 | /* 395 */ CALL(sys_litmus_dgl_should_yield_lock) | ||
408 | CALL(sys_set_aux_tasks) | ||
409 | CALL(sys_sched_trace_event) | ||
404 | 410 | ||
405 | #ifndef syscalls_counted | 411 | #ifndef syscalls_counted |
406 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls | 412 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls |
diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index ffe39dd74271..1b1adb5ed0d3 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++ b/arch/x86/syscalls/syscall_32.tbl | |||
@@ -370,3 +370,9 @@ | |||
370 | 360 i386 wait_for_ts_release sys_wait_for_ts_release | 370 | 360 i386 wait_for_ts_release sys_wait_for_ts_release |
371 | 361 i386 release_ts sys_release_ts | 371 | 361 i386 release_ts sys_release_ts |
372 | 362 i386 null_call sys_null_call | 372 | 362 i386 null_call sys_null_call |
373 | 363 i386 litmus_dgl_lock sys_litmus_dgl_lock | ||
374 | 364 i386 litmus_dgl_unlock sys_litmus_dgl_unlock | ||
375 | 365 i386 litmus_should_yield_lock sys_litmus_should_yield_lock | ||
376 | 366 i386 litmus_dgl_should_yield_lock sys_litmus_dgl_should_yield_lock | ||
377 | 367 i386 set_aux_tasks sys_set_aux_tasks | ||
378 | 368 i386 sched_trace_event sys_sched_trace_event | ||
diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl index cde714e4d6ef..eaa373a9245e 100644 --- a/arch/x86/syscalls/syscall_64.tbl +++ b/arch/x86/syscalls/syscall_64.tbl | |||
@@ -333,6 +333,12 @@ | |||
333 | 360 common wait_for_ts_release sys_wait_for_ts_release | 333 | 360 common wait_for_ts_release sys_wait_for_ts_release |
334 | 361 common release_ts sys_release_ts | 334 | 361 common release_ts sys_release_ts |
335 | 362 common null_call sys_null_call | 335 | 362 common null_call sys_null_call |
336 | 363 common litmus_dgl_lock sys_litmus_dgl_lock | ||
337 | 364 common litmus_dgl_unlock sys_litmus_dgl_unlock | ||
338 | 365 common litmus_should_yield_lock sys_litmus_should_yield_lock | ||
339 | 366 common litmus_dgl_should_yield_lock sys_litmus_dgl_should_yield_lock | ||
340 | 367 common set_aux_tasks sys_set_aux_tasks | ||
341 | 368 common sched_trace_event sys_sched_trace_event | ||
336 | 342 | ||
337 | # | 343 | # |
338 | # x32-specific system call numbers start at 512 to avoid cache impact | 344 | # x32-specific system call numbers start at 512 to avoid cache impact |
diff --git a/include/litmus/unistd_32.h b/include/litmus/unistd_32.h index 22d36e4c2e1f..52f6020157c0 100644 --- a/include/litmus/unistd_32.h +++ b/include/litmus/unistd_32.h | |||
@@ -25,4 +25,6 @@ | |||
25 | 25 | ||
26 | #define __NR_set_aux_tasks __LSC(16) | 26 | #define __NR_set_aux_tasks __LSC(16) |
27 | 27 | ||
28 | #define NR_litmus_syscalls 17 | 28 | #define __NR_sched_trace_event __LSC(17) |
29 | |||
30 | #define NR_litmus_syscalls 18 | ||
diff --git a/include/litmus/unistd_64.h b/include/litmus/unistd_64.h index 3b7c8967426b..282fe6ec04cb 100644 --- a/include/litmus/unistd_64.h +++ b/include/litmus/unistd_64.h | |||
@@ -42,4 +42,7 @@ __SYSCALL(__NR_litmus_dgl_should_yield_lock, sys_litmus_dgl_should_yield_lock) | |||
42 | #define __NR_set_aux_tasks __LSC(16) | 42 | #define __NR_set_aux_tasks __LSC(16) |
43 | __SYSCALL(__NR_set_aux_tasks, sys_set_aux_tasks) | 43 | __SYSCALL(__NR_set_aux_tasks, sys_set_aux_tasks) |
44 | 44 | ||
45 | #define NR_litmus_syscalls 17 | 45 | #define __NR_sched_trace_event __LSC(17) |
46 | __SYSCALL(__NR_sched_trace_event, sys_sched_trace_event) | ||
47 | |||
48 | #define NR_litmus_syscalls 18 | ||