Commit a3d9fcff authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://linux-dj.bkbits.net/agpgart

into home.transmeta.com:/home/torvalds/v2.5/linux
parents 5449586c 4c17e91a
...@@ -297,7 +297,7 @@ config PCI ...@@ -297,7 +297,7 @@ config PCI
config PCI_DOMAINS config PCI_DOMAINS
bool bool
default PCI default y
config ALPHA_CORE_AGP config ALPHA_CORE_AGP
bool bool
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#define LINUX_REBOOT_MAGIC2 672274793 #define LINUX_REBOOT_MAGIC2 672274793
#define LINUX_REBOOT_MAGIC2A 85072278 #define LINUX_REBOOT_MAGIC2A 85072278
#define LINUX_REBOOT_MAGIC2B 369367448 #define LINUX_REBOOT_MAGIC2B 369367448
#define LINUX_REBOOT_MAGIC2C 537993216
/* /*
......
...@@ -392,8 +392,10 @@ asmlinkage long sys_reboot(int magic1, int magic2, unsigned int cmd, void __user ...@@ -392,8 +392,10 @@ asmlinkage long sys_reboot(int magic1, int magic2, unsigned int cmd, void __user
/* For safety, we require "magic" arguments. */ /* For safety, we require "magic" arguments. */
if (magic1 != LINUX_REBOOT_MAGIC1 || if (magic1 != LINUX_REBOOT_MAGIC1 ||
(magic2 != LINUX_REBOOT_MAGIC2 && magic2 != LINUX_REBOOT_MAGIC2A && (magic2 != LINUX_REBOOT_MAGIC2 &&
magic2 != LINUX_REBOOT_MAGIC2B)) magic2 != LINUX_REBOOT_MAGIC2A &&
magic2 != LINUX_REBOOT_MAGIC2B &&
magic2 != LINUX_REBOOT_MAGIC2C))
return -EINVAL; return -EINVAL;
lock_kernel(); lock_kernel();
......
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