ARC: syscall for userspace cmpxchg assist
[linux-2.6-block.git] / arch / arc / include / asm / syscalls.h
CommitLineData
4adeefe1
VG
1/*
2 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#ifndef _ASM_ARC_SYSCALLS_H
10#define _ASM_ARC_SYSCALLS_H 1
11
4adeefe1
VG
12#include <linux/compiler.h>
13#include <linux/linkage.h>
14#include <linux/types.h>
15
16int sys_clone_wrapper(int, int, int, int, int);
4adeefe1
VG
17int sys_cacheflush(uint32_t, uint32_t uint32_t);
18int sys_arc_settls(void *);
19int sys_arc_gettls(void);
91e040a7 20int sys_arc_usr_cmpxchg(int *, int, int);
4adeefe1
VG
21
22#include <asm-generic/syscalls.h>
23
4adeefe1 24#endif