syscall.c (df9b42963f2d010ae3163a894ce22cf6b27cd344) syscall.c (83596729adbca4ff3b0273de22e166c64aea49ec)
1/*
2 * arch/xtensa/kernel/syscall.c
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 *
8 * Copyright (C) 2001 - 2005 Tensilica Inc.

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

29
30typedef void (*syscall_t)(void);
31
32syscall_t sys_call_table[__NR_syscall_count] /* FIXME __cacheline_aligned */= {
33 [0 ... __NR_syscall_count - 1] = (syscall_t)&sys_ni_syscall,
34
35#undef __SYSCALL
36#define __SYSCALL(nr,symbol,nargs) [ nr ] = (syscall_t)symbol,
1/*
2 * arch/xtensa/kernel/syscall.c
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 *
8 * Copyright (C) 2001 - 2005 Tensilica Inc.

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

29
30typedef void (*syscall_t)(void);
31
32syscall_t sys_call_table[__NR_syscall_count] /* FIXME __cacheline_aligned */= {
33 [0 ... __NR_syscall_count - 1] = (syscall_t)&sys_ni_syscall,
34
35#undef __SYSCALL
36#define __SYSCALL(nr,symbol,nargs) [ nr ] = (syscall_t)symbol,
37#undef _XTENSA_UNISTD_H
38#undef __KERNEL_SYSCALLS__
39#include <asm/unistd.h>
40};
41
42asmlinkage long xtensa_shmat(int shmid, char __user *shmaddr, int shmflg)
43{
44 unsigned long ret;
45 long err;

--- 12 unchanged lines hidden ---
37#undef __KERNEL_SYSCALLS__
38#include <asm/unistd.h>
39};
40
41asmlinkage long xtensa_shmat(int shmid, char __user *shmaddr, int shmflg)
42{
43 unsigned long ret;
44 long err;

--- 12 unchanged lines hidden ---