Merge to Fedora kernel-2.6.18-1.2255_FC5 patched with stable patch-2.6.18.5-vs2.0...
authorMarc Fiuczynski <mef@cs.princeton.edu>
Tue, 26 Dec 2006 19:29:19 +0000 (19:29 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Tue, 26 Dec 2006 19:29:19 +0000 (19:29 +0000)
14 files changed:
arch/arm/kernel/irq.c
arch/cris/kernel/irq.c
arch/i386/kernel/irq.c
arch/powerpc/kernel/irq.c
arch/s390/kernel/s390_ext.c
arch/sparc/kernel/sun4d_irq.c
arch/um/kernel/irq.c
arch/xtensa/kernel/irq.c
drivers/block/loop.c
drivers/s390/cio/cio.c
fs/super.c
kernel/irq/handle.c
kernel/vserver/limit.c
mm/page_alloc.c

index 2eba150..2e1bf83 100644 (file)
@@ -112,7 +112,6 @@ static struct irq_desc bad_irq_desc = {
 asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs)
 {
        struct irqdesc *desc = irq_desc + irq;
-       struct vx_info_save vxis;
 
        /*
         * Some hardware gives randomly wrong interrupts.  Rather
@@ -122,10 +121,12 @@ asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs)
                desc = &bad_irq_desc;
 
        irq_enter();
+
        desc_handle_irq(irq, desc, regs);
 
        /* AT91 specific workaround */
        irq_finish(irq);
+
        irq_exit();
 }
 
index e43acdf..903ea62 100644 (file)
@@ -92,7 +92,6 @@ skip:
 asmlinkage void do_IRQ(int irq, struct pt_regs * regs)
 {
        unsigned long sp;
-
        irq_enter();
        sp = rdsp();
        if (unlikely((sp & (PAGE_SIZE - 1)) < (PAGE_SIZE/8))) {
index 535312c..5fe547c 100644 (file)
@@ -81,6 +81,7 @@ fastcall unsigned int do_IRQ(struct pt_regs *regs)
                }
        }
 #endif
+
 #ifdef CONFIG_4KSTACKS
 
        curctx = (union irq_ctx *) current_thread_info();
index 34c5104..12c5971 100644 (file)
@@ -244,7 +244,6 @@ void do_IRQ(struct pt_regs *regs)
 
 #ifdef CONFIG_PPC_ISERIES
        if (get_lppaca()->int_dword.fields.decr_int) {
-
                get_lppaca()->int_dword.fields.decr_int = 0;
                /* Signal a fake decrementer interrupt */
                timer_interrupt(regs);
index b0df464..c1b3835 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/errno.h>
 #include <linux/kernel_stat.h>
 #include <linux/interrupt.h>
-#include <linux/vs_context.h>
 
 #include <asm/lowcore.h>
 #include <asm/s390_ext.h>
index 77f51b5..74eed97 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/smp_lock.h>
 #include <linux/spinlock.h>
 #include <linux/seq_file.h>
-#include <linux/vs_context.h>
 
 #include <asm/ptrace.h>
 #include <asm/processor.h>
index c2126ee..1e766ce 100644 (file)
@@ -369,11 +369,10 @@ void forward_interrupts(int pid)
  */
 unsigned int do_IRQ(int irq, union uml_pt_regs *regs)
 {
-       irq_enter();
-
-       __do_IRQ(irq, (struct pt_regs *)regs);
-       irq_exit();
-       return 1;
+       irq_enter();
+       __do_IRQ(irq, (struct pt_regs *)regs);
+       irq_exit();
+       return 1;
 }
 
 int um_request_irq(unsigned int irq, int fd, int type,
index 49ef312..1cf744e 100644 (file)
@@ -63,7 +63,9 @@ unsigned int  do_IRQ(int irq, struct pt_regs *regs)
                               sp - sizeof(struct thread_info));
        }
 #endif
+
        __do_IRQ(irq, regs);
+
        irq_exit();
 
        return 1;
index eebdf1a..c774121 100644 (file)
@@ -72,7 +72,6 @@
 #include <linux/completion.h>
 #include <linux/highmem.h>
 #include <linux/gfp.h>
-#include <linux/vs_context.h>
 
 #include <asm/uaccess.h>
 
index 15874c8..89320c1 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/device.h>
 #include <linux/kernel_stat.h>
 #include <linux/interrupt.h>
-#include <linux/vs_context.h>
 
 #include <asm/cio.h>
 #include <asm/delay.h>
@@ -640,7 +639,6 @@ do_IRQ (struct pt_regs *regs)
                        spin_lock(&sch->lock);
                /* Store interrupt response block to lowcore. */
                if (tsch (tpi_info->schid, irb) == 0 && sch) {
-
                        /* Keep subchannel information word up to date. */
                        memcpy (&sch->schib.scsw, &irb->scsw,
                                sizeof (irb->scsw));
index d3c66fb..a4269d5 100644 (file)
@@ -848,7 +848,7 @@ vfs_kern_mount(struct file_system_type *type, int flags, const char *name, void
 
        sb = mnt->mnt_sb;
        error = -EPERM;
-       if (!capable(CAP_SYS_ADMIN) && !sb->s_bdev &&
+       if (!vx_capable(CAP_SYS_ADMIN, VXC_BINARY_MOUNT) && !sb->s_bdev &&
                (sb->s_magic != PROC_SUPER_MAGIC) &&
                (sb->s_magic != DEVPTS_SUPER_MAGIC))
                goto out_sb;
index c3f765c..48a53f6 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/random.h>
 #include <linux/interrupt.h>
 #include <linux/kernel_stat.h>
-#include <linux/vs_context.h>
 
 #include "internals.h"
 
index 9f27973..e2b15d3 100644 (file)
@@ -47,8 +47,6 @@ const struct vcmd_ctx_rlimit_mask_v0 vlimit_mask = {
                /* minimum */
        0
        ,       /* softlimit */
-       MASK_ENTRY( RLIMIT_RSS          ) |
-       MASK_ENTRY( VLIMIT_ANON         ) |
        0
        ,       /* maximum */
        MASK_ENTRY( RLIMIT_RSS          ) |
@@ -59,8 +57,6 @@ const struct vcmd_ctx_rlimit_mask_v0 vlimit_mask = {
        MASK_ENTRY( RLIMIT_LOCKS        ) |
        MASK_ENTRY( RLIMIT_MSGQUEUE     ) |
 
-       MASK_ENTRY( VLIMIT_NSOCK        ) |
-       MASK_ENTRY( VLIMIT_OPENFD       ) |
        MASK_ENTRY( VLIMIT_ANON         ) |
        MASK_ENTRY( VLIMIT_SHMEM        ) |
        0
index 4cd6faf..90412e9 100644 (file)
@@ -37,7 +37,6 @@
 #include <linux/vmalloc.h>
 #include <linux/mempolicy.h>
 #include <linux/stop_machine.h>
-#include <linux/vs_limit.h>
 
 #include <asm/tlbflush.h>
 #include <asm/div64.h>