Skip to content

Commit

Permalink
[IA64] cleanup in fsys.S
Browse files Browse the repository at this point in the history
beautify coding style for zeroing end of fsyscall_table entries.
Remove misleading __NR_syscall_last and add more comments.
Drop (now unneeded) "guard against failure to increase NR_syscalls"

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Ken Chen authored and Tony Luck committed Feb 28, 2006
1 parent 9fe26a7 commit c8c1635
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions arch/ia64/kernel/fsys.S
Original file line number Diff line number Diff line change
Expand Up @@ -878,8 +878,7 @@ fsyscall_table:
data8 0 // timer_delete
data8 0 // clock_settime
data8 fsys_clock_gettime // clock_gettime
#define __NR_syscall_last 1255

.space 8*(NR_syscalls + 1024 - __NR_syscall_last), 0

.org fsyscall_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
// fill in zeros for the remaining entries
.zero:
.space fsyscall_table + 8*NR_syscalls - .zero, 0

0 comments on commit c8c1635

Please sign in to comment.