[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1216596106.3679.98.camel@jaswinder.satnam>
Date: Mon, 21 Jul 2008 04:51:46 +0530
From: Jaswinder Singh <jaswinder@...radead.org>
To: LKML <linux-kernel@...r.kernel.org>,
kernelnewbies <kernelnewbies@...linux.org>,
David Woodhouse <dwmw2@...radead.org>, cooloney@...nel.org
Subject: [PATCH 5/22] blackfin: Introducing asm/syscalls.h
Declaring arch-dependent syscalls for blackfin architecture
Signed-off-by: Jaswinder Singh <jaswinder@...radead.org>
---
arch/blackfin/kernel/process.c | 1 +
include/asm-blackfin/syscalls.h | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c
index 53c2cd2..6ca088c 100644
--- a/arch/blackfin/kernel/process.c
+++ b/arch/blackfin/kernel/process.c
@@ -36,6 +36,7 @@
#include <linux/tick.h>
#include <linux/fs.h>
#include <linux/err.h>
+#include <linux/syscalls.h>
#include <asm/blackfin.h>
#include <asm/fixed_code.h>
diff --git a/include/asm-blackfin/syscalls.h b/include/asm-blackfin/syscalls.h
index e69de29..73927f5 100644
--- a/include/asm-blackfin/syscalls.h
+++ b/include/asm-blackfin/syscalls.h
@@ -0,0 +1,29 @@
+/*
+ * syscalls.h - Linux syscall interfaces (arch-specific)
+ *
+ * Copyright (c) 2008 Jaswinder Singh
+ *
+ * This file is released under the GPLv2.
+ * See the file COPYING for more details.
+ *
+ * Please do not call me directly, include linux/syscalls.h
+ */
+
+#ifndef _ASM_BLACKFIN_SYSCALLS_H
+#define _ASM_BLACKFIN_SYSCALLS_H
+
+/* kernel/process.c */
+asmlinkage int sys_execve(char __user *, char __user * __user *,
+ char __user * __user *);
+
+/* kernel/signal.c */
+asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *);
+
+/* kernel/sys_bfin.c */
+asmlinkage long sys_mmap2(unsigned long, unsigned long, unsigned long,
+ unsigned long, unsigned long, unsigned long);
+asmlinkage void *sys_sram_alloc(size_t, unsigned long);
+asmlinkage int sys_sram_free(const void *);
+asmlinkage void *sys_dma_memcpy(void *, const void *, size_t);
+
+#endif /* _ASM_BLACKFIN_SYSCALLS_H */
--
1.5.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists