syscall.S (14a4467a0a5eacb2ebbe3aab1b4e25af3519c76a) syscall.S (575afc4d7f6040d7227dfcdd29cf0538fe644359)
1/*
2 * Linux/PA-RISC Project (http://www.parisc-linux.org/)
3 *
4 * System call entry code / Linux gateway page
5 * Copyright (c) Matthew Wilcox 1999 <willy@infradead.org>
6 * Licensed under the GNU GPL.
7 * thanks to Philipp Rumpf, Mike Shaver and various others
8 * sorry about the wall, puffin..

--- 909 unchanged lines hidden (view full) ---

918 /* Start of lws table. */
919ENTRY(lws_table)
920 LWS_ENTRY(compare_and_swap32) /* 0 - ELF32 Atomic 32bit CAS */
921 LWS_ENTRY(compare_and_swap64) /* 1 - ELF64 Atomic 32bit CAS */
922 LWS_ENTRY(compare_and_swap_2) /* 2 - ELF32 Atomic 64bit CAS */
923END(lws_table)
924 /* End of lws table */
925
1/*
2 * Linux/PA-RISC Project (http://www.parisc-linux.org/)
3 *
4 * System call entry code / Linux gateway page
5 * Copyright (c) Matthew Wilcox 1999 <willy@infradead.org>
6 * Licensed under the GNU GPL.
7 * thanks to Philipp Rumpf, Mike Shaver and various others
8 * sorry about the wall, puffin..

--- 909 unchanged lines hidden (view full) ---

918 /* Start of lws table. */
919ENTRY(lws_table)
920 LWS_ENTRY(compare_and_swap32) /* 0 - ELF32 Atomic 32bit CAS */
921 LWS_ENTRY(compare_and_swap64) /* 1 - ELF64 Atomic 32bit CAS */
922 LWS_ENTRY(compare_and_swap_2) /* 2 - ELF32 Atomic 64bit CAS */
923END(lws_table)
924 /* End of lws table */
925
926#define __SYSCALL(nr, entry, nargs) ASM_ULONG_INSN entry
926 .align 8
927ENTRY(sys_call_table)
928 .export sys_call_table,data
927 .align 8
928ENTRY(sys_call_table)
929 .export sys_call_table,data
929#include "syscall_table.S"
930#ifdef CONFIG_64BIT
931#include <asm/syscall_table_c32.h> /* Compat syscalls */
932#else
933#include <asm/syscall_table_32.h> /* 32-bit native syscalls */
934#endif
930END(sys_call_table)
931
932#ifdef CONFIG_64BIT
933 .align 8
934ENTRY(sys_call_table64)
935END(sys_call_table)
936
937#ifdef CONFIG_64BIT
938 .align 8
939ENTRY(sys_call_table64)
935#define SYSCALL_TABLE_64BIT
936#include "syscall_table.S"
940#include <asm/syscall_table_64.h> /* 64-bit native syscalls */
937END(sys_call_table64)
938#endif
941END(sys_call_table64)
942#endif
943#undef __SYSCALL
939
940 /*
941 All light-weight-syscall atomic operations
942 will use this set of locks
943
944 NOTE: The lws_lock_start symbol must be
945 at least 16-byte aligned for safe use
946 with ldcw.

--- 18 unchanged lines hidden ---
944
945 /*
946 All light-weight-syscall atomic operations
947 will use this set of locks
948
949 NOTE: The lws_lock_start symbol must be
950 at least 16-byte aligned for safe use
951 with ldcw.

--- 18 unchanged lines hidden ---