Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
1bc94226
Commit
1bc94226
authored
Jul 26, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch spu_create(2) to use of SYSCALL_DEFINE4, make it use umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
df0a4283
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
arch/powerpc/platforms/cell/spu_syscalls.c
arch/powerpc/platforms/cell/spu_syscalls.c
+2
-2
include/linux/syscalls.h
include/linux/syscalls.h
+1
-1
No files found.
arch/powerpc/platforms/cell/spu_syscalls.c
View file @
1bc94226
...
@@ -65,8 +65,8 @@ static inline void spufs_calls_put(struct spufs_calls *calls) { }
...
@@ -65,8 +65,8 @@ static inline void spufs_calls_put(struct spufs_calls *calls) { }
#endif
/* CONFIG_SPU_FS_MODULE */
#endif
/* CONFIG_SPU_FS_MODULE */
asmlinkage
long
sys_spu_create
(
const
char
__user
*
name
,
SYSCALL_DEFINE4
(
spu_create
,
const
char
__user
*
,
name
,
unsigned
int
,
flags
,
unsigned
int
flags
,
mode_t
mode
,
int
neighbor_fd
)
umode_t
,
mode
,
int
,
neighbor_fd
)
{
{
long
ret
;
long
ret
;
struct
file
*
neighbor
;
struct
file
*
neighbor
;
...
...
include/linux/syscalls.h
View file @
1bc94226
...
@@ -753,7 +753,7 @@ asmlinkage long sys_inotify_rm_watch(int fd, __s32 wd);
...
@@ -753,7 +753,7 @@ asmlinkage long sys_inotify_rm_watch(int fd, __s32 wd);
asmlinkage
long
sys_spu_run
(
int
fd
,
__u32
__user
*
unpc
,
asmlinkage
long
sys_spu_run
(
int
fd
,
__u32
__user
*
unpc
,
__u32
__user
*
ustatus
);
__u32
__user
*
ustatus
);
asmlinkage
long
sys_spu_create
(
const
char
__user
*
name
,
asmlinkage
long
sys_spu_create
(
const
char
__user
*
name
,
unsigned
int
flags
,
mode_t
mode
,
int
fd
);
unsigned
int
flags
,
u
mode_t
mode
,
int
fd
);
asmlinkage
long
sys_mknodat
(
int
dfd
,
const
char
__user
*
filename
,
umode_t
mode
,
asmlinkage
long
sys_mknodat
(
int
dfd
,
const
char
__user
*
filename
,
umode_t
mode
,
unsigned
dev
);
unsigned
dev
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment