diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-26 09:30:40 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-26 09:30:40 -0400 |
commit | 1503af661947b7a4a09355cc2ae6aa0d43f16776 (patch) | |
tree | 5bfcfadf2dd2d98c2ad251c96d7ee43a6903819a /arch/xtensa | |
parent | a31863168660c6b6f6c7ffe05bb6a38e97803326 (diff) | |
parent | 024e8ac04453b3525448c31ef39848cf675ba6db (diff) |
Merge branch 'linus' into x86/header-guards
Conflicts:
include/asm-x86/gpio.h
include/asm-x86/ide.h
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/Kconfig | 4 | ||||
-rw-r--r-- | arch/xtensa/kernel/setup.c | 1 | ||||
-rw-r--r-- | arch/xtensa/kernel/syscall.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 9fc8551a1cf6..02e417d3d8e9 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig | |||
@@ -194,8 +194,8 @@ config HOTPLUG | |||
194 | plugged into slots found on all modern laptop computers. Another | 194 | plugged into slots found on all modern laptop computers. Another |
195 | example, used on modern desktops as well as laptops, is USB. | 195 | example, used on modern desktops as well as laptops, is USB. |
196 | 196 | ||
197 | Enable HOTPLUG and KMOD, and build a modular kernel. Get agent | 197 | Enable HOTPLUG and build a modular kernel. Get agent software |
198 | software (at <http://linux-hotplug.sourceforge.net/>) and install it. | 198 | (from <http://linux-hotplug.sourceforge.net/>) and install it. |
199 | Then your kernel will automatically call out to a user mode "policy | 199 | Then your kernel will automatically call out to a user mode "policy |
200 | agent" (/sbin/hotplug) to load modules and set up software needed | 200 | agent" (/sbin/hotplug) to load modules and set up software needed |
201 | to use devices as you hotplug them. | 201 | to use devices as you hotplug them. |
diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c index 5e6d75c9f92b..a00359e8f7a8 100644 --- a/arch/xtensa/kernel/setup.c +++ b/arch/xtensa/kernel/setup.c | |||
@@ -16,6 +16,7 @@ | |||
16 | 16 | ||
17 | #include <linux/errno.h> | 17 | #include <linux/errno.h> |
18 | #include <linux/init.h> | 18 | #include <linux/init.h> |
19 | #include <linux/mm.h> | ||
19 | #include <linux/proc_fs.h> | 20 | #include <linux/proc_fs.h> |
20 | #include <linux/screen_info.h> | 21 | #include <linux/screen_info.h> |
21 | #include <linux/bootmem.h> | 22 | #include <linux/bootmem.h> |
diff --git a/arch/xtensa/kernel/syscall.c b/arch/xtensa/kernel/syscall.c index f3e16efcd47a..ac15ecbdf919 100644 --- a/arch/xtensa/kernel/syscall.c +++ b/arch/xtensa/kernel/syscall.c | |||
@@ -49,7 +49,7 @@ asmlinkage long xtensa_pipe(int __user *userfds) | |||
49 | int fd[2]; | 49 | int fd[2]; |
50 | int error; | 50 | int error; |
51 | 51 | ||
52 | error = do_pipe(fd); | 52 | error = do_pipe_flags(fd, 0); |
53 | if (!error) { | 53 | if (!error) { |
54 | if (copy_to_user(userfds, fd, 2 * sizeof(int))) | 54 | if (copy_to_user(userfds, fd, 2 * sizeof(int))) |
55 | error = -EFAULT; | 55 | error = -EFAULT; |