diff options
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/kernel/osf_sys.c | 4 | ||||
-rw-r--r-- | arch/alpha/kernel/pci.c | 6 | ||||
-rw-r--r-- | arch/alpha/kernel/process.c | 6 | ||||
-rw-r--r-- | arch/alpha/kernel/smp.c | 1 | ||||
-rw-r--r-- | arch/alpha/kernel/srmcons.c | 1 |
5 files changed, 9 insertions, 9 deletions
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index f1daf7ae42e9..63e77e3944ce 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c | |||
@@ -275,8 +275,8 @@ linux_to_osf_stat(struct kstat *lstat, struct osf_stat __user *osf_stat) | |||
275 | tmp.st_dev = lstat->dev; | 275 | tmp.st_dev = lstat->dev; |
276 | tmp.st_mode = lstat->mode; | 276 | tmp.st_mode = lstat->mode; |
277 | tmp.st_nlink = lstat->nlink; | 277 | tmp.st_nlink = lstat->nlink; |
278 | tmp.st_uid = lstat->uid; | 278 | tmp.st_uid = from_kuid_munged(current_user_ns(), lstat->uid); |
279 | tmp.st_gid = lstat->gid; | 279 | tmp.st_gid = from_kgid_munged(current_user_ns(), lstat->gid); |
280 | tmp.st_rdev = lstat->rdev; | 280 | tmp.st_rdev = lstat->rdev; |
281 | tmp.st_ldev = lstat->rdev; | 281 | tmp.st_ldev = lstat->rdev; |
282 | tmp.st_size = lstat->size; | 282 | tmp.st_size = lstat->size; |
diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c index 9816d5a4d176..ef757147cbf9 100644 --- a/arch/alpha/kernel/pci.c +++ b/arch/alpha/kernel/pci.c | |||
@@ -256,12 +256,6 @@ pcibios_fixup_bus(struct pci_bus *bus) | |||
256 | } | 256 | } |
257 | } | 257 | } |
258 | 258 | ||
259 | void __init | ||
260 | pcibios_update_irq(struct pci_dev *dev, int irq) | ||
261 | { | ||
262 | pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq); | ||
263 | } | ||
264 | |||
265 | int | 259 | int |
266 | pcibios_enable_device(struct pci_dev *dev, int mask) | 260 | pcibios_enable_device(struct pci_dev *dev, int mask) |
267 | { | 261 | { |
diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c index d6fde98b74b3..83638aa096d5 100644 --- a/arch/alpha/kernel/process.c +++ b/arch/alpha/kernel/process.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <linux/tty.h> | 28 | #include <linux/tty.h> |
29 | #include <linux/console.h> | 29 | #include <linux/console.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | #include <linux/rcupdate.h> | ||
31 | 32 | ||
32 | #include <asm/reg.h> | 33 | #include <asm/reg.h> |
33 | #include <asm/uaccess.h> | 34 | #include <asm/uaccess.h> |
@@ -54,9 +55,12 @@ cpu_idle(void) | |||
54 | /* FIXME -- EV6 and LCA45 know how to power down | 55 | /* FIXME -- EV6 and LCA45 know how to power down |
55 | the CPU. */ | 56 | the CPU. */ |
56 | 57 | ||
58 | rcu_idle_enter(); | ||
57 | while (!need_resched()) | 59 | while (!need_resched()) |
58 | cpu_relax(); | 60 | cpu_relax(); |
59 | schedule(); | 61 | |
62 | rcu_idle_exit(); | ||
63 | schedule_preempt_disabled(); | ||
60 | } | 64 | } |
61 | } | 65 | } |
62 | 66 | ||
diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index 35ddc02bfa4a..a41ad90a97a6 100644 --- a/arch/alpha/kernel/smp.c +++ b/arch/alpha/kernel/smp.c | |||
@@ -166,6 +166,7 @@ smp_callin(void) | |||
166 | DBGS(("smp_callin: commencing CPU %d current %p active_mm %p\n", | 166 | DBGS(("smp_callin: commencing CPU %d current %p active_mm %p\n", |
167 | cpuid, current, current->active_mm)); | 167 | cpuid, current, current->active_mm)); |
168 | 168 | ||
169 | preempt_disable(); | ||
169 | /* Do nothing. */ | 170 | /* Do nothing. */ |
170 | cpu_idle(); | 171 | cpu_idle(); |
171 | } | 172 | } |
diff --git a/arch/alpha/kernel/srmcons.c b/arch/alpha/kernel/srmcons.c index 3ea809430eda..5d5865204a1d 100644 --- a/arch/alpha/kernel/srmcons.c +++ b/arch/alpha/kernel/srmcons.c | |||
@@ -223,6 +223,7 @@ srmcons_init(void) | |||
223 | driver->subtype = SYSTEM_TYPE_SYSCONS; | 223 | driver->subtype = SYSTEM_TYPE_SYSCONS; |
224 | driver->init_termios = tty_std_termios; | 224 | driver->init_termios = tty_std_termios; |
225 | tty_set_operations(driver, &srmcons_ops); | 225 | tty_set_operations(driver, &srmcons_ops); |
226 | tty_port_link_device(&srmcons_singleton.port, driver, 0); | ||
226 | err = tty_register_driver(driver); | 227 | err = tty_register_driver(driver); |
227 | if (err) { | 228 | if (err) { |
228 | put_tty_driver(driver); | 229 | put_tty_driver(driver); |