Skip to content

Commit

Permalink
[PATCH] more kernel_execve() fallout (sbus)
Browse files Browse the repository at this point in the history
drivers/sbus/char stuff using kernel_execve() needs linux/syscalls.h
now; includes trimmed, while we are at it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 12, 2006
1 parent 734c4c6 commit 1baaf0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions drivers/sbus/char/bbc_envctrl.c
Expand Up @@ -4,10 +4,8 @@
* Copyright (C) 2001 David S. Miller (davem@redhat.com)
*/

#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/syscalls.h>
#include <linux/delay.h>
#include <asm/oplib.h>
#include <asm/ebus.h>
Expand Down
8 changes: 2 additions & 6 deletions drivers/sbus/char/envctrl.c
Expand Up @@ -20,16 +20,12 @@
*/

#include <linux/module.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/kthread.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/syscalls.h>

#include <asm/ebus.h>
#include <asm/uaccess.h>
Expand Down

0 comments on commit 1baaf0b

Please sign in to comment.