Commit 57d3eae4 authored by David S. Miller's avatar David S. Miller

[SPARC]: Include linux/linkage.h in asm/unistd.h

parent 2c4dcfb7
...@@ -453,6 +453,8 @@ static __inline__ _syscall1(int,close,int,fd) ...@@ -453,6 +453,8 @@ static __inline__ _syscall1(int,close,int,fd)
static __inline__ _syscall1(int,_exit,int,exitcode) static __inline__ _syscall1(int,_exit,int,exitcode)
static __inline__ _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) static __inline__ _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
#include <linux/linkage.h>
asmlinkage unsigned long sys_mmap( asmlinkage unsigned long sys_mmap(
unsigned long addr, unsigned long len, unsigned long addr, unsigned long len,
unsigned long prot, unsigned long flags, unsigned long prot, unsigned long flags,
......
...@@ -443,6 +443,8 @@ static __inline__ _syscall1(int,close,int,fd) ...@@ -443,6 +443,8 @@ static __inline__ _syscall1(int,close,int,fd)
static __inline__ _syscall1(int,_exit,int,exitcode) static __inline__ _syscall1(int,_exit,int,exitcode)
static __inline__ _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) static __inline__ _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
#include <linux/linkage.h>
asmlinkage unsigned long sys_mmap( asmlinkage unsigned long sys_mmap(
unsigned long addr, unsigned long len, unsigned long addr, unsigned long len,
unsigned long prot, unsigned long flags, unsigned long prot, unsigned long flags,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment