summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-28 06:30:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-28 06:30:09 +0000
commit483bab0868b4286248a3f8ff6ea817fdeb993356 (patch)
treef13f8e29049f9984511fad4bb512d31cb60ba167 /main
parent97b7a291ec4a4ab36fe3efa39d50a304f83661d4 (diff)
downloadaports-483bab0868b4286248a3f8ff6ea817fdeb993356.tar.bz2
aports-483bab0868b4286248a3f8ff6ea817fdeb993356.tar.xz
main/linux-grsec: upgrade to grsecurity-2.2.2-2.6.38.1-201103262052
Diffstat (limited to 'main')
-rw-r--r--main/linux-grsec/APKBUILD6
-rw-r--r--main/linux-grsec/grsecurity-2.2.2-2.6.38.1-201103262052.patch (renamed from main/linux-grsec/grsec-2.2.1-2.6.38.1-test2.patch)4938
2 files changed, 2564 insertions, 2380 deletions
diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD
index ee59927f5..94c17a7d4 100644
--- a/main/linux-grsec/APKBUILD
+++ b/main/linux-grsec/APKBUILD
@@ -4,7 +4,7 @@ _flavor=grsec
pkgname=linux-${_flavor}
pkgver=2.6.38.1
_kernver=2.6.38
-pkgrel=1
+pkgrel=2
pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net
depends="mkinitfs linux-firmware"
@@ -14,7 +14,7 @@ _config=${config:-kernelconfig.${CARCH}}
install=
source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2
- grsec-2.2.1-2.6.38.1-test2.patch
+ grsecurity-2.2.2-2.6.38.1-201103262052.patch
0004-arp-flush-arp-cache-on-device-change.patch
@@ -137,7 +137,7 @@ dev() {
md5sums="7d471477bfa67546f902da62227fa976 linux-2.6.38.tar.bz2
bd2be4d0465345e4e9355d6773f5f6fe patch-2.6.38.1.bz2
-684cd563504e2fc24de28eccb333d2c9 grsec-2.2.1-2.6.38.1-test2.patch
+3281e9829a63e138af37d69da2628f71 grsecurity-2.2.2-2.6.38.1-201103262052.patch
776adeeb5272093574f8836c5037dd7d 0004-arp-flush-arp-cache-on-device-change.patch
697e8f0b6569195f9f43f40f30bedf07 kernelconfig.x86
015190bc0022b1f9aad42a7cc2d5625a kernelconfig.x86_64"
diff --git a/main/linux-grsec/grsec-2.2.1-2.6.38.1-test2.patch b/main/linux-grsec/grsecurity-2.2.2-2.6.38.1-201103262052.patch
index 45ae5b001..a4d647db4 100644
--- a/main/linux-grsec/grsec-2.2.1-2.6.38.1-test2.patch
+++ b/main/linux-grsec/grsecurity-2.2.2-2.6.38.1-201103262052.patch
@@ -1,6 +1,6 @@
-diff -urNp linux-2.6.38.1/arch/alpha/include/asm/dma-mapping.h linux-2.6.38.1-new/arch/alpha/include/asm/dma-mapping.h
+diff -urNp linux-2.6.38.1/arch/alpha/include/asm/dma-mapping.h linux-2.6.38.1/arch/alpha/include/asm/dma-mapping.h
--- linux-2.6.38.1/arch/alpha/include/asm/dma-mapping.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/alpha/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/alpha/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
@@ -3,9 +3,9 @@
#include <linux/dma-attrs.h>
@@ -13,9 +13,9 @@ diff -urNp linux-2.6.38.1/arch/alpha/include/asm/dma-mapping.h linux-2.6.38.1-ne
{
return dma_ops;
}
-diff -urNp linux-2.6.38.1/arch/alpha/include/asm/elf.h linux-2.6.38.1-new/arch/alpha/include/asm/elf.h
+diff -urNp linux-2.6.38.1/arch/alpha/include/asm/elf.h linux-2.6.38.1/arch/alpha/include/asm/elf.h
--- linux-2.6.38.1/arch/alpha/include/asm/elf.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/alpha/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/alpha/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
@@ -90,6 +90,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N
#define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x1000000)
@@ -30,9 +30,9 @@ diff -urNp linux-2.6.38.1/arch/alpha/include/asm/elf.h linux-2.6.38.1-new/arch/a
/* $0 is set by ld.so to a pointer to a function which might be
registered using atexit. This provides a mean for the dynamic
linker to call DT_FINI functions for shared libraries that have
-diff -urNp linux-2.6.38.1/arch/alpha/include/asm/pgtable.h linux-2.6.38.1-new/arch/alpha/include/asm/pgtable.h
+diff -urNp linux-2.6.38.1/arch/alpha/include/asm/pgtable.h linux-2.6.38.1/arch/alpha/include/asm/pgtable.h
--- linux-2.6.38.1/arch/alpha/include/asm/pgtable.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/alpha/include/asm/pgtable.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/alpha/include/asm/pgtable.h 2011-03-21 18:31:35.000000000 -0400
@@ -101,6 +101,17 @@ struct vm_area_struct;
#define PAGE_SHARED __pgprot(_PAGE_VALID | __ACCESS_BITS)
#define PAGE_COPY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
@@ -51,9 +51,9 @@ diff -urNp linux-2.6.38.1/arch/alpha/include/asm/pgtable.h linux-2.6.38.1-new/ar
#define PAGE_KERNEL __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE)
#define _PAGE_NORMAL(x) __pgprot(_PAGE_VALID | __ACCESS_BITS | (x))
-diff -urNp linux-2.6.38.1/arch/alpha/kernel/module.c linux-2.6.38.1-new/arch/alpha/kernel/module.c
+diff -urNp linux-2.6.38.1/arch/alpha/kernel/module.c linux-2.6.38.1/arch/alpha/kernel/module.c
--- linux-2.6.38.1/arch/alpha/kernel/module.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/alpha/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/alpha/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
@@ -182,7 +182,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs,
/* The small sections were sorted to the end of the segment.
@@ -63,9 +63,9 @@ diff -urNp linux-2.6.38.1/arch/alpha/kernel/module.c linux-2.6.38.1-new/arch/alp
got = sechdrs[me->arch.gotsecindex].sh_addr;
for (i = 0; i < n; i++) {
-diff -urNp linux-2.6.38.1/arch/alpha/kernel/osf_sys.c linux-2.6.38.1-new/arch/alpha/kernel/osf_sys.c
+diff -urNp linux-2.6.38.1/arch/alpha/kernel/osf_sys.c linux-2.6.38.1/arch/alpha/kernel/osf_sys.c
--- linux-2.6.38.1/arch/alpha/kernel/osf_sys.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/alpha/kernel/osf_sys.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/alpha/kernel/osf_sys.c 2011-03-21 18:31:35.000000000 -0400
@@ -1162,7 +1162,7 @@ arch_get_unmapped_area_1(unsigned long a
/* At this point: (!vma || addr < vma->vm_end). */
if (limit - len < addr)
@@ -97,9 +97,9 @@ diff -urNp linux-2.6.38.1/arch/alpha/kernel/osf_sys.c linux-2.6.38.1-new/arch/al
if (addr != (unsigned long) -ENOMEM)
return addr;
-diff -urNp linux-2.6.38.1/arch/alpha/kernel/pci_iommu.c linux-2.6.38.1-new/arch/alpha/kernel/pci_iommu.c
+diff -urNp linux-2.6.38.1/arch/alpha/kernel/pci_iommu.c linux-2.6.38.1/arch/alpha/kernel/pci_iommu.c
--- linux-2.6.38.1/arch/alpha/kernel/pci_iommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/alpha/kernel/pci_iommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/alpha/kernel/pci_iommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -950,7 +950,7 @@ static int alpha_pci_set_mask(struct dev
return 0;
}
@@ -116,9 +116,9 @@ diff -urNp linux-2.6.38.1/arch/alpha/kernel/pci_iommu.c linux-2.6.38.1-new/arch/
-struct dma_map_ops *dma_ops = &alpha_pci_ops;
+const struct dma_map_ops *dma_ops = &alpha_pci_ops;
EXPORT_SYMBOL(dma_ops);
-diff -urNp linux-2.6.38.1/arch/alpha/kernel/pci-noop.c linux-2.6.38.1-new/arch/alpha/kernel/pci-noop.c
+diff -urNp linux-2.6.38.1/arch/alpha/kernel/pci-noop.c linux-2.6.38.1/arch/alpha/kernel/pci-noop.c
--- linux-2.6.38.1/arch/alpha/kernel/pci-noop.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/alpha/kernel/pci-noop.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/alpha/kernel/pci-noop.c 2011-03-21 18:31:35.000000000 -0400
@@ -173,7 +173,7 @@ static int alpha_noop_set_mask(struct de
return 0;
}
@@ -137,9 +137,9 @@ diff -urNp linux-2.6.38.1/arch/alpha/kernel/pci-noop.c linux-2.6.38.1-new/arch/a
EXPORT_SYMBOL(dma_ops);
void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen)
-diff -urNp linux-2.6.38.1/arch/alpha/mm/fault.c linux-2.6.38.1-new/arch/alpha/mm/fault.c
+diff -urNp linux-2.6.38.1/arch/alpha/mm/fault.c linux-2.6.38.1/arch/alpha/mm/fault.c
--- linux-2.6.38.1/arch/alpha/mm/fault.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/alpha/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/alpha/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
@@ -54,6 +54,124 @@ __load_new_mm_context(struct mm_struct *
__reload_thread(pcb);
}
@@ -296,9 +296,9 @@ diff -urNp linux-2.6.38.1/arch/alpha/mm/fault.c linux-2.6.38.1-new/arch/alpha/mm
} else if (!cause) {
/* Allow reads even for write-only mappings */
if (!(vma->vm_flags & (VM_READ | VM_WRITE)))
-diff -urNp linux-2.6.38.1/arch/arm/include/asm/elf.h linux-2.6.38.1-new/arch/arm/include/asm/elf.h
+diff -urNp linux-2.6.38.1/arch/arm/include/asm/elf.h linux-2.6.38.1/arch/arm/include/asm/elf.h
--- linux-2.6.38.1/arch/arm/include/asm/elf.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/arm/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/arm/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
@@ -115,7 +115,14 @@ int dump_task_regs(struct task_struct *t
the loader. We need to make sure that it is out of the way of the program
that it will "exec", and that there is sufficient room for the brk. */
@@ -326,9 +326,9 @@ diff -urNp linux-2.6.38.1/arch/arm/include/asm/elf.h linux-2.6.38.1-new/arch/arm
extern int vectors_user_mapping(void);
#define arch_setup_additional_pages(bprm, uses_interp) vectors_user_mapping()
#define ARCH_HAS_SETUP_ADDITIONAL_PAGES
-diff -urNp linux-2.6.38.1/arch/arm/include/asm/kmap_types.h linux-2.6.38.1-new/arch/arm/include/asm/kmap_types.h
+diff -urNp linux-2.6.38.1/arch/arm/include/asm/kmap_types.h linux-2.6.38.1/arch/arm/include/asm/kmap_types.h
--- linux-2.6.38.1/arch/arm/include/asm/kmap_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/arm/include/asm/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/arm/include/asm/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -21,6 +21,7 @@ enum km_type {
KM_L1_CACHE,
KM_L2_CACHE,
@@ -337,9 +337,9 @@ diff -urNp linux-2.6.38.1/arch/arm/include/asm/kmap_types.h linux-2.6.38.1-new/a
KM_TYPE_NR
};
-diff -urNp linux-2.6.38.1/arch/arm/include/asm/uaccess.h linux-2.6.38.1-new/arch/arm/include/asm/uaccess.h
+diff -urNp linux-2.6.38.1/arch/arm/include/asm/uaccess.h linux-2.6.38.1/arch/arm/include/asm/uaccess.h
--- linux-2.6.38.1/arch/arm/include/asm/uaccess.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/arm/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/arm/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
@@ -403,6 +403,9 @@ extern unsigned long __must_check __strn
static inline unsigned long __must_check copy_from_user(void *to, const void __user *from, unsigned long n)
@@ -360,9 +360,9 @@ diff -urNp linux-2.6.38.1/arch/arm/include/asm/uaccess.h linux-2.6.38.1-new/arch
if (access_ok(VERIFY_WRITE, to, n))
n = __copy_to_user(to, from, n);
return n;
-diff -urNp linux-2.6.38.1/arch/arm/kernel/kgdb.c linux-2.6.38.1-new/arch/arm/kernel/kgdb.c
+diff -urNp linux-2.6.38.1/arch/arm/kernel/kgdb.c linux-2.6.38.1/arch/arm/kernel/kgdb.c
--- linux-2.6.38.1/arch/arm/kernel/kgdb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/arm/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/arm/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
@@ -246,7 +246,7 @@ void kgdb_arch_exit(void)
* and we handle the normal undef case within the do_undefinstr
* handler.
@@ -372,9 +372,9 @@ diff -urNp linux-2.6.38.1/arch/arm/kernel/kgdb.c linux-2.6.38.1-new/arch/arm/ker
#ifndef __ARMEB__
.gdb_bpt_instr = {0xfe, 0xde, 0xff, 0xe7}
#else /* ! __ARMEB__ */
-diff -urNp linux-2.6.38.1/arch/arm/kernel/process.c linux-2.6.38.1-new/arch/arm/kernel/process.c
+diff -urNp linux-2.6.38.1/arch/arm/kernel/process.c linux-2.6.38.1/arch/arm/kernel/process.c
--- linux-2.6.38.1/arch/arm/kernel/process.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/arm/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/arm/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
@@ -28,7 +28,6 @@
#include <linux/tick.h>
#include <linux/utsname.h>
@@ -396,9 +396,9 @@ diff -urNp linux-2.6.38.1/arch/arm/kernel/process.c linux-2.6.38.1-new/arch/arm/
#ifdef CONFIG_MMU
/*
* The vectors page is always readable from user space for the
-diff -urNp linux-2.6.38.1/arch/arm/mach-msm/last_radio_log.c linux-2.6.38.1-new/arch/arm/mach-msm/last_radio_log.c
+diff -urNp linux-2.6.38.1/arch/arm/mach-msm/last_radio_log.c linux-2.6.38.1/arch/arm/mach-msm/last_radio_log.c
--- linux-2.6.38.1/arch/arm/mach-msm/last_radio_log.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/arm/mach-msm/last_radio_log.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/arm/mach-msm/last_radio_log.c 2011-03-21 18:31:35.000000000 -0400
@@ -47,7 +47,7 @@ static ssize_t last_radio_log_read(struc
return count;
}
@@ -408,9 +408,9 @@ diff -urNp linux-2.6.38.1/arch/arm/mach-msm/last_radio_log.c linux-2.6.38.1-new/
.read = last_radio_log_read,
.llseek = default_llseek,
};
-diff -urNp linux-2.6.38.1/arch/arm/mach-ux500/mbox-db5500.c linux-2.6.38.1-new/arch/arm/mach-ux500/mbox-db5500.c
+diff -urNp linux-2.6.38.1/arch/arm/mach-ux500/mbox-db5500.c linux-2.6.38.1/arch/arm/mach-ux500/mbox-db5500.c
--- linux-2.6.38.1/arch/arm/mach-ux500/mbox-db5500.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/arm/mach-ux500/mbox-db5500.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/arm/mach-ux500/mbox-db5500.c 2011-03-21 18:31:35.000000000 -0400
@@ -168,7 +168,7 @@ static ssize_t mbox_read_fifo(struct dev
return sprintf(buf, "0x%X\n", mbox_value);
}
@@ -420,9 +420,9 @@ diff -urNp linux-2.6.38.1/arch/arm/mach-ux500/mbox-db5500.c linux-2.6.38.1-new/a
static int mbox_show(struct seq_file *s, void *data)
{
-diff -urNp linux-2.6.38.1/arch/arm/mm/fault.c linux-2.6.38.1-new/arch/arm/mm/fault.c
+diff -urNp linux-2.6.38.1/arch/arm/mm/fault.c linux-2.6.38.1/arch/arm/mm/fault.c
--- linux-2.6.38.1/arch/arm/mm/fault.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/arm/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/arm/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
@@ -167,6 +167,13 @@ __do_user_fault(struct task_struct *tsk,
}
#endif
@@ -471,9 +471,9 @@ diff -urNp linux-2.6.38.1/arch/arm/mm/fault.c linux-2.6.38.1-new/arch/arm/mm/fau
/*
* First Level Translation Fault Handler
*
-diff -urNp linux-2.6.38.1/arch/arm/mm/mmap.c linux-2.6.38.1-new/arch/arm/mm/mmap.c
+diff -urNp linux-2.6.38.1/arch/arm/mm/mmap.c linux-2.6.38.1/arch/arm/mm/mmap.c
--- linux-2.6.38.1/arch/arm/mm/mmap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/arm/mm/mmap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/arm/mm/mmap.c 2011-03-21 18:31:35.000000000 -0400
@@ -64,6 +64,10 @@ arch_get_unmapped_area(struct file *filp
if (len > TASK_SIZE)
return -ENOMEM;
@@ -523,9 +523,9 @@ diff -urNp linux-2.6.38.1/arch/arm/mm/mmap.c linux-2.6.38.1-new/arch/arm/mm/mmap
/*
* Remember the place where we stopped the search:
*/
-diff -urNp linux-2.6.38.1/arch/avr32/include/asm/elf.h linux-2.6.38.1-new/arch/avr32/include/asm/elf.h
+diff -urNp linux-2.6.38.1/arch/avr32/include/asm/elf.h linux-2.6.38.1/arch/avr32/include/asm/elf.h
--- linux-2.6.38.1/arch/avr32/include/asm/elf.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/avr32/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/avr32/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
@@ -84,8 +84,14 @@ typedef struct user_fpu_struct elf_fpreg
the loader. We need to make sure that it is out of the way of the program
that it will "exec", and that there is sufficient room for the brk. */
@@ -542,9 +542,9 @@ diff -urNp linux-2.6.38.1/arch/avr32/include/asm/elf.h linux-2.6.38.1-new/arch/a
/* This yields a mask that user programs can use to figure out what
instruction set this CPU supports. This could be done in user space,
-diff -urNp linux-2.6.38.1/arch/avr32/include/asm/kmap_types.h linux-2.6.38.1-new/arch/avr32/include/asm/kmap_types.h
+diff -urNp linux-2.6.38.1/arch/avr32/include/asm/kmap_types.h linux-2.6.38.1/arch/avr32/include/asm/kmap_types.h
--- linux-2.6.38.1/arch/avr32/include/asm/kmap_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/avr32/include/asm/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/avr32/include/asm/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -22,7 +22,8 @@ D(10) KM_IRQ0,
D(11) KM_IRQ1,
D(12) KM_SOFTIRQ0,
@@ -555,9 +555,9 @@ diff -urNp linux-2.6.38.1/arch/avr32/include/asm/kmap_types.h linux-2.6.38.1-new
};
#undef D
-diff -urNp linux-2.6.38.1/arch/avr32/mm/fault.c linux-2.6.38.1-new/arch/avr32/mm/fault.c
+diff -urNp linux-2.6.38.1/arch/avr32/mm/fault.c linux-2.6.38.1/arch/avr32/mm/fault.c
--- linux-2.6.38.1/arch/avr32/mm/fault.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/avr32/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/avr32/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
@@ -41,6 +41,23 @@ static inline int notify_page_fault(stru
int exception_trace = 1;
@@ -599,9 +599,9 @@ diff -urNp linux-2.6.38.1/arch/avr32/mm/fault.c linux-2.6.38.1-new/arch/avr32/mm
if (exception_trace && printk_ratelimit())
printk("%s%s[%d]: segfault at %08lx pc %08lx "
"sp %08lx ecr %lu\n",
-diff -urNp linux-2.6.38.1/arch/blackfin/kernel/kgdb.c linux-2.6.38.1-new/arch/blackfin/kernel/kgdb.c
+diff -urNp linux-2.6.38.1/arch/blackfin/kernel/kgdb.c linux-2.6.38.1/arch/blackfin/kernel/kgdb.c
--- linux-2.6.38.1/arch/blackfin/kernel/kgdb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/blackfin/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/blackfin/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
@@ -420,7 +420,7 @@ int kgdb_arch_handle_exception(int vecto
return -1; /* this means that we do not want to exit from the handler */
}
@@ -611,9 +611,9 @@ diff -urNp linux-2.6.38.1/arch/blackfin/kernel/kgdb.c linux-2.6.38.1-new/arch/bl
.gdb_bpt_instr = {0xa1},
#ifdef CONFIG_SMP
.flags = KGDB_HW_BREAKPOINT|KGDB_THR_PROC_SWAP,
-diff -urNp linux-2.6.38.1/arch/blackfin/mm/maccess.c linux-2.6.38.1-new/arch/blackfin/mm/maccess.c
+diff -urNp linux-2.6.38.1/arch/blackfin/mm/maccess.c linux-2.6.38.1/arch/blackfin/mm/maccess.c
--- linux-2.6.38.1/arch/blackfin/mm/maccess.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/blackfin/mm/maccess.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/blackfin/mm/maccess.c 2011-03-21 18:31:35.000000000 -0400
@@ -16,7 +16,7 @@ static int validate_memory_access_addres
return bfin_mem_access_type(addr, size);
}
@@ -632,9 +632,9 @@ diff -urNp linux-2.6.38.1/arch/blackfin/mm/maccess.c linux-2.6.38.1-new/arch/bla
{
unsigned long ldst = (unsigned long)dst;
int mem_type;
-diff -urNp linux-2.6.38.1/arch/frv/include/asm/kmap_types.h linux-2.6.38.1-new/arch/frv/include/asm/kmap_types.h
+diff -urNp linux-2.6.38.1/arch/frv/include/asm/kmap_types.h linux-2.6.38.1/arch/frv/include/asm/kmap_types.h
--- linux-2.6.38.1/arch/frv/include/asm/kmap_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/frv/include/asm/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/frv/include/asm/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -23,6 +23,7 @@ enum km_type {
KM_IRQ1,
KM_SOFTIRQ0,
@@ -643,9 +643,9 @@ diff -urNp linux-2.6.38.1/arch/frv/include/asm/kmap_types.h linux-2.6.38.1-new/a
KM_TYPE_NR
};
-diff -urNp linux-2.6.38.1/arch/frv/mm/elf-fdpic.c linux-2.6.38.1-new/arch/frv/mm/elf-fdpic.c
+diff -urNp linux-2.6.38.1/arch/frv/mm/elf-fdpic.c linux-2.6.38.1/arch/frv/mm/elf-fdpic.c
--- linux-2.6.38.1/arch/frv/mm/elf-fdpic.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/frv/mm/elf-fdpic.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/frv/mm/elf-fdpic.c 2011-03-21 18:31:35.000000000 -0400
@@ -73,8 +73,7 @@ unsigned long arch_get_unmapped_area(str
if (addr) {
addr = PAGE_ALIGN(addr);
@@ -674,9 +674,9 @@ diff -urNp linux-2.6.38.1/arch/frv/mm/elf-fdpic.c linux-2.6.38.1-new/arch/frv/mm
goto success;
addr = vma->vm_end;
}
-diff -urNp linux-2.6.38.1/arch/ia64/hp/common/hwsw_iommu.c linux-2.6.38.1-new/arch/ia64/hp/common/hwsw_iommu.c
+diff -urNp linux-2.6.38.1/arch/ia64/hp/common/hwsw_iommu.c linux-2.6.38.1/arch/ia64/hp/common/hwsw_iommu.c
--- linux-2.6.38.1/arch/ia64/hp/common/hwsw_iommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/hp/common/hwsw_iommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/hp/common/hwsw_iommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -17,7 +17,7 @@
#include <linux/swiotlb.h>
#include <asm/machvec.h>
@@ -695,9 +695,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/hp/common/hwsw_iommu.c linux-2.6.38.1-new/ar
{
if (use_swiotlb(dev))
return &swiotlb_dma_ops;
-diff -urNp linux-2.6.38.1/arch/ia64/hp/common/sba_iommu.c linux-2.6.38.1-new/arch/ia64/hp/common/sba_iommu.c
+diff -urNp linux-2.6.38.1/arch/ia64/hp/common/sba_iommu.c linux-2.6.38.1/arch/ia64/hp/common/sba_iommu.c
--- linux-2.6.38.1/arch/ia64/hp/common/sba_iommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/hp/common/sba_iommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/hp/common/sba_iommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -2097,7 +2097,7 @@ static struct acpi_driver acpi_sba_ioc_d
},
};
@@ -716,9 +716,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/hp/common/sba_iommu.c linux-2.6.38.1-new/arc
.alloc_coherent = sba_alloc_coherent,
.free_coherent = sba_free_coherent,
.map_page = sba_map_page,
-diff -urNp linux-2.6.38.1/arch/ia64/include/asm/dma-mapping.h linux-2.6.38.1-new/arch/ia64/include/asm/dma-mapping.h
+diff -urNp linux-2.6.38.1/arch/ia64/include/asm/dma-mapping.h linux-2.6.38.1/arch/ia64/include/asm/dma-mapping.h
--- linux-2.6.38.1/arch/ia64/include/asm/dma-mapping.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
@@ -12,7 +12,7 @@
#define ARCH_HAS_DMA_GET_REQUIRED_MASK
@@ -762,9 +762,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/include/asm/dma-mapping.h linux-2.6.38.1-new
return ops->dma_supported(dev, mask);
}
-diff -urNp linux-2.6.38.1/arch/ia64/include/asm/elf.h linux-2.6.38.1-new/arch/ia64/include/asm/elf.h
+diff -urNp linux-2.6.38.1/arch/ia64/include/asm/elf.h linux-2.6.38.1/arch/ia64/include/asm/elf.h
--- linux-2.6.38.1/arch/ia64/include/asm/elf.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
@@ -42,6 +42,13 @@
*/
#define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x800000000UL)
@@ -779,9 +779,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/include/asm/elf.h linux-2.6.38.1-new/arch/ia
#define PT_IA_64_UNWIND 0x70000001
/* IA-64 relocations: */
-diff -urNp linux-2.6.38.1/arch/ia64/include/asm/machvec.h linux-2.6.38.1-new/arch/ia64/include/asm/machvec.h
+diff -urNp linux-2.6.38.1/arch/ia64/include/asm/machvec.h linux-2.6.38.1/arch/ia64/include/asm/machvec.h
--- linux-2.6.38.1/arch/ia64/include/asm/machvec.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/include/asm/machvec.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/include/asm/machvec.h 2011-03-21 18:31:35.000000000 -0400
@@ -45,7 +45,7 @@ typedef void ia64_mv_kernel_launch_event
/* DMA-mapping interface: */
typedef void ia64_mv_dma_init (void);
@@ -800,9 +800,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/include/asm/machvec.h linux-2.6.38.1-new/arc
/*
* Define default versions so we can extend machvec for new platforms without having
-diff -urNp linux-2.6.38.1/arch/ia64/include/asm/pgtable.h linux-2.6.38.1-new/arch/ia64/include/asm/pgtable.h
+diff -urNp linux-2.6.38.1/arch/ia64/include/asm/pgtable.h linux-2.6.38.1/arch/ia64/include/asm/pgtable.h
--- linux-2.6.38.1/arch/ia64/include/asm/pgtable.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/include/asm/pgtable.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/include/asm/pgtable.h 2011-03-21 18:31:35.000000000 -0400
@@ -12,7 +12,7 @@
* David Mosberger-Tang <davidm@hpl.hp.com>
*/
@@ -830,9 +830,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/include/asm/pgtable.h linux-2.6.38.1-new/arc
#define PAGE_GATE __pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_X_RX)
#define PAGE_KERNEL __pgprot(__DIRTY_BITS | _PAGE_PL_0 | _PAGE_AR_RWX)
#define PAGE_KERNELRX __pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_RX)
-diff -urNp linux-2.6.38.1/arch/ia64/include/asm/spinlock.h linux-2.6.38.1-new/arch/ia64/include/asm/spinlock.h
+diff -urNp linux-2.6.38.1/arch/ia64/include/asm/spinlock.h linux-2.6.38.1/arch/ia64/include/asm/spinlock.h
--- linux-2.6.38.1/arch/ia64/include/asm/spinlock.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/include/asm/spinlock.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/include/asm/spinlock.h 2011-03-21 18:31:35.000000000 -0400
@@ -72,7 +72,7 @@ static __always_inline void __ticket_spi
unsigned short *p = (unsigned short *)&lock->lock + 1, tmp;
@@ -842,9 +842,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/include/asm/spinlock.h linux-2.6.38.1-new/ar
}
static __always_inline void __ticket_spin_unlock_wait(arch_spinlock_t *lock)
-diff -urNp linux-2.6.38.1/arch/ia64/include/asm/uaccess.h linux-2.6.38.1-new/arch/ia64/include/asm/uaccess.h
+diff -urNp linux-2.6.38.1/arch/ia64/include/asm/uaccess.h linux-2.6.38.1/arch/ia64/include/asm/uaccess.h
--- linux-2.6.38.1/arch/ia64/include/asm/uaccess.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
@@ -257,7 +257,7 @@ __copy_from_user (void *to, const void _
const void *__cu_from = (from); \
long __cu_len = (n); \
@@ -863,9 +863,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/include/asm/uaccess.h linux-2.6.38.1-new/arc
__cu_len = __copy_user((__force void __user *) __cu_to, __cu_from, __cu_len); \
__cu_len; \
})
-diff -urNp linux-2.6.38.1/arch/ia64/kernel/dma-mapping.c linux-2.6.38.1-new/arch/ia64/kernel/dma-mapping.c
+diff -urNp linux-2.6.38.1/arch/ia64/kernel/dma-mapping.c linux-2.6.38.1/arch/ia64/kernel/dma-mapping.c
--- linux-2.6.38.1/arch/ia64/kernel/dma-mapping.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/kernel/dma-mapping.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/kernel/dma-mapping.c 2011-03-21 18:31:35.000000000 -0400
@@ -3,7 +3,7 @@
/* Set this to 1 if there is a HW IOMMU in the system */
int iommu_detected __read_mostly;
@@ -884,9 +884,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/kernel/dma-mapping.c linux-2.6.38.1-new/arch
{
return dma_ops;
}
-diff -urNp linux-2.6.38.1/arch/ia64/kernel/module.c linux-2.6.38.1-new/arch/ia64/kernel/module.c
+diff -urNp linux-2.6.38.1/arch/ia64/kernel/module.c linux-2.6.38.1/arch/ia64/kernel/module.c
--- linux-2.6.38.1/arch/ia64/kernel/module.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
@@ -315,8 +315,7 @@ module_alloc (unsigned long size)
void
module_free (struct module *mod, void *module_region)
@@ -975,9 +975,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/kernel/module.c linux-2.6.38.1-new/arch/ia64
mod->arch.gp = gp;
DEBUGP("%s: placing gp at 0x%lx\n", __func__, gp);
}
-diff -urNp linux-2.6.38.1/arch/ia64/kernel/pci-dma.c linux-2.6.38.1-new/arch/ia64/kernel/pci-dma.c
+diff -urNp linux-2.6.38.1/arch/ia64/kernel/pci-dma.c linux-2.6.38.1/arch/ia64/kernel/pci-dma.c
--- linux-2.6.38.1/arch/ia64/kernel/pci-dma.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/kernel/pci-dma.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/kernel/pci-dma.c 2011-03-21 18:31:35.000000000 -0400
@@ -43,7 +43,7 @@ struct device fallback_dev = {
.dma_mask = &fallback_dev.coherent_dma_mask,
};
@@ -987,9 +987,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/kernel/pci-dma.c linux-2.6.38.1-new/arch/ia6
static int __init pci_iommu_init(void)
{
-diff -urNp linux-2.6.38.1/arch/ia64/kernel/pci-swiotlb.c linux-2.6.38.1-new/arch/ia64/kernel/pci-swiotlb.c
+diff -urNp linux-2.6.38.1/arch/ia64/kernel/pci-swiotlb.c linux-2.6.38.1/arch/ia64/kernel/pci-swiotlb.c
--- linux-2.6.38.1/arch/ia64/kernel/pci-swiotlb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/kernel/pci-swiotlb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/kernel/pci-swiotlb.c 2011-03-21 18:31:35.000000000 -0400
@@ -22,7 +22,7 @@ static void *ia64_swiotlb_alloc_coherent
return swiotlb_alloc_coherent(dev, size, dma_handle, gfp);
}
@@ -999,9 +999,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/kernel/pci-swiotlb.c linux-2.6.38.1-new/arch
.alloc_coherent = ia64_swiotlb_alloc_coherent,
.free_coherent = swiotlb_free_coherent,
.map_page = swiotlb_map_page,
-diff -urNp linux-2.6.38.1/arch/ia64/kernel/sys_ia64.c linux-2.6.38.1-new/arch/ia64/kernel/sys_ia64.c
+diff -urNp linux-2.6.38.1/arch/ia64/kernel/sys_ia64.c linux-2.6.38.1/arch/ia64/kernel/sys_ia64.c
--- linux-2.6.38.1/arch/ia64/kernel/sys_ia64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/kernel/sys_ia64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/kernel/sys_ia64.c 2011-03-21 18:31:35.000000000 -0400
@@ -43,6 +43,13 @@ arch_get_unmapped_area (struct file *fil
if (REGION_NUMBER(addr) == RGN_HPAGE)
addr = 0;
@@ -1034,9 +1034,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/kernel/sys_ia64.c linux-2.6.38.1-new/arch/ia
/* Remember the address where we stopped this search: */
mm->free_area_cache = addr + len;
return addr;
-diff -urNp linux-2.6.38.1/arch/ia64/kernel/vmlinux.lds.S linux-2.6.38.1-new/arch/ia64/kernel/vmlinux.lds.S
+diff -urNp linux-2.6.38.1/arch/ia64/kernel/vmlinux.lds.S linux-2.6.38.1/arch/ia64/kernel/vmlinux.lds.S
--- linux-2.6.38.1/arch/ia64/kernel/vmlinux.lds.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/kernel/vmlinux.lds.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/kernel/vmlinux.lds.S 2011-03-21 18:31:35.000000000 -0400
@@ -199,7 +199,7 @@ SECTIONS {
/* Per-cpu data: */
. = ALIGN(PERCPU_PAGE_SIZE);
@@ -1046,9 +1046,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/kernel/vmlinux.lds.S linux-2.6.38.1-new/arch
/*
* ensure percpu data fits
* into percpu page size
-diff -urNp linux-2.6.38.1/arch/ia64/mm/fault.c linux-2.6.38.1-new/arch/ia64/mm/fault.c
+diff -urNp linux-2.6.38.1/arch/ia64/mm/fault.c linux-2.6.38.1/arch/ia64/mm/fault.c
--- linux-2.6.38.1/arch/ia64/mm/fault.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
@@ -72,6 +72,23 @@ mapped_kernel_page_is_present (unsigned
return pte_present(pte);
}
@@ -1098,9 +1098,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/mm/fault.c linux-2.6.38.1-new/arch/ia64/mm/f
/*
* If for any reason at all we couldn't handle the fault, make
* sure we exit gracefully rather than endlessly redo the
-diff -urNp linux-2.6.38.1/arch/ia64/mm/hugetlbpage.c linux-2.6.38.1-new/arch/ia64/mm/hugetlbpage.c
+diff -urNp linux-2.6.38.1/arch/ia64/mm/hugetlbpage.c linux-2.6.38.1/arch/ia64/mm/hugetlbpage.c
--- linux-2.6.38.1/arch/ia64/mm/hugetlbpage.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/mm/hugetlbpage.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/mm/hugetlbpage.c 2011-03-21 18:31:35.000000000 -0400
@@ -171,7 +171,7 @@ unsigned long hugetlb_get_unmapped_area(
/* At this point: (!vmm || addr < vmm->vm_end). */
if (REGION_OFFSET(addr) + len > RGN_MAP_LIMIT)
@@ -1110,9 +1110,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/mm/hugetlbpage.c linux-2.6.38.1-new/arch/ia6
return addr;
addr = ALIGN(vmm->vm_end, HPAGE_SIZE);
}
-diff -urNp linux-2.6.38.1/arch/ia64/mm/init.c linux-2.6.38.1-new/arch/ia64/mm/init.c
+diff -urNp linux-2.6.38.1/arch/ia64/mm/init.c linux-2.6.38.1/arch/ia64/mm/init.c
--- linux-2.6.38.1/arch/ia64/mm/init.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/mm/init.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/mm/init.c 2011-03-21 18:31:35.000000000 -0400
@@ -122,6 +122,19 @@ ia64_init_addr_space (void)
vma->vm_start = current->thread.rbs_bot & PAGE_MASK;
vma->vm_end = vma->vm_start + PAGE_SIZE;
@@ -1133,9 +1133,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/mm/init.c linux-2.6.38.1-new/arch/ia64/mm/in
vma->vm_page_prot = vm_get_page_prot(vma->vm_flags);
down_write(&current->mm->mmap_sem);
if (insert_vm_struct(current->mm, vma)) {
-diff -urNp linux-2.6.38.1/arch/ia64/sn/pci/pci_dma.c linux-2.6.38.1-new/arch/ia64/sn/pci/pci_dma.c
+diff -urNp linux-2.6.38.1/arch/ia64/sn/pci/pci_dma.c linux-2.6.38.1/arch/ia64/sn/pci/pci_dma.c
--- linux-2.6.38.1/arch/ia64/sn/pci/pci_dma.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/ia64/sn/pci/pci_dma.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/ia64/sn/pci/pci_dma.c 2011-03-21 18:31:35.000000000 -0400
@@ -465,7 +465,7 @@ int sn_pci_legacy_write(struct pci_bus *
return ret;
}
@@ -1145,9 +1145,9 @@ diff -urNp linux-2.6.38.1/arch/ia64/sn/pci/pci_dma.c linux-2.6.38.1-new/arch/ia6
.alloc_coherent = sn_dma_alloc_coherent,
.free_coherent = sn_dma_free_coherent,
.map_page = sn_dma_map_page,
-diff -urNp linux-2.6.38.1/arch/m32r/lib/usercopy.c linux-2.6.38.1-new/arch/m32r/lib/usercopy.c
+diff -urNp linux-2.6.38.1/arch/m32r/lib/usercopy.c linux-2.6.38.1/arch/m32r/lib/usercopy.c
--- linux-2.6.38.1/arch/m32r/lib/usercopy.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/m32r/lib/usercopy.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/m32r/lib/usercopy.c 2011-03-21 18:31:35.000000000 -0400
@@ -14,6 +14,9 @@
unsigned long
__generic_copy_to_user(void __user *to, const void *from, unsigned long n)
@@ -1168,9 +1168,9 @@ diff -urNp linux-2.6.38.1/arch/m32r/lib/usercopy.c linux-2.6.38.1-new/arch/m32r/
prefetchw(to);
if (access_ok(VERIFY_READ, from, n))
__copy_user_zeroing(to,from,n);
-diff -urNp linux-2.6.38.1/arch/microblaze/include/asm/device.h linux-2.6.38.1-new/arch/microblaze/include/asm/device.h
+diff -urNp linux-2.6.38.1/arch/microblaze/include/asm/device.h linux-2.6.38.1/arch/microblaze/include/asm/device.h
--- linux-2.6.38.1/arch/microblaze/include/asm/device.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/microblaze/include/asm/device.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/microblaze/include/asm/device.h 2011-03-21 18:31:35.000000000 -0400
@@ -13,7 +13,7 @@ struct device_node;
struct dev_archdata {
@@ -1180,9 +1180,9 @@ diff -urNp linux-2.6.38.1/arch/microblaze/include/asm/device.h linux-2.6.38.1-ne
void *dma_data;
};
-diff -urNp linux-2.6.38.1/arch/microblaze/include/asm/dma-mapping.h linux-2.6.38.1-new/arch/microblaze/include/asm/dma-mapping.h
+diff -urNp linux-2.6.38.1/arch/microblaze/include/asm/dma-mapping.h linux-2.6.38.1/arch/microblaze/include/asm/dma-mapping.h
--- linux-2.6.38.1/arch/microblaze/include/asm/dma-mapping.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/microblaze/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/microblaze/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
@@ -43,14 +43,14 @@ static inline unsigned long device_to_ma
return 0xfffffffful;
}
@@ -1254,9 +1254,9 @@ diff -urNp linux-2.6.38.1/arch/microblaze/include/asm/dma-mapping.h linux-2.6.38
BUG_ON(!ops);
debug_dma_free_coherent(dev, size, cpu_addr, dma_handle);
-diff -urNp linux-2.6.38.1/arch/microblaze/include/asm/pci.h linux-2.6.38.1-new/arch/microblaze/include/asm/pci.h
+diff -urNp linux-2.6.38.1/arch/microblaze/include/asm/pci.h linux-2.6.38.1/arch/microblaze/include/asm/pci.h
--- linux-2.6.38.1/arch/microblaze/include/asm/pci.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/microblaze/include/asm/pci.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/microblaze/include/asm/pci.h 2011-03-21 18:31:35.000000000 -0400
@@ -54,8 +54,8 @@ static inline void pcibios_penalize_isa_
}
@@ -1268,9 +1268,9 @@ diff -urNp linux-2.6.38.1/arch/microblaze/include/asm/pci.h linux-2.6.38.1-new/a
#else /* CONFIG_PCI */
#define set_pci_dma_ops(d)
#define get_pci_dma_ops() NULL
-diff -urNp linux-2.6.38.1/arch/microblaze/kernel/dma.c linux-2.6.38.1-new/arch/microblaze/kernel/dma.c
+diff -urNp linux-2.6.38.1/arch/microblaze/kernel/dma.c linux-2.6.38.1/arch/microblaze/kernel/dma.c
--- linux-2.6.38.1/arch/microblaze/kernel/dma.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/microblaze/kernel/dma.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/microblaze/kernel/dma.c 2011-03-21 18:31:35.000000000 -0400
@@ -133,7 +133,7 @@ static inline void dma_direct_unmap_page
__dma_sync_page(dma_address, 0 , size, direction);
}
@@ -1280,9 +1280,9 @@ diff -urNp linux-2.6.38.1/arch/microblaze/kernel/dma.c linux-2.6.38.1-new/arch/m
.alloc_coherent = dma_direct_alloc_coherent,
.free_coherent = dma_direct_free_coherent,
.map_sg = dma_direct_map_sg,
-diff -urNp linux-2.6.38.1/arch/microblaze/kernel/kgdb.c linux-2.6.38.1-new/arch/microblaze/kernel/kgdb.c
+diff -urNp linux-2.6.38.1/arch/microblaze/kernel/kgdb.c linux-2.6.38.1/arch/microblaze/kernel/kgdb.c
--- linux-2.6.38.1/arch/microblaze/kernel/kgdb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/microblaze/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/microblaze/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
@@ -141,10 +141,11 @@ void kgdb_arch_exit(void)
/*
* Global data
@@ -1296,9 +1296,9 @@ diff -urNp linux-2.6.38.1/arch/microblaze/kernel/kgdb.c linux-2.6.38.1-new/arch/
.gdb_bpt_instr = {0xba, 0x0c, 0x00, 0x18}, /* brki r16, 0x18 */
#endif
};
-diff -urNp linux-2.6.38.1/arch/microblaze/pci/pci-common.c linux-2.6.38.1-new/arch/microblaze/pci/pci-common.c
+diff -urNp linux-2.6.38.1/arch/microblaze/pci/pci-common.c linux-2.6.38.1/arch/microblaze/pci/pci-common.c
--- linux-2.6.38.1/arch/microblaze/pci/pci-common.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/microblaze/pci/pci-common.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/microblaze/pci/pci-common.c 2011-03-21 18:31:35.000000000 -0400
@@ -47,14 +47,14 @@ resource_size_t isa_mem_base;
/* Default PCI flags is 0 on ppc32, modified at boot on ppc64 */
unsigned int pci_flags;
@@ -1317,9 +1317,9 @@ diff -urNp linux-2.6.38.1/arch/microblaze/pci/pci-common.c linux-2.6.38.1-new/ar
{
return pci_dma_ops;
}
-diff -urNp linux-2.6.38.1/arch/mips/cavium-octeon/dma-octeon.c linux-2.6.38.1-new/arch/mips/cavium-octeon/dma-octeon.c
+diff -urNp linux-2.6.38.1/arch/mips/cavium-octeon/dma-octeon.c linux-2.6.38.1/arch/mips/cavium-octeon/dma-octeon.c
--- linux-2.6.38.1/arch/mips/cavium-octeon/dma-octeon.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/cavium-octeon/dma-octeon.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/cavium-octeon/dma-octeon.c 2011-03-21 18:31:35.000000000 -0400
@@ -202,7 +202,7 @@ static phys_addr_t octeon_unity_dma_to_p
}
@@ -1338,9 +1338,9 @@ diff -urNp linux-2.6.38.1/arch/mips/cavium-octeon/dma-octeon.c linux-2.6.38.1-ne
void __init octeon_pci_dma_init(void)
{
-diff -urNp linux-2.6.38.1/arch/mips/include/asm/device.h linux-2.6.38.1-new/arch/mips/include/asm/device.h
+diff -urNp linux-2.6.38.1/arch/mips/include/asm/device.h linux-2.6.38.1/arch/mips/include/asm/device.h
--- linux-2.6.38.1/arch/mips/include/asm/device.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/include/asm/device.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/include/asm/device.h 2011-03-21 18:31:35.000000000 -0400
@@ -10,7 +10,7 @@ struct dma_map_ops;
struct dev_archdata {
@@ -1350,9 +1350,9 @@ diff -urNp linux-2.6.38.1/arch/mips/include/asm/device.h linux-2.6.38.1-new/arch
};
struct pdev_archdata {
-diff -urNp linux-2.6.38.1/arch/mips/include/asm/dma-mapping.h linux-2.6.38.1-new/arch/mips/include/asm/dma-mapping.h
+diff -urNp linux-2.6.38.1/arch/mips/include/asm/dma-mapping.h linux-2.6.38.1/arch/mips/include/asm/dma-mapping.h
--- linux-2.6.38.1/arch/mips/include/asm/dma-mapping.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
@@ -7,9 +7,9 @@
#include <dma-coherence.h>
@@ -1399,9 +1399,9 @@ diff -urNp linux-2.6.38.1/arch/mips/include/asm/dma-mapping.h linux-2.6.38.1-new
ops->free_coherent(dev, size, vaddr, dma_handle);
-diff -urNp linux-2.6.38.1/arch/mips/include/asm/elf.h linux-2.6.38.1-new/arch/mips/include/asm/elf.h
+diff -urNp linux-2.6.38.1/arch/mips/include/asm/elf.h linux-2.6.38.1/arch/mips/include/asm/elf.h
--- linux-2.6.38.1/arch/mips/include/asm/elf.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
@@ -372,13 +372,16 @@ extern const char *__elf_platform;
#define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2)
#endif
@@ -1423,9 +1423,9 @@ diff -urNp linux-2.6.38.1/arch/mips/include/asm/elf.h linux-2.6.38.1-new/arch/mi
-#define arch_randomize_brk arch_randomize_brk
-
#endif /* _ASM_ELF_H */
-diff -urNp linux-2.6.38.1/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h linux-2.6.38.1-new/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h
+diff -urNp linux-2.6.38.1/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h linux-2.6.38.1/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h
--- linux-2.6.38.1/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h 2011-03-21 18:31:35.000000000 -0400
@@ -66,7 +66,7 @@ dma_addr_t phys_to_dma(struct device *de
phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
@@ -1435,9 +1435,9 @@ diff -urNp linux-2.6.38.1/arch/mips/include/asm/mach-cavium-octeon/dma-coherence
extern char *octeon_swiotlb;
#endif /* __ASM_MACH_CAVIUM_OCTEON_DMA_COHERENCE_H */
-diff -urNp linux-2.6.38.1/arch/mips/include/asm/page.h linux-2.6.38.1-new/arch/mips/include/asm/page.h
+diff -urNp linux-2.6.38.1/arch/mips/include/asm/page.h linux-2.6.38.1/arch/mips/include/asm/page.h
--- linux-2.6.38.1/arch/mips/include/asm/page.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/include/asm/page.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/include/asm/page.h 2011-03-21 18:31:35.000000000 -0400
@@ -93,7 +93,7 @@ extern void copy_user_highpage(struct pa
#ifdef CONFIG_CPU_MIPS32
typedef struct { unsigned long pte_low, pte_high; } pte_t;
@@ -1447,9 +1447,9 @@ diff -urNp linux-2.6.38.1/arch/mips/include/asm/page.h linux-2.6.38.1-new/arch/m
#else
typedef struct { unsigned long long pte; } pte_t;
#define pte_val(x) ((x).pte)
-diff -urNp linux-2.6.38.1/arch/mips/include/asm/system.h linux-2.6.38.1-new/arch/mips/include/asm/system.h
+diff -urNp linux-2.6.38.1/arch/mips/include/asm/system.h linux-2.6.38.1/arch/mips/include/asm/system.h
--- linux-2.6.38.1/arch/mips/include/asm/system.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/include/asm/system.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/include/asm/system.h 2011-03-21 18:31:35.000000000 -0400
@@ -23,6 +23,7 @@
#include <asm/dsp.h>
#include <asm/watch.h>
@@ -1466,9 +1466,9 @@ diff -urNp linux-2.6.38.1/arch/mips/include/asm/system.h linux-2.6.38.1-new/arch
+#define arch_align_stack(x) ((x) & ALMASK)
#endif /* _ASM_SYSTEM_H */
-diff -urNp linux-2.6.38.1/arch/mips/kernel/binfmt_elfn32.c linux-2.6.38.1-new/arch/mips/kernel/binfmt_elfn32.c
+diff -urNp linux-2.6.38.1/arch/mips/kernel/binfmt_elfn32.c linux-2.6.38.1/arch/mips/kernel/binfmt_elfn32.c
--- linux-2.6.38.1/arch/mips/kernel/binfmt_elfn32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/kernel/binfmt_elfn32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/kernel/binfmt_elfn32.c 2011-03-21 18:31:35.000000000 -0400
@@ -50,6 +50,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N
#undef ELF_ET_DYN_BASE
#define ELF_ET_DYN_BASE (TASK32_SIZE / 3 * 2)
@@ -1483,9 +1483,9 @@ diff -urNp linux-2.6.38.1/arch/mips/kernel/binfmt_elfn32.c linux-2.6.38.1-new/ar
#include <asm/processor.h>
#include <linux/module.h>
#include <linux/elfcore.h>
-diff -urNp linux-2.6.38.1/arch/mips/kernel/binfmt_elfo32.c linux-2.6.38.1-new/arch/mips/kernel/binfmt_elfo32.c
+diff -urNp linux-2.6.38.1/arch/mips/kernel/binfmt_elfo32.c linux-2.6.38.1/arch/mips/kernel/binfmt_elfo32.c
--- linux-2.6.38.1/arch/mips/kernel/binfmt_elfo32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/kernel/binfmt_elfo32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/kernel/binfmt_elfo32.c 2011-03-21 18:31:35.000000000 -0400
@@ -52,6 +52,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N
#undef ELF_ET_DYN_BASE
#define ELF_ET_DYN_BASE (TASK32_SIZE / 3 * 2)
@@ -1500,9 +1500,9 @@ diff -urNp linux-2.6.38.1/arch/mips/kernel/binfmt_elfo32.c linux-2.6.38.1-new/ar
#include <asm/processor.h>
/*
-diff -urNp linux-2.6.38.1/arch/mips/kernel/kgdb.c linux-2.6.38.1-new/arch/mips/kernel/kgdb.c
+diff -urNp linux-2.6.38.1/arch/mips/kernel/kgdb.c linux-2.6.38.1/arch/mips/kernel/kgdb.c
--- linux-2.6.38.1/arch/mips/kernel/kgdb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
@@ -351,7 +351,7 @@ int kgdb_arch_handle_exception(int vecto
return -1;
}
@@ -1512,9 +1512,9 @@ diff -urNp linux-2.6.38.1/arch/mips/kernel/kgdb.c linux-2.6.38.1-new/arch/mips/k
/*
* We use kgdb_early_setup so that functions we need to call now don't
-diff -urNp linux-2.6.38.1/arch/mips/kernel/process.c linux-2.6.38.1-new/arch/mips/kernel/process.c
+diff -urNp linux-2.6.38.1/arch/mips/kernel/process.c linux-2.6.38.1/arch/mips/kernel/process.c
--- linux-2.6.38.1/arch/mips/kernel/process.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
@@ -473,15 +473,3 @@ unsigned long get_wchan(struct task_stru
out:
return pc;
@@ -1531,9 +1531,9 @@ diff -urNp linux-2.6.38.1/arch/mips/kernel/process.c linux-2.6.38.1-new/arch/mip
-
- return sp & ALMASK;
-}
-diff -urNp linux-2.6.38.1/arch/mips/kernel/syscall.c linux-2.6.38.1-new/arch/mips/kernel/syscall.c
+diff -urNp linux-2.6.38.1/arch/mips/kernel/syscall.c linux-2.6.38.1/arch/mips/kernel/syscall.c
--- linux-2.6.38.1/arch/mips/kernel/syscall.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/kernel/syscall.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/kernel/syscall.c 2011-03-21 18:31:35.000000000 -0400
@@ -108,14 +108,18 @@ unsigned long arch_get_unmapped_area(str
do_color_align = 0;
if (filp || (flags & MAP_SHARED))
@@ -1584,9 +1584,9 @@ diff -urNp linux-2.6.38.1/arch/mips/kernel/syscall.c linux-2.6.38.1-new/arch/mip
SYSCALL_DEFINE6(mips_mmap, unsigned long, addr, unsigned long, len,
unsigned long, prot, unsigned long, flags, unsigned long,
fd, off_t, offset)
-diff -urNp linux-2.6.38.1/arch/mips/mm/dma-default.c linux-2.6.38.1-new/arch/mips/mm/dma-default.c
+diff -urNp linux-2.6.38.1/arch/mips/mm/dma-default.c linux-2.6.38.1/arch/mips/mm/dma-default.c
--- linux-2.6.38.1/arch/mips/mm/dma-default.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/mm/dma-default.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/mm/dma-default.c 2011-03-21 18:31:35.000000000 -0400
@@ -300,7 +300,7 @@ void dma_cache_sync(struct device *dev,
EXPORT_SYMBOL(dma_cache_sync);
@@ -1605,9 +1605,9 @@ diff -urNp linux-2.6.38.1/arch/mips/mm/dma-default.c linux-2.6.38.1-new/arch/mip
EXPORT_SYMBOL(mips_dma_map_ops);
#define PREALLOC_DMA_DEBUG_ENTRIES (1 << 16)
-diff -urNp linux-2.6.38.1/arch/mips/mm/fault.c linux-2.6.38.1-new/arch/mips/mm/fault.c
+diff -urNp linux-2.6.38.1/arch/mips/mm/fault.c linux-2.6.38.1/arch/mips/mm/fault.c
--- linux-2.6.38.1/arch/mips/mm/fault.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/mips/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/mips/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
@@ -28,6 +28,23 @@
#include <asm/highmem.h> /* For VMALLOC_END */
#include <linux/kdebug.h>
@@ -1632,9 +1632,9 @@ diff -urNp linux-2.6.38.1/arch/mips/mm/fault.c linux-2.6.38.1-new/arch/mips/mm/f
/*
* This routine handles page faults. It determines the address,
* and the problem, and then passes it off to one of the appropriate
-diff -urNp linux-2.6.38.1/arch/parisc/include/asm/elf.h linux-2.6.38.1-new/arch/parisc/include/asm/elf.h
+diff -urNp linux-2.6.38.1/arch/parisc/include/asm/elf.h linux-2.6.38.1/arch/parisc/include/asm/elf.h
--- linux-2.6.38.1/arch/parisc/include/asm/elf.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/parisc/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/parisc/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
@@ -342,6 +342,13 @@ struct pt_regs; /* forward declaration..
#define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x01000000)
@@ -1649,9 +1649,9 @@ diff -urNp linux-2.6.38.1/arch/parisc/include/asm/elf.h linux-2.6.38.1-new/arch/
/* This yields a mask that user programs can use to figure out what
instruction set this CPU supports. This could be done in user space,
but it's not easy, and we've already done it here. */
-diff -urNp linux-2.6.38.1/arch/parisc/include/asm/pgtable.h linux-2.6.38.1-new/arch/parisc/include/asm/pgtable.h
+diff -urNp linux-2.6.38.1/arch/parisc/include/asm/pgtable.h linux-2.6.38.1/arch/parisc/include/asm/pgtable.h
--- linux-2.6.38.1/arch/parisc/include/asm/pgtable.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/parisc/include/asm/pgtable.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/parisc/include/asm/pgtable.h 2011-03-21 18:31:35.000000000 -0400
@@ -209,6 +209,17 @@ struct vm_area_struct;
#define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESSED)
#define PAGE_COPY PAGE_EXECREAD
@@ -1670,9 +1670,9 @@ diff -urNp linux-2.6.38.1/arch/parisc/include/asm/pgtable.h linux-2.6.38.1-new/a
#define PAGE_KERNEL __pgprot(_PAGE_KERNEL)
#define PAGE_KERNEL_RO __pgprot(_PAGE_KERNEL & ~_PAGE_WRITE)
#define PAGE_KERNEL_UNC __pgprot(_PAGE_KERNEL | _PAGE_NO_CACHE)
-diff -urNp linux-2.6.38.1/arch/parisc/kernel/module.c linux-2.6.38.1-new/arch/parisc/kernel/module.c
+diff -urNp linux-2.6.38.1/arch/parisc/kernel/module.c linux-2.6.38.1/arch/parisc/kernel/module.c
--- linux-2.6.38.1/arch/parisc/kernel/module.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/parisc/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/parisc/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
@@ -96,16 +96,38 @@
/* three functions to determine where in the module core
@@ -1773,9 +1773,9 @@ diff -urNp linux-2.6.38.1/arch/parisc/kernel/module.c linux-2.6.38.1-new/arch/pa
DEBUGP("register_unwind_table(), sect = %d at 0x%p - 0x%p (gp=0x%lx)\n",
me->arch.unwind_section, table, end, gp);
-diff -urNp linux-2.6.38.1/arch/parisc/kernel/sys_parisc.c linux-2.6.38.1-new/arch/parisc/kernel/sys_parisc.c
+diff -urNp linux-2.6.38.1/arch/parisc/kernel/sys_parisc.c linux-2.6.38.1/arch/parisc/kernel/sys_parisc.c
--- linux-2.6.38.1/arch/parisc/kernel/sys_parisc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/parisc/kernel/sys_parisc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/parisc/kernel/sys_parisc.c 2011-03-21 18:31:35.000000000 -0400
@@ -43,7 +43,7 @@ static unsigned long get_unshared_area(u
/* At this point: (!vma || addr < vma->vm_end). */
if (TASK_SIZE - len < addr)
@@ -1803,9 +1803,9 @@ diff -urNp linux-2.6.38.1/arch/parisc/kernel/sys_parisc.c linux-2.6.38.1-new/arc
if (filp) {
addr = get_shared_area(filp->f_mapping, addr, len, pgoff);
-diff -urNp linux-2.6.38.1/arch/parisc/kernel/traps.c linux-2.6.38.1-new/arch/parisc/kernel/traps.c
+diff -urNp linux-2.6.38.1/arch/parisc/kernel/traps.c linux-2.6.38.1/arch/parisc/kernel/traps.c
--- linux-2.6.38.1/arch/parisc/kernel/traps.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/parisc/kernel/traps.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/parisc/kernel/traps.c 2011-03-21 18:31:35.000000000 -0400
@@ -733,9 +733,7 @@ void notrace handle_interruption(int cod
down_read(&current->mm->mmap_sem);
@@ -1817,9 +1817,9 @@ diff -urNp linux-2.6.38.1/arch/parisc/kernel/traps.c linux-2.6.38.1-new/arch/par
fault_address = regs->iaoq[0];
fault_space = regs->iasq[0];
-diff -urNp linux-2.6.38.1/arch/parisc/mm/fault.c linux-2.6.38.1-new/arch/parisc/mm/fault.c
+diff -urNp linux-2.6.38.1/arch/parisc/mm/fault.c linux-2.6.38.1/arch/parisc/mm/fault.c
--- linux-2.6.38.1/arch/parisc/mm/fault.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/parisc/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/parisc/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
@@ -15,6 +15,7 @@
#include <linux/sched.h>
#include <linux/interrupt.h>
@@ -1989,9 +1989,9 @@ diff -urNp linux-2.6.38.1/arch/parisc/mm/fault.c linux-2.6.38.1-new/arch/parisc/
/*
* If for any reason at all we couldn't handle the fault, make
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/device.h linux-2.6.38.1-new/arch/powerpc/include/asm/device.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/device.h linux-2.6.38.1/arch/powerpc/include/asm/device.h
--- linux-2.6.38.1/arch/powerpc/include/asm/device.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/device.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/device.h 2011-03-21 18:31:35.000000000 -0400
@@ -17,7 +17,7 @@ struct device_node;
*/
struct dev_archdata {
@@ -2001,9 +2001,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/device.h linux-2.6.38.1-new/a
/*
* When an iommu is in use, dma_data is used as a ptr to the base of the
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/dma-mapping.h linux-2.6.38.1-new/arch/powerpc/include/asm/dma-mapping.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/dma-mapping.h linux-2.6.38.1/arch/powerpc/include/asm/dma-mapping.h
--- linux-2.6.38.1/arch/powerpc/include/asm/dma-mapping.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
@@ -66,12 +66,13 @@ static inline unsigned long device_to_ma
/*
* Available generic sets of operations
@@ -2066,9 +2066,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/dma-mapping.h linux-2.6.38.1-
if (dma_ops->mapping_error)
return dma_ops->mapping_error(dev, dma_addr);
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/elf.h linux-2.6.38.1-new/arch/powerpc/include/asm/elf.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/elf.h linux-2.6.38.1/arch/powerpc/include/asm/elf.h
--- linux-2.6.38.1/arch/powerpc/include/asm/elf.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
@@ -178,8 +178,19 @@ typedef elf_fpreg_t elf_vsrreghalf_t32[E
the loader. We need to make sure that it is out of the way of the program
that it will "exec", and that there is sufficient room for the brk. */
@@ -2101,9 +2101,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/elf.h linux-2.6.38.1-new/arch
#endif /* __KERNEL__ */
/*
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/iommu.h linux-2.6.38.1-new/arch/powerpc/include/asm/iommu.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/iommu.h linux-2.6.38.1/arch/powerpc/include/asm/iommu.h
--- linux-2.6.38.1/arch/powerpc/include/asm/iommu.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/iommu.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/iommu.h 2011-03-21 18:31:35.000000000 -0400
@@ -116,6 +116,9 @@ extern void iommu_init_early_iSeries(voi
extern void iommu_init_early_dart(void);
extern void iommu_init_early_pasemi(void);
@@ -2114,9 +2114,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/iommu.h linux-2.6.38.1-new/ar
#ifdef CONFIG_PCI
extern void pci_iommu_init(void);
extern void pci_direct_iommu_init(void);
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/kmap_types.h linux-2.6.38.1-new/arch/powerpc/include/asm/kmap_types.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/kmap_types.h linux-2.6.38.1/arch/powerpc/include/asm/kmap_types.h
--- linux-2.6.38.1/arch/powerpc/include/asm/kmap_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -27,6 +27,7 @@ enum km_type {
KM_PPC_SYNC_PAGE,
KM_PPC_SYNC_ICACHE,
@@ -2125,9 +2125,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/kmap_types.h linux-2.6.38.1-n
KM_TYPE_NR
};
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/page_64.h linux-2.6.38.1-new/arch/powerpc/include/asm/page_64.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/page_64.h linux-2.6.38.1/arch/powerpc/include/asm/page_64.h
--- linux-2.6.38.1/arch/powerpc/include/asm/page_64.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/page_64.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/page_64.h 2011-03-21 18:31:35.000000000 -0400
@@ -172,15 +172,18 @@ do { \
* stack by default, so in the absense of a PT_GNU_STACK program header
* we turn execute permission off.
@@ -2149,9 +2149,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/page_64.h linux-2.6.38.1-new/
#include <asm-generic/getorder.h>
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/page.h linux-2.6.38.1-new/arch/powerpc/include/asm/page.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/page.h linux-2.6.38.1/arch/powerpc/include/asm/page.h
--- linux-2.6.38.1/arch/powerpc/include/asm/page.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/page.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/page.h 2011-03-21 18:31:35.000000000 -0400
@@ -129,8 +129,9 @@ extern phys_addr_t kernstart_addr;
* and needs to be executable. This means the whole heap ends
* up being executable.
@@ -2174,9 +2174,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/page.h linux-2.6.38.1-new/arc
#ifndef __ASSEMBLY__
#undef STRICT_MM_TYPECHECKS
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/pci.h linux-2.6.38.1-new/arch/powerpc/include/asm/pci.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/pci.h linux-2.6.38.1/arch/powerpc/include/asm/pci.h
--- linux-2.6.38.1/arch/powerpc/include/asm/pci.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/pci.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/pci.h 2011-03-21 18:31:35.000000000 -0400
@@ -65,8 +65,8 @@ static inline int pci_get_legacy_ide_irq
}
@@ -2188,9 +2188,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/pci.h linux-2.6.38.1-new/arch
#else /* CONFIG_PCI */
#define set_pci_dma_ops(d)
#define get_pci_dma_ops() NULL
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/pgtable.h linux-2.6.38.1-new/arch/powerpc/include/asm/pgtable.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/pgtable.h linux-2.6.38.1/arch/powerpc/include/asm/pgtable.h
--- linux-2.6.38.1/arch/powerpc/include/asm/pgtable.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/pgtable.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/pgtable.h 2011-03-21 18:31:35.000000000 -0400
@@ -2,6 +2,7 @@
#define _ASM_POWERPC_PGTABLE_H
#ifdef __KERNEL__
@@ -2199,9 +2199,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/pgtable.h linux-2.6.38.1-new/
#ifndef __ASSEMBLY__
#include <asm/processor.h> /* For TASK_SIZE */
#include <asm/mmu.h>
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/pte-hash32.h linux-2.6.38.1-new/arch/powerpc/include/asm/pte-hash32.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/pte-hash32.h linux-2.6.38.1/arch/powerpc/include/asm/pte-hash32.h
--- linux-2.6.38.1/arch/powerpc/include/asm/pte-hash32.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/pte-hash32.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/pte-hash32.h 2011-03-21 18:31:35.000000000 -0400
@@ -21,6 +21,7 @@
#define _PAGE_FILE 0x004 /* when !present: nonlinear file mapping */
#define _PAGE_USER 0x004 /* usermode access allowed */
@@ -2210,9 +2210,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/pte-hash32.h linux-2.6.38.1-n
#define _PAGE_COHERENT 0x010 /* M: enforce memory coherence (SMP systems) */
#define _PAGE_NO_CACHE 0x020 /* I: cache inhibit */
#define _PAGE_WRITETHRU 0x040 /* W: cache write-through */
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/reg.h linux-2.6.38.1-new/arch/powerpc/include/asm/reg.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/reg.h linux-2.6.38.1/arch/powerpc/include/asm/reg.h
--- linux-2.6.38.1/arch/powerpc/include/asm/reg.h 2011-03-23 17:20:06.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/reg.h 2011-03-23 17:21:43.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/reg.h 2011-03-23 17:21:43.000000000 -0400
@@ -191,6 +191,7 @@
#define SPRN_DBCR 0x136 /* e300 Data Breakpoint Control Reg */
#define SPRN_DSISR 0x012 /* Data Storage Interrupt Status Register */
@@ -2221,9 +2221,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/reg.h linux-2.6.38.1-new/arch
#define DSISR_PROTFAULT 0x08000000 /* protection fault */
#define DSISR_ISSTORE 0x02000000 /* access was a store */
#define DSISR_DABRMATCH 0x00400000 /* hit data breakpoint */
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/swiotlb.h linux-2.6.38.1-new/arch/powerpc/include/asm/swiotlb.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/swiotlb.h linux-2.6.38.1/arch/powerpc/include/asm/swiotlb.h
--- linux-2.6.38.1/arch/powerpc/include/asm/swiotlb.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/swiotlb.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/swiotlb.h 2011-03-21 18:31:35.000000000 -0400
@@ -13,7 +13,7 @@
#include <linux/swiotlb.h>
@@ -2233,9 +2233,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/swiotlb.h linux-2.6.38.1-new/
static inline void dma_mark_clean(void *addr, size_t size) {}
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/system.h linux-2.6.38.1-new/arch/powerpc/include/asm/system.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/system.h linux-2.6.38.1/arch/powerpc/include/asm/system.h
--- linux-2.6.38.1/arch/powerpc/include/asm/system.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/system.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/system.h 2011-03-21 18:31:35.000000000 -0400
@@ -533,7 +533,7 @@ __cmpxchg_local(volatile void *ptr, unsi
#define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n))
#endif
@@ -2245,9 +2245,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/system.h linux-2.6.38.1-new/a
/* Used in very early kernel initialization. */
extern unsigned long reloc_offset(void);
-diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/uaccess.h linux-2.6.38.1-new/arch/powerpc/include/asm/uaccess.h
+diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/uaccess.h linux-2.6.38.1/arch/powerpc/include/asm/uaccess.h
--- linux-2.6.38.1/arch/powerpc/include/asm/uaccess.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
@@ -13,6 +13,8 @@
#define VERIFY_READ 0
#define VERIFY_WRITE 1
@@ -2425,9 +2425,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/include/asm/uaccess.h linux-2.6.38.1-new/
extern unsigned long __clear_user(void __user *addr, unsigned long size);
static inline unsigned long clear_user(void __user *addr, unsigned long size)
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/dma.c linux-2.6.38.1-new/arch/powerpc/kernel/dma.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/dma.c linux-2.6.38.1/arch/powerpc/kernel/dma.c
--- linux-2.6.38.1/arch/powerpc/kernel/dma.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/dma.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/dma.c 2011-03-21 18:31:35.000000000 -0400
@@ -136,7 +136,7 @@ static inline void dma_direct_sync_singl
}
#endif
@@ -2446,9 +2446,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/dma.c linux-2.6.38.1-new/arch/powe
if (ppc_md.dma_set_mask)
return ppc_md.dma_set_mask(dev, dma_mask);
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/dma-iommu.c linux-2.6.38.1-new/arch/powerpc/kernel/dma-iommu.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/dma-iommu.c linux-2.6.38.1/arch/powerpc/kernel/dma-iommu.c
--- linux-2.6.38.1/arch/powerpc/kernel/dma-iommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/dma-iommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/dma-iommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -70,7 +70,7 @@ static void dma_iommu_unmap_sg(struct de
}
@@ -2467,9 +2467,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/dma-iommu.c linux-2.6.38.1-new/arc
.alloc_coherent = dma_iommu_alloc_coherent,
.free_coherent = dma_iommu_free_coherent,
.map_sg = dma_iommu_map_sg,
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/dma-swiotlb.c linux-2.6.38.1-new/arch/powerpc/kernel/dma-swiotlb.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/dma-swiotlb.c linux-2.6.38.1/arch/powerpc/kernel/dma-swiotlb.c
--- linux-2.6.38.1/arch/powerpc/kernel/dma-swiotlb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/dma-swiotlb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/dma-swiotlb.c 2011-03-21 18:31:35.000000000 -0400
@@ -31,7 +31,7 @@ unsigned int ppc_swiotlb_enable;
* map_page, and unmap_page on highmem, use normal dma_ops
* for everything else.
@@ -2479,9 +2479,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/dma-swiotlb.c linux-2.6.38.1-new/a
.alloc_coherent = dma_direct_alloc_coherent,
.free_coherent = dma_direct_free_coherent,
.map_sg = swiotlb_map_sg_attrs,
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/exceptions-64e.S linux-2.6.38.1-new/arch/powerpc/kernel/exceptions-64e.S
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/exceptions-64e.S linux-2.6.38.1/arch/powerpc/kernel/exceptions-64e.S
--- linux-2.6.38.1/arch/powerpc/kernel/exceptions-64e.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/exceptions-64e.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/exceptions-64e.S 2011-03-21 18:31:35.000000000 -0400
@@ -495,6 +495,7 @@ storage_fault_common:
std r14,_DAR(r1)
std r15,_DSISR(r1)
@@ -2500,9 +2500,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/exceptions-64e.S linux-2.6.38.1-ne
addi r3,r1,STACK_FRAME_OVERHEAD
ld r4,_DAR(r1)
bl .bad_page_fault
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/exceptions-64s.S linux-2.6.38.1-new/arch/powerpc/kernel/exceptions-64s.S
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/exceptions-64s.S linux-2.6.38.1/arch/powerpc/kernel/exceptions-64s.S
--- linux-2.6.38.1/arch/powerpc/kernel/exceptions-64s.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/exceptions-64s.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/exceptions-64s.S 2011-03-21 18:31:35.000000000 -0400
@@ -848,10 +848,10 @@ handle_page_fault:
11: ld r4,_DAR(r1)
ld r5,_DSISR(r1)
@@ -2515,9 +2515,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/exceptions-64s.S linux-2.6.38.1-ne
mr r5,r3
addi r3,r1,STACK_FRAME_OVERHEAD
lwz r4,_DAR(r1)
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/ibmebus.c linux-2.6.38.1-new/arch/powerpc/kernel/ibmebus.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/ibmebus.c linux-2.6.38.1/arch/powerpc/kernel/ibmebus.c
--- linux-2.6.38.1/arch/powerpc/kernel/ibmebus.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/ibmebus.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/ibmebus.c 2011-03-21 18:31:35.000000000 -0400
@@ -128,7 +128,7 @@ static int ibmebus_dma_supported(struct
return 1;
}
@@ -2527,9 +2527,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/ibmebus.c linux-2.6.38.1-new/arch/
.alloc_coherent = ibmebus_alloc_coherent,
.free_coherent = ibmebus_free_coherent,
.map_sg = ibmebus_map_sg,
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/kgdb.c linux-2.6.38.1-new/arch/powerpc/kernel/kgdb.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/kgdb.c linux-2.6.38.1/arch/powerpc/kernel/kgdb.c
--- linux-2.6.38.1/arch/powerpc/kernel/kgdb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
@@ -422,7 +422,7 @@ int kgdb_arch_handle_exception(int vecto
/*
* Global data
@@ -2539,9 +2539,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/kgdb.c linux-2.6.38.1-new/arch/pow
.gdb_bpt_instr = {0x7d, 0x82, 0x10, 0x08},
};
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/module_32.c linux-2.6.38.1-new/arch/powerpc/kernel/module_32.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/module_32.c linux-2.6.38.1/arch/powerpc/kernel/module_32.c
--- linux-2.6.38.1/arch/powerpc/kernel/module_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/module_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/module_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -162,7 +162,7 @@ int module_frob_arch_sections(Elf32_Ehdr
me->arch.core_plt_section = i;
}
@@ -2571,9 +2571,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/module_32.c linux-2.6.38.1-new/arc
/* Find this entry, or if that fails, the next avail. entry */
while (entry->jump[0]) {
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/module.c linux-2.6.38.1-new/arch/powerpc/kernel/module.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/module.c linux-2.6.38.1/arch/powerpc/kernel/module.c
--- linux-2.6.38.1/arch/powerpc/kernel/module.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
@@ -31,11 +31,24 @@
LIST_HEAD(module_bug_list);
@@ -2613,9 +2613,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/module.c linux-2.6.38.1-new/arch/p
static const Elf_Shdr *find_section(const Elf_Ehdr *hdr,
const Elf_Shdr *sechdrs,
const char *name)
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/pci-common.c linux-2.6.38.1-new/arch/powerpc/kernel/pci-common.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/pci-common.c linux-2.6.38.1/arch/powerpc/kernel/pci-common.c
--- linux-2.6.38.1/arch/powerpc/kernel/pci-common.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/pci-common.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/pci-common.c 2011-03-21 18:31:35.000000000 -0400
@@ -52,14 +52,14 @@ resource_size_t isa_mem_base;
unsigned int ppc_pci_flags = 0;
@@ -2634,9 +2634,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/pci-common.c linux-2.6.38.1-new/ar
{
return pci_dma_ops;
}
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/process.c linux-2.6.38.1-new/arch/powerpc/kernel/process.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/process.c linux-2.6.38.1/arch/powerpc/kernel/process.c
--- linux-2.6.38.1/arch/powerpc/kernel/process.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
@@ -655,8 +655,8 @@ void show_regs(struct pt_regs * regs)
* Lookup NIP late so we have the best change of getting the
* above info out without failing
@@ -2729,9 +2729,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/process.c linux-2.6.38.1-new/arch/
-
- return ret;
-}
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/signal_32.c linux-2.6.38.1-new/arch/powerpc/kernel/signal_32.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/signal_32.c linux-2.6.38.1/arch/powerpc/kernel/signal_32.c
--- linux-2.6.38.1/arch/powerpc/kernel/signal_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/signal_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/signal_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -858,7 +858,7 @@ int handle_rt_signal32(unsigned long sig
/* Save user registers on the stack */
frame = &rt_sf->uc.uc_mcontext;
@@ -2741,9 +2741,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/signal_32.c linux-2.6.38.1-new/arc
if (save_user_regs(regs, frame, 0, 1))
goto badframe;
regs->link = current->mm->context.vdso_base + vdso32_rt_sigtramp;
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/signal_64.c linux-2.6.38.1-new/arch/powerpc/kernel/signal_64.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/signal_64.c linux-2.6.38.1/arch/powerpc/kernel/signal_64.c
--- linux-2.6.38.1/arch/powerpc/kernel/signal_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/signal_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/signal_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -429,7 +429,7 @@ int handle_rt_signal64(int signr, struct
current->thread.fpscr.val = 0;
@@ -2753,9 +2753,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/signal_64.c linux-2.6.38.1-new/arc
regs->link = current->mm->context.vdso_base + vdso64_rt_sigtramp;
} else {
err |= setup_trampoline(__NR_rt_sigreturn, &frame->tramp[0]);
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/vdso.c linux-2.6.38.1-new/arch/powerpc/kernel/vdso.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/vdso.c linux-2.6.38.1/arch/powerpc/kernel/vdso.c
--- linux-2.6.38.1/arch/powerpc/kernel/vdso.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/vdso.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/vdso.c 2011-03-21 18:31:35.000000000 -0400
@@ -36,6 +36,7 @@
#include <asm/firmware.h>
#include <asm/vdso.h>
@@ -2782,9 +2782,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/vdso.c linux-2.6.38.1-new/arch/pow
if (IS_ERR_VALUE(vdso_base)) {
rc = vdso_base;
goto fail_mmapsem;
-diff -urNp linux-2.6.38.1/arch/powerpc/kernel/vio.c linux-2.6.38.1-new/arch/powerpc/kernel/vio.c
+diff -urNp linux-2.6.38.1/arch/powerpc/kernel/vio.c linux-2.6.38.1/arch/powerpc/kernel/vio.c
--- linux-2.6.38.1/arch/powerpc/kernel/vio.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/kernel/vio.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/kernel/vio.c 2011-03-21 18:31:35.000000000 -0400
@@ -605,11 +605,12 @@ static int vio_dma_iommu_dma_supported(s
return dma_iommu_ops.dma_supported(dev, mask);
}
@@ -2799,9 +2799,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/kernel/vio.c linux-2.6.38.1-new/arch/powe
.map_page = vio_dma_iommu_map_page,
.unmap_page = vio_dma_iommu_unmap_page,
.dma_supported = vio_dma_iommu_dma_supported,
-diff -urNp linux-2.6.38.1/arch/powerpc/lib/usercopy_64.c linux-2.6.38.1-new/arch/powerpc/lib/usercopy_64.c
+diff -urNp linux-2.6.38.1/arch/powerpc/lib/usercopy_64.c linux-2.6.38.1/arch/powerpc/lib/usercopy_64.c
--- linux-2.6.38.1/arch/powerpc/lib/usercopy_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/lib/usercopy_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/lib/usercopy_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -9,22 +9,6 @@
#include <linux/module.h>
#include <asm/uaccess.h>
@@ -2833,9 +2833,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/lib/usercopy_64.c linux-2.6.38.1-new/arch
-EXPORT_SYMBOL(copy_to_user);
EXPORT_SYMBOL(copy_in_user);
-diff -urNp linux-2.6.38.1/arch/powerpc/mm/fault.c linux-2.6.38.1-new/arch/powerpc/mm/fault.c
+diff -urNp linux-2.6.38.1/arch/powerpc/mm/fault.c linux-2.6.38.1/arch/powerpc/mm/fault.c
--- linux-2.6.38.1/arch/powerpc/mm/fault.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/mm/fault.c 2011-03-21 18:31:35.000000000 -0400
@@ -31,6 +31,10 @@
#include <linux/kdebug.h>
#include <linux/perf_event.h>
@@ -2940,9 +2940,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/mm/fault.c linux-2.6.38.1-new/arch/powerp
_exception(SIGSEGV, regs, code, address);
return 0;
}
-diff -urNp linux-2.6.38.1/arch/powerpc/mm/mmap_64.c linux-2.6.38.1-new/arch/powerpc/mm/mmap_64.c
+diff -urNp linux-2.6.38.1/arch/powerpc/mm/mmap_64.c linux-2.6.38.1/arch/powerpc/mm/mmap_64.c
--- linux-2.6.38.1/arch/powerpc/mm/mmap_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/mm/mmap_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/mm/mmap_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -99,10 +99,22 @@ void arch_pick_mmap_layout(struct mm_str
*/
if (mmap_is_legacy()) {
@@ -2966,9 +2966,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/mm/mmap_64.c linux-2.6.38.1-new/arch/powe
mm->get_unmapped_area = arch_get_unmapped_area_topdown;
mm->unmap_area = arch_unmap_area_topdown;
}
-diff -urNp linux-2.6.38.1/arch/powerpc/mm/slice.c linux-2.6.38.1-new/arch/powerpc/mm/slice.c
+diff -urNp linux-2.6.38.1/arch/powerpc/mm/slice.c linux-2.6.38.1/arch/powerpc/mm/slice.c
--- linux-2.6.38.1/arch/powerpc/mm/slice.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/mm/slice.c 2011-03-21 23:47:41.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/mm/slice.c 2011-03-21 23:47:41.000000000 -0400
@@ -98,7 +98,7 @@ static int slice_area_is_free(struct mm_
if ((mm->task_size - len) < addr)
return 0;
@@ -3035,9 +3035,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/mm/slice.c linux-2.6.38.1-new/arch/powerp
/* If hint, make sure it matches our alignment restrictions */
if (!fixed && addr) {
addr = _ALIGN_UP(addr, 1ul << pshift);
-diff -urNp linux-2.6.38.1/arch/powerpc/platforms/cell/iommu.c linux-2.6.38.1-new/arch/powerpc/platforms/cell/iommu.c
+diff -urNp linux-2.6.38.1/arch/powerpc/platforms/cell/iommu.c linux-2.6.38.1/arch/powerpc/platforms/cell/iommu.c
--- linux-2.6.38.1/arch/powerpc/platforms/cell/iommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/platforms/cell/iommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/platforms/cell/iommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -642,7 +642,7 @@ static int dma_fixed_dma_supported(struc
static int dma_set_mask_and_switch(struct device *dev, u64 dma_mask);
@@ -3047,9 +3047,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/platforms/cell/iommu.c linux-2.6.38.1-new
.alloc_coherent = dma_fixed_alloc_coherent,
.free_coherent = dma_fixed_free_coherent,
.map_sg = dma_fixed_map_sg,
-diff -urNp linux-2.6.38.1/arch/powerpc/platforms/ps3/system-bus.c linux-2.6.38.1-new/arch/powerpc/platforms/ps3/system-bus.c
+diff -urNp linux-2.6.38.1/arch/powerpc/platforms/ps3/system-bus.c linux-2.6.38.1/arch/powerpc/platforms/ps3/system-bus.c
--- linux-2.6.38.1/arch/powerpc/platforms/ps3/system-bus.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/platforms/ps3/system-bus.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/platforms/ps3/system-bus.c 2011-03-21 18:31:35.000000000 -0400
@@ -695,7 +695,7 @@ static int ps3_dma_supported(struct devi
return mask >= DMA_BIT_MASK(32);
}
@@ -3068,9 +3068,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/platforms/ps3/system-bus.c linux-2.6.38.1
.alloc_coherent = ps3_alloc_coherent,
.free_coherent = ps3_free_coherent,
.map_sg = ps3_ioc0_map_sg,
-diff -urNp linux-2.6.38.1/arch/powerpc/sysdev/ppc4xx_cpm.c linux-2.6.38.1-new/arch/powerpc/sysdev/ppc4xx_cpm.c
+diff -urNp linux-2.6.38.1/arch/powerpc/sysdev/ppc4xx_cpm.c linux-2.6.38.1/arch/powerpc/sysdev/ppc4xx_cpm.c
--- linux-2.6.38.1/arch/powerpc/sysdev/ppc4xx_cpm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/powerpc/sysdev/ppc4xx_cpm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/powerpc/sysdev/ppc4xx_cpm.c 2011-03-21 18:31:35.000000000 -0400
@@ -240,7 +240,7 @@ static int cpm_suspend_enter(suspend_sta
return 0;
}
@@ -3080,9 +3080,9 @@ diff -urNp linux-2.6.38.1/arch/powerpc/sysdev/ppc4xx_cpm.c linux-2.6.38.1-new/ar
.valid = cpm_suspend_valid,
.enter = cpm_suspend_enter,
};
-diff -urNp linux-2.6.38.1/arch/s390/include/asm/elf.h linux-2.6.38.1-new/arch/s390/include/asm/elf.h
+diff -urNp linux-2.6.38.1/arch/s390/include/asm/elf.h linux-2.6.38.1/arch/s390/include/asm/elf.h
--- linux-2.6.38.1/arch/s390/include/asm/elf.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/s390/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/s390/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
@@ -162,8 +162,14 @@ extern unsigned int vdso_enabled;
the loader. We need to make sure that it is out of the way of the program
that it will "exec", and that there is sufficient room for the brk. */
@@ -3108,9 +3108,9 @@ diff -urNp linux-2.6.38.1/arch/s390/include/asm/elf.h linux-2.6.38.1-new/arch/s3
-#define arch_randomize_brk arch_randomize_brk
-
#endif
-diff -urNp linux-2.6.38.1/arch/s390/include/asm/system.h linux-2.6.38.1-new/arch/s390/include/asm/system.h
+diff -urNp linux-2.6.38.1/arch/s390/include/asm/system.h linux-2.6.38.1/arch/s390/include/asm/system.h
--- linux-2.6.38.1/arch/s390/include/asm/system.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/s390/include/asm/system.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/s390/include/asm/system.h 2011-03-21 18:31:35.000000000 -0400
@@ -449,7 +449,7 @@ extern void (*_machine_restart)(char *co
extern void (*_machine_halt)(void);
extern void (*_machine_power_off)(void);
@@ -3120,9 +3120,9 @@ diff -urNp linux-2.6.38.1/arch/s390/include/asm/system.h linux-2.6.38.1-new/arch
static inline int tprot(unsigned long addr)
{
-diff -urNp linux-2.6.38.1/arch/s390/include/asm/uaccess.h linux-2.6.38.1-new/arch/s390/include/asm/uaccess.h
+diff -urNp linux-2.6.38.1/arch/s390/include/asm/uaccess.h linux-2.6.38.1/arch/s390/include/asm/uaccess.h
--- linux-2.6.38.1/arch/s390/include/asm/uaccess.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/s390/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/s390/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
@@ -234,6 +234,10 @@ static inline unsigned long __must_check
copy_to_user(void __user *to, const void *from, unsigned long n)
{
@@ -3155,9 +3155,9 @@ diff -urNp linux-2.6.38.1/arch/s390/include/asm/uaccess.h linux-2.6.38.1-new/arc
if (unlikely(sz != -1 && sz < n)) {
copy_from_user_overflow();
return n;
-diff -urNp linux-2.6.38.1/arch/s390/Kconfig linux-2.6.38.1-new/arch/s390/Kconfig
+diff -urNp linux-2.6.38.1/arch/s390/Kconfig linux-2.6.38.1/arch/s390/Kconfig
--- linux-2.6.38.1/arch/s390/Kconfig 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/s390/Kconfig 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/s390/Kconfig 2011-03-21 18:31:35.000000000 -0400
@@ -233,11 +233,9 @@ config S390_EXEC_PROTECT
prompt "Data execute protection"
help
@@ -3173,9 +3173,9 @@ diff -urNp linux-2.6.38.1/arch/s390/Kconfig linux-2.6.38.1-new/arch/s390/Kconfig
comment "Code generation options"
-diff -urNp linux-2.6.38.1/arch/s390/kernel/module.c linux-2.6.38.1-new/arch/s390/kernel/module.c
+diff -urNp linux-2.6.38.1/arch/s390/kernel/module.c linux-2.6.38.1/arch/s390/kernel/module.c
--- linux-2.6.38.1/arch/s390/kernel/module.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/s390/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/s390/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
@@ -168,11 +168,11 @@ module_frob_arch_sections(Elf_Ehdr *hdr,
/* Increase core size by size of got & plt and set start
@@ -3247,9 +3247,9 @@ diff -urNp linux-2.6.38.1/arch/s390/kernel/module.c linux-2.6.38.1-new/arch/s390
rela->r_addend - loc;
if (r_type == R_390_GOTPC)
*(unsigned int *) loc = val;
-diff -urNp linux-2.6.38.1/arch/s390/kernel/process.c linux-2.6.38.1-new/arch/s390/kernel/process.c
+diff -urNp linux-2.6.38.1/arch/s390/kernel/process.c linux-2.6.38.1/arch/s390/kernel/process.c
--- linux-2.6.38.1/arch/s390/kernel/process.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/s390/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/s390/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
@@ -334,39 +334,3 @@ unsigned long get_wchan(struct task_stru
}
return 0;
@@ -3290,9 +3290,9 @@ diff -urNp linux-2.6.38.1/arch/s390/kernel/process.c linux-2.6.38.1-new/arch/s39
- return base;
- return ret;
-}
-diff -urNp linux-2.6.38.1/arch/s390/kernel/setup.c linux-2.6.38.1-new/arch/s390/kernel/setup.c
+diff -urNp linux-2.6.38.1/arch/s390/kernel/setup.c linux-2.6.38.1/arch/s390/kernel/setup.c
--- linux-2.6.38.1/arch/s390/kernel/setup.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/s390/kernel/setup.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/s390/kernel/setup.c 2011-03-21 18:31:35.000000000 -0400
@@ -281,7 +281,7 @@ static int __init early_parse_mem(char *
}
early_param("mem", early_parse_mem);
@@ -3341,9 +3341,9 @@ diff -urNp linux-2.6.38.1/arch/s390/kernel/setup.c linux-2.6.38.1-new/arch/s390/
static void setup_addressing_mode(void)
{
if (user_mode == SECONDARY_SPACE_MODE) {
-diff -urNp linux-2.6.38.1/arch/s390/mm/maccess.c linux-2.6.38.1-new/arch/s390/mm/maccess.c
+diff -urNp linux-2.6.38.1/arch/s390/mm/maccess.c linux-2.6.38.1/arch/s390/mm/maccess.c
--- linux-2.6.38.1/arch/s390/mm/maccess.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/s390/mm/maccess.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/s390/mm/maccess.c 2011-03-21 18:31:35.000000000 -0400
@@ -45,7 +45,7 @@ static long probe_kernel_write_odd(void
return rc ? rc : count;
}
@@ -3353,9 +3353,9 @@ diff -urNp linux-2.6.38.1/arch/s390/mm/maccess.c linux-2.6.38.1-new/arch/s390/mm
{
long copied = 0;
-diff -urNp linux-2.6.38.1/arch/s390/mm/mmap.c linux-2.6.38.1-new/arch/s390/mm/mmap.c
+diff -urNp linux-2.6.38.1/arch/s390/mm/mmap.c linux-2.6.38.1/arch/s390/mm/mmap.c
--- linux-2.6.38.1/arch/s390/mm/mmap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/s390/mm/mmap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/s390/mm/mmap.c 2011-03-21 18:31:35.000000000 -0400
@@ -91,10 +91,22 @@ void arch_pick_mmap_layout(struct mm_str
*/
if (mmap_is_legacy()) {
@@ -3402,9 +3402,9 @@ diff -urNp linux-2.6.38.1/arch/s390/mm/mmap.c linux-2.6.38.1-new/arch/s390/mm/mm
mm->get_unmapped_area = s390_get_unmapped_area_topdown;
mm->unmap_area = arch_unmap_area_topdown;
}
-diff -urNp linux-2.6.38.1/arch/score/include/asm/system.h linux-2.6.38.1-new/arch/score/include/asm/system.h
+diff -urNp linux-2.6.38.1/arch/score/include/asm/system.h linux-2.6.38.1/arch/score/include/asm/system.h
--- linux-2.6.38.1/arch/score/include/asm/system.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/score/include/asm/system.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/score/include/asm/system.h 2011-03-21 18:31:35.000000000 -0400
@@ -17,7 +17,7 @@ do { \
#define finish_arch_switch(prev) do {} while (0)
@@ -3414,9 +3414,9 @@ diff -urNp linux-2.6.38.1/arch/score/include/asm/system.h linux-2.6.38.1-new/arc
#define mb() barrier()
#define rmb() barrier()
-diff -urNp linux-2.6.38.1/arch/score/kernel/process.c linux-2.6.38.1-new/arch/score/kernel/process.c
+diff -urNp linux-2.6.38.1/arch/score/kernel/process.c linux-2.6.38.1/arch/score/kernel/process.c
--- linux-2.6.38.1/arch/score/kernel/process.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/score/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/score/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
@@ -161,8 +161,3 @@ unsigned long get_wchan(struct task_stru
return task_pt_regs(task)->cp0_epc;
@@ -3426,9 +3426,9 @@ diff -urNp linux-2.6.38.1/arch/score/kernel/process.c linux-2.6.38.1-new/arch/sc
-{
- return sp;
-}
-diff -urNp linux-2.6.38.1/arch/sh/include/asm/dma-mapping.h linux-2.6.38.1-new/arch/sh/include/asm/dma-mapping.h
+diff -urNp linux-2.6.38.1/arch/sh/include/asm/dma-mapping.h linux-2.6.38.1/arch/sh/include/asm/dma-mapping.h
--- linux-2.6.38.1/arch/sh/include/asm/dma-mapping.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sh/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sh/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
@@ -1,10 +1,10 @@
#ifndef __ASM_SH_DMA_MAPPING_H
#define __ASM_SH_DMA_MAPPING_H
@@ -3487,9 +3487,9 @@ diff -urNp linux-2.6.38.1/arch/sh/include/asm/dma-mapping.h linux-2.6.38.1-new/a
if (dma_release_from_coherent(dev, get_order(size), vaddr))
return;
-diff -urNp linux-2.6.38.1/arch/sh/kernel/dma-nommu.c linux-2.6.38.1-new/arch/sh/kernel/dma-nommu.c
+diff -urNp linux-2.6.38.1/arch/sh/kernel/dma-nommu.c linux-2.6.38.1/arch/sh/kernel/dma-nommu.c
--- linux-2.6.38.1/arch/sh/kernel/dma-nommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sh/kernel/dma-nommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sh/kernel/dma-nommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -62,7 +62,7 @@ static void nommu_sync_sg(struct device
}
#endif
@@ -3499,9 +3499,9 @@ diff -urNp linux-2.6.38.1/arch/sh/kernel/dma-nommu.c linux-2.6.38.1-new/arch/sh/
.alloc_coherent = dma_generic_alloc_coherent,
.free_coherent = dma_generic_free_coherent,
.map_page = nommu_map_page,
-diff -urNp linux-2.6.38.1/arch/sh/kernel/kgdb.c linux-2.6.38.1-new/arch/sh/kernel/kgdb.c
+diff -urNp linux-2.6.38.1/arch/sh/kernel/kgdb.c linux-2.6.38.1/arch/sh/kernel/kgdb.c
--- linux-2.6.38.1/arch/sh/kernel/kgdb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sh/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sh/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
@@ -319,7 +319,7 @@ void kgdb_arch_exit(void)
unregister_die_notifier(&kgdb_notifier);
}
@@ -3511,9 +3511,9 @@ diff -urNp linux-2.6.38.1/arch/sh/kernel/kgdb.c linux-2.6.38.1-new/arch/sh/kerne
/* Breakpoint instruction: trapa #0x3c */
#ifdef CONFIG_CPU_LITTLE_ENDIAN
.gdb_bpt_instr = { 0x3c, 0xc3 },
-diff -urNp linux-2.6.38.1/arch/sh/mm/consistent.c linux-2.6.38.1-new/arch/sh/mm/consistent.c
+diff -urNp linux-2.6.38.1/arch/sh/mm/consistent.c linux-2.6.38.1/arch/sh/mm/consistent.c
--- linux-2.6.38.1/arch/sh/mm/consistent.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sh/mm/consistent.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sh/mm/consistent.c 2011-03-21 18:31:35.000000000 -0400
@@ -22,7 +22,7 @@
#define PREALLOC_DMA_DEBUG_ENTRIES 4096
@@ -3523,9 +3523,9 @@ diff -urNp linux-2.6.38.1/arch/sh/mm/consistent.c linux-2.6.38.1-new/arch/sh/mm/
EXPORT_SYMBOL(dma_ops);
static int __init dma_init(void)
-diff -urNp linux-2.6.38.1/arch/sh/mm/mmap.c linux-2.6.38.1-new/arch/sh/mm/mmap.c
+diff -urNp linux-2.6.38.1/arch/sh/mm/mmap.c linux-2.6.38.1/arch/sh/mm/mmap.c
--- linux-2.6.38.1/arch/sh/mm/mmap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sh/mm/mmap.c 2011-03-21 23:47:41.000000000 -0400
++++ linux-2.6.38.1/arch/sh/mm/mmap.c 2011-03-21 23:47:41.000000000 -0400
@@ -74,8 +74,7 @@ unsigned long arch_get_unmapped_area(str
addr = PAGE_ALIGN(addr);
@@ -3600,9 +3600,9 @@ diff -urNp linux-2.6.38.1/arch/sh/mm/mmap.c linux-2.6.38.1-new/arch/sh/mm/mmap.c
bottomup:
/*
-diff -urNp linux-2.6.38.1/arch/sparc/include/asm/atomic_64.h linux-2.6.38.1-new/arch/sparc/include/asm/atomic_64.h
+diff -urNp linux-2.6.38.1/arch/sparc/include/asm/atomic_64.h linux-2.6.38.1/arch/sparc/include/asm/atomic_64.h
--- linux-2.6.38.1/arch/sparc/include/asm/atomic_64.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/include/asm/atomic_64.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/include/asm/atomic_64.h 2011-03-21 18:31:35.000000000 -0400
@@ -14,18 +14,40 @@
#define ATOMIC64_INIT(i) { (i) }
@@ -3762,9 +3762,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/include/asm/atomic_64.h linux-2.6.38.1-new/
}
#define atomic64_inc_not_zero(v) atomic64_add_unless((v), 1, 0)
-diff -urNp linux-2.6.38.1/arch/sparc/include/asm/dma-mapping.h linux-2.6.38.1-new/arch/sparc/include/asm/dma-mapping.h
+diff -urNp linux-2.6.38.1/arch/sparc/include/asm/dma-mapping.h linux-2.6.38.1/arch/sparc/include/asm/dma-mapping.h
--- linux-2.6.38.1/arch/sparc/include/asm/dma-mapping.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
@@ -12,10 +12,10 @@ extern int dma_supported(struct device *
#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
@@ -3796,9 +3796,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/include/asm/dma-mapping.h linux-2.6.38.1-ne
debug_dma_free_coherent(dev, size, cpu_addr, dma_handle);
ops->free_coherent(dev, size, cpu_addr, dma_handle);
-diff -urNp linux-2.6.38.1/arch/sparc/include/asm/elf_32.h linux-2.6.38.1-new/arch/sparc/include/asm/elf_32.h
+diff -urNp linux-2.6.38.1/arch/sparc/include/asm/elf_32.h linux-2.6.38.1/arch/sparc/include/asm/elf_32.h
--- linux-2.6.38.1/arch/sparc/include/asm/elf_32.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/include/asm/elf_32.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/include/asm/elf_32.h 2011-03-21 18:31:35.000000000 -0400
@@ -114,6 +114,13 @@ typedef struct {
#define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE)
@@ -3813,9 +3813,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/include/asm/elf_32.h linux-2.6.38.1-new/arc
/* This yields a mask that user programs can use to figure out what
instruction set this cpu supports. This can NOT be done in userspace
on Sparc. */
-diff -urNp linux-2.6.38.1/arch/sparc/include/asm/elf_64.h linux-2.6.38.1-new/arch/sparc/include/asm/elf_64.h
+diff -urNp linux-2.6.38.1/arch/sparc/include/asm/elf_64.h linux-2.6.38.1/arch/sparc/include/asm/elf_64.h
--- linux-2.6.38.1/arch/sparc/include/asm/elf_64.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/include/asm/elf_64.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/include/asm/elf_64.h 2011-03-21 18:31:35.000000000 -0400
@@ -162,6 +162,12 @@ typedef struct {
#define ELF_ET_DYN_BASE 0x0000010000000000UL
#define COMPAT_ELF_ET_DYN_BASE 0x0000000070000000UL
@@ -3829,9 +3829,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/include/asm/elf_64.h linux-2.6.38.1-new/arc
/* This yields a mask that user programs can use to figure out what
instruction set this cpu supports. */
-diff -urNp linux-2.6.38.1/arch/sparc/include/asm/pgtable_32.h linux-2.6.38.1-new/arch/sparc/include/asm/pgtable_32.h
+diff -urNp linux-2.6.38.1/arch/sparc/include/asm/pgtable_32.h linux-2.6.38.1/arch/sparc/include/asm/pgtable_32.h
--- linux-2.6.38.1/arch/sparc/include/asm/pgtable_32.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/include/asm/pgtable_32.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/include/asm/pgtable_32.h 2011-03-21 18:31:35.000000000 -0400
@@ -43,6 +43,13 @@ BTFIXUPDEF_SIMM13(user_ptrs_per_pgd)
BTFIXUPDEF_INT(page_none)
BTFIXUPDEF_INT(page_copy)
@@ -3863,9 +3863,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/include/asm/pgtable_32.h linux-2.6.38.1-new
extern unsigned long page_kernel;
#ifdef MODULE
-diff -urNp linux-2.6.38.1/arch/sparc/include/asm/pgtsrmmu.h linux-2.6.38.1-new/arch/sparc/include/asm/pgtsrmmu.h
+diff -urNp linux-2.6.38.1/arch/sparc/include/asm/pgtsrmmu.h linux-2.6.38.1/arch/sparc/include/asm/pgtsrmmu.h
--- linux-2.6.38.1/arch/sparc/include/asm/pgtsrmmu.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/include/asm/pgtsrmmu.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/include/asm/pgtsrmmu.h 2011-03-21 18:31:35.000000000 -0400
@@ -115,6 +115,13 @@
SRMMU_EXEC | SRMMU_REF)
#define SRMMU_PAGE_RDONLY __pgprot(SRMMU_VALID | SRMMU_CACHE | \
@@ -3880,9 +3880,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/include/asm/pgtsrmmu.h linux-2.6.38.1-new/a
#define SRMMU_PAGE_KERNEL __pgprot(SRMMU_VALID | SRMMU_CACHE | SRMMU_PRIV | \
SRMMU_DIRTY | SRMMU_REF)
-diff -urNp linux-2.6.38.1/arch/sparc/include/asm/spinlock_64.h linux-2.6.38.1-new/arch/sparc/include/asm/spinlock_64.h
+diff -urNp linux-2.6.38.1/arch/sparc/include/asm/spinlock_64.h linux-2.6.38.1/arch/sparc/include/asm/spinlock_64.h
--- linux-2.6.38.1/arch/sparc/include/asm/spinlock_64.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/include/asm/spinlock_64.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/include/asm/spinlock_64.h 2011-03-21 18:31:35.000000000 -0400
@@ -99,7 +99,12 @@ static void inline arch_read_lock(arch_r
__asm__ __volatile__ (
"1: ldsw [%2], %0\n"
@@ -3934,9 +3934,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/include/asm/spinlock_64.h linux-2.6.38.1-ne
" cas [%2], %0, %1\n"
" cmp %0, %1\n"
" bne,pn %%xcc, 1b\n"
-diff -urNp linux-2.6.38.1/arch/sparc/include/asm/uaccess_32.h linux-2.6.38.1-new/arch/sparc/include/asm/uaccess_32.h
+diff -urNp linux-2.6.38.1/arch/sparc/include/asm/uaccess_32.h linux-2.6.38.1/arch/sparc/include/asm/uaccess_32.h
--- linux-2.6.38.1/arch/sparc/include/asm/uaccess_32.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/include/asm/uaccess_32.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/include/asm/uaccess_32.h 2011-03-21 18:31:35.000000000 -0400
@@ -249,27 +249,46 @@ extern unsigned long __copy_user(void __
static inline unsigned long copy_to_user(void __user *to, const void *from, unsigned long n)
@@ -3988,9 +3988,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/include/asm/uaccess_32.h linux-2.6.38.1-new
return __copy_user((__force void __user *) to, from, n);
}
-diff -urNp linux-2.6.38.1/arch/sparc/include/asm/uaccess_64.h linux-2.6.38.1-new/arch/sparc/include/asm/uaccess_64.h
+diff -urNp linux-2.6.38.1/arch/sparc/include/asm/uaccess_64.h linux-2.6.38.1/arch/sparc/include/asm/uaccess_64.h
--- linux-2.6.38.1/arch/sparc/include/asm/uaccess_64.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/include/asm/uaccess_64.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/include/asm/uaccess_64.h 2011-03-21 18:31:35.000000000 -0400
@@ -10,6 +10,7 @@
#include <linux/compiler.h>
#include <linux/string.h>
@@ -4033,9 +4033,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/include/asm/uaccess_64.h linux-2.6.38.1-new
if (unlikely(ret))
ret = copy_to_user_fixup(to, from, size);
return ret;
-diff -urNp linux-2.6.38.1/arch/sparc/include/asm/uaccess.h linux-2.6.38.1-new/arch/sparc/include/asm/uaccess.h
+diff -urNp linux-2.6.38.1/arch/sparc/include/asm/uaccess.h linux-2.6.38.1/arch/sparc/include/asm/uaccess.h
--- linux-2.6.38.1/arch/sparc/include/asm/uaccess.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
@@ -1,5 +1,13 @@
#ifndef ___ASM_SPARC_UACCESS_H
#define ___ASM_SPARC_UACCESS_H
@@ -4050,9 +4050,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/include/asm/uaccess.h linux-2.6.38.1-new/ar
#if defined(__sparc__) && defined(__arch64__)
#include <asm/uaccess_64.h>
#else
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/iommu.c linux-2.6.38.1-new/arch/sparc/kernel/iommu.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/iommu.c linux-2.6.38.1/arch/sparc/kernel/iommu.c
--- linux-2.6.38.1/arch/sparc/kernel/iommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/iommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/iommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -827,7 +827,7 @@ static void dma_4u_sync_sg_for_cpu(struc
spin_unlock_irqrestore(&iommu->lock, flags);
}
@@ -4071,9 +4071,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/iommu.c linux-2.6.38.1-new/arch/spar
EXPORT_SYMBOL(dma_ops);
extern int pci64_dma_supported(struct pci_dev *pdev, u64 device_mask);
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/ioport.c linux-2.6.38.1-new/arch/sparc/kernel/ioport.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/ioport.c linux-2.6.38.1/arch/sparc/kernel/ioport.c
--- linux-2.6.38.1/arch/sparc/kernel/ioport.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/ioport.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/ioport.c 2011-03-21 18:31:35.000000000 -0400
@@ -397,7 +397,7 @@ static void sbus_sync_sg_for_device(stru
BUG();
}
@@ -4101,9 +4101,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/ioport.c linux-2.6.38.1-new/arch/spa
.alloc_coherent = pci32_alloc_coherent,
.free_coherent = pci32_free_coherent,
.map_page = pci32_map_page,
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/kgdb_32.c linux-2.6.38.1-new/arch/sparc/kernel/kgdb_32.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/kgdb_32.c linux-2.6.38.1/arch/sparc/kernel/kgdb_32.c
--- linux-2.6.38.1/arch/sparc/kernel/kgdb_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/kgdb_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/kgdb_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -164,7 +164,7 @@ void kgdb_arch_set_pc(struct pt_regs *re
regs->npc = regs->pc + 4;
}
@@ -4113,9 +4113,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/kgdb_32.c linux-2.6.38.1-new/arch/sp
/* Breakpoint instruction: ta 0x7d */
.gdb_bpt_instr = { 0x91, 0xd0, 0x20, 0x7d },
};
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/kgdb_64.c linux-2.6.38.1-new/arch/sparc/kernel/kgdb_64.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/kgdb_64.c linux-2.6.38.1/arch/sparc/kernel/kgdb_64.c
--- linux-2.6.38.1/arch/sparc/kernel/kgdb_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/kgdb_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/kgdb_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -187,7 +187,7 @@ void kgdb_arch_set_pc(struct pt_regs *re
regs->tnpc = regs->tpc + 4;
}
@@ -4125,9 +4125,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/kgdb_64.c linux-2.6.38.1-new/arch/sp
/* Breakpoint instruction: ta 0x72 */
.gdb_bpt_instr = { 0x91, 0xd0, 0x20, 0x72 },
};
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/Makefile linux-2.6.38.1-new/arch/sparc/kernel/Makefile
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/Makefile linux-2.6.38.1/arch/sparc/kernel/Makefile
--- linux-2.6.38.1/arch/sparc/kernel/Makefile 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/Makefile 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/Makefile 2011-03-21 18:31:35.000000000 -0400
@@ -3,7 +3,7 @@
#
@@ -4137,9 +4137,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/Makefile linux-2.6.38.1-new/arch/spa
extra-y := head_$(BITS).o
extra-y += init_task.o
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/pci_sun4v.c linux-2.6.38.1-new/arch/sparc/kernel/pci_sun4v.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/pci_sun4v.c linux-2.6.38.1/arch/sparc/kernel/pci_sun4v.c
--- linux-2.6.38.1/arch/sparc/kernel/pci_sun4v.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/pci_sun4v.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/pci_sun4v.c 2011-03-21 18:31:35.000000000 -0400
@@ -525,7 +525,7 @@ static void dma_4v_unmap_sg(struct devic
spin_unlock_irqrestore(&iommu->lock, flags);
}
@@ -4149,9 +4149,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/pci_sun4v.c linux-2.6.38.1-new/arch/
.alloc_coherent = dma_4v_alloc_coherent,
.free_coherent = dma_4v_free_coherent,
.map_page = dma_4v_map_page,
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/process_32.c linux-2.6.38.1-new/arch/sparc/kernel/process_32.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/process_32.c linux-2.6.38.1/arch/sparc/kernel/process_32.c
--- linux-2.6.38.1/arch/sparc/kernel/process_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/process_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/process_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -196,7 +196,7 @@ void __show_backtrace(unsigned long fp)
rw->ins[4], rw->ins[5],
rw->ins[6],
@@ -4187,9 +4187,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/process_32.c linux-2.6.38.1-new/arch
fp = rw->ins[6];
} while (++count < 16);
printk("\n");
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/process_64.c linux-2.6.38.1-new/arch/sparc/kernel/process_64.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/process_64.c linux-2.6.38.1/arch/sparc/kernel/process_64.c
--- linux-2.6.38.1/arch/sparc/kernel/process_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/process_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/process_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -180,14 +180,14 @@ static void show_regwindow(struct pt_reg
printk("i4: %016lx i5: %016lx i6: %016lx i7: %016lx\n",
rwk->ins[4], rwk->ins[5], rwk->ins[6], rwk->ins[7]);
@@ -4225,9 +4225,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/process_64.c linux-2.6.38.1-new/arch
(void *) gp->tpc,
(void *) gp->o7,
(void *) gp->i7,
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/sys_sparc_32.c linux-2.6.38.1-new/arch/sparc/kernel/sys_sparc_32.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/sys_sparc_32.c linux-2.6.38.1/arch/sparc/kernel/sys_sparc_32.c
--- linux-2.6.38.1/arch/sparc/kernel/sys_sparc_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/sys_sparc_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/sys_sparc_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -56,7 +56,7 @@ unsigned long arch_get_unmapped_area(str
if (ARCH_SUN4C && len > 0x20000000)
return -ENOMEM;
@@ -4246,9 +4246,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/sys_sparc_32.c linux-2.6.38.1-new/ar
return addr;
addr = vmm->vm_end;
if (flags & MAP_SHARED)
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/sys_sparc_64.c linux-2.6.38.1-new/arch/sparc/kernel/sys_sparc_64.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/sys_sparc_64.c linux-2.6.38.1/arch/sparc/kernel/sys_sparc_64.c
--- linux-2.6.38.1/arch/sparc/kernel/sys_sparc_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/sys_sparc_64.c 2011-03-21 23:47:41.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/sys_sparc_64.c 2011-03-21 23:47:41.000000000 -0400
@@ -124,7 +124,7 @@ unsigned long arch_get_unmapped_area(str
/* We do not accept a shared mapping if it would violate
* cache aliasing constraints.
@@ -4396,9 +4396,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/sys_sparc_64.c linux-2.6.38.1-new/ar
mm->get_unmapped_area = arch_get_unmapped_area_topdown;
mm->unmap_area = arch_unmap_area_topdown;
}
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/traps_32.c linux-2.6.38.1-new/arch/sparc/kernel/traps_32.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/traps_32.c linux-2.6.38.1/arch/sparc/kernel/traps_32.c
--- linux-2.6.38.1/arch/sparc/kernel/traps_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/traps_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/traps_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -76,7 +76,7 @@ void die_if_kernel(char *str, struct pt_
count++ < 30 &&
(((unsigned long) rw) >= PAGE_OFFSET) &&
@@ -4408,9 +4408,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/traps_32.c linux-2.6.38.1-new/arch/s
(void *) rw->ins[7]);
rw = (struct reg_window32 *)rw->ins[6];
}
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/traps_64.c linux-2.6.38.1-new/arch/sparc/kernel/traps_64.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/traps_64.c linux-2.6.38.1/arch/sparc/kernel/traps_64.c
--- linux-2.6.38.1/arch/sparc/kernel/traps_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/traps_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/traps_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -75,7 +75,7 @@ static void dump_tl1_traplog(struct tl1_
i + 1,
p->trapstack[i].tstate, p->trapstack[i].tpc,
@@ -4527,9 +4527,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/traps_64.c linux-2.6.38.1-new/arch/s
(void *) rw->ins[7]);
rw = kernel_stack_up(rw);
-diff -urNp linux-2.6.38.1/arch/sparc/kernel/unaligned_64.c linux-2.6.38.1-new/arch/sparc/kernel/unaligned_64.c
+diff -urNp linux-2.6.38.1/arch/sparc/kernel/unaligned_64.c linux-2.6.38.1/arch/sparc/kernel/unaligned_64.c
--- linux-2.6.38.1/arch/sparc/kernel/unaligned_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/kernel/unaligned_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/kernel/unaligned_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -278,7 +278,7 @@ static void log_unaligned(struct pt_regs
static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5);
@@ -4539,9 +4539,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/kernel/unaligned_64.c linux-2.6.38.1-new/ar
regs->tpc, (void *) regs->tpc);
}
}
-diff -urNp linux-2.6.38.1/arch/sparc/lib/atomic_64.S linux-2.6.38.1-new/arch/sparc/lib/atomic_64.S
+diff -urNp linux-2.6.38.1/arch/sparc/lib/atomic_64.S linux-2.6.38.1/arch/sparc/lib/atomic_64.S
--- linux-2.6.38.1/arch/sparc/lib/atomic_64.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/lib/atomic_64.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/lib/atomic_64.S 2011-03-21 18:31:35.000000000 -0400
@@ -18,7 +18,12 @@
atomic_add: /* %o0 = increment, %o1 = atomic_ptr */
BACKOFF_SETUP(%o2)
@@ -4776,9 +4776,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/lib/atomic_64.S linux-2.6.38.1-new/arch/spa
casx [%o1], %g1, %g7
cmp %g1, %g7
bne,pn %xcc, BACKOFF_LABEL(2f, 1b)
-diff -urNp linux-2.6.38.1/arch/sparc/lib/ksyms.c linux-2.6.38.1-new/arch/sparc/lib/ksyms.c
+diff -urNp linux-2.6.38.1/arch/sparc/lib/ksyms.c linux-2.6.38.1/arch/sparc/lib/ksyms.c
--- linux-2.6.38.1/arch/sparc/lib/ksyms.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/lib/ksyms.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/lib/ksyms.c 2011-03-21 18:31:35.000000000 -0400
@@ -142,12 +142,17 @@ EXPORT_SYMBOL(__downgrade_write);
/* Atomic counter implementation. */
@@ -4797,9 +4797,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/lib/ksyms.c linux-2.6.38.1-new/arch/sparc/l
EXPORT_SYMBOL(atomic64_sub_ret);
/* Atomic bit operations. */
-diff -urNp linux-2.6.38.1/arch/sparc/Makefile linux-2.6.38.1-new/arch/sparc/Makefile
+diff -urNp linux-2.6.38.1/arch/sparc/Makefile linux-2.6.38.1/arch/sparc/Makefile
--- linux-2.6.38.1/arch/sparc/Makefile 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/Makefile 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/Makefile 2011-03-21 18:31:35.000000000 -0400
@@ -75,7 +75,7 @@ drivers-$(CONFIG_OPROFILE) += arch/sparc
# Export what is needed by arch/sparc/boot/Makefile
export VMLINUX_INIT VMLINUX_MAIN
@@ -4809,9 +4809,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/Makefile linux-2.6.38.1-new/arch/sparc/Make
VMLINUX_MAIN += $(patsubst %/, %/lib.a, $(libs-y)) $(libs-y)
VMLINUX_MAIN += $(drivers-y) $(net-y)
-diff -urNp linux-2.6.38.1/arch/sparc/mm/fault_32.c linux-2.6.38.1-new/arch/sparc/mm/fault_32.c
+diff -urNp linux-2.6.38.1/arch/sparc/mm/fault_32.c linux-2.6.38.1/arch/sparc/mm/fault_32.c
--- linux-2.6.38.1/arch/sparc/mm/fault_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/mm/fault_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/mm/fault_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -22,6 +22,9 @@
#include <linux/interrupt.h>
#include <linux/module.h>
@@ -5116,9 +5116,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/mm/fault_32.c linux-2.6.38.1-new/arch/sparc
/* Allow reads even for write-only mappings */
if(!(vma->vm_flags & (VM_READ | VM_EXEC)))
goto bad_area;
-diff -urNp linux-2.6.38.1/arch/sparc/mm/fault_64.c linux-2.6.38.1-new/arch/sparc/mm/fault_64.c
+diff -urNp linux-2.6.38.1/arch/sparc/mm/fault_64.c linux-2.6.38.1/arch/sparc/mm/fault_64.c
--- linux-2.6.38.1/arch/sparc/mm/fault_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/mm/fault_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/mm/fault_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -21,6 +21,9 @@
#include <linux/kprobes.h>
#include <linux/kdebug.h>
@@ -5626,9 +5626,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/mm/fault_64.c linux-2.6.38.1-new/arch/sparc
/* Pure DTLB misses do not tell us whether the fault causing
* load/store/atomic was a write or not, it only says that there
* was no match. So in such a case we (carefully) read the
-diff -urNp linux-2.6.38.1/arch/sparc/mm/hugetlbpage.c linux-2.6.38.1-new/arch/sparc/mm/hugetlbpage.c
+diff -urNp linux-2.6.38.1/arch/sparc/mm/hugetlbpage.c linux-2.6.38.1/arch/sparc/mm/hugetlbpage.c
--- linux-2.6.38.1/arch/sparc/mm/hugetlbpage.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/mm/hugetlbpage.c 2011-03-21 23:47:41.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/mm/hugetlbpage.c 2011-03-21 23:47:41.000000000 -0400
@@ -68,7 +68,7 @@ full_search:
}
return -ENOMEM;
@@ -5688,9 +5688,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/mm/hugetlbpage.c linux-2.6.38.1-new/arch/sp
return addr;
}
if (mm->get_unmapped_area == arch_get_unmapped_area)
-diff -urNp linux-2.6.38.1/arch/sparc/mm/init_32.c linux-2.6.38.1-new/arch/sparc/mm/init_32.c
+diff -urNp linux-2.6.38.1/arch/sparc/mm/init_32.c linux-2.6.38.1/arch/sparc/mm/init_32.c
--- linux-2.6.38.1/arch/sparc/mm/init_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/mm/init_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/mm/init_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -318,6 +318,9 @@ extern void device_scan(void);
pgprot_t PAGE_SHARED __read_mostly;
EXPORT_SYMBOL(PAGE_SHARED);
@@ -5725,9 +5725,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/mm/init_32.c linux-2.6.38.1-new/arch/sparc/
protection_map[12] = PAGE_READONLY;
protection_map[13] = PAGE_READONLY;
protection_map[14] = PAGE_SHARED;
-diff -urNp linux-2.6.38.1/arch/sparc/mm/Makefile linux-2.6.38.1-new/arch/sparc/mm/Makefile
+diff -urNp linux-2.6.38.1/arch/sparc/mm/Makefile linux-2.6.38.1/arch/sparc/mm/Makefile
--- linux-2.6.38.1/arch/sparc/mm/Makefile 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/mm/Makefile 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/mm/Makefile 2011-03-21 18:31:35.000000000 -0400
@@ -2,7 +2,7 @@
#
@@ -5737,9 +5737,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/mm/Makefile linux-2.6.38.1-new/arch/sparc/m
obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o
obj-y += fault_$(BITS).o
-diff -urNp linux-2.6.38.1/arch/sparc/mm/srmmu.c linux-2.6.38.1-new/arch/sparc/mm/srmmu.c
+diff -urNp linux-2.6.38.1/arch/sparc/mm/srmmu.c linux-2.6.38.1/arch/sparc/mm/srmmu.c
--- linux-2.6.38.1/arch/sparc/mm/srmmu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/sparc/mm/srmmu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/sparc/mm/srmmu.c 2011-03-21 18:31:35.000000000 -0400
@@ -2200,6 +2200,13 @@ void __init ld_mmu_srmmu(void)
PAGE_SHARED = pgprot_val(SRMMU_PAGE_SHARED);
BTFIXUPSET_INT(page_copy, pgprot_val(SRMMU_PAGE_COPY));
@@ -5754,9 +5754,9 @@ diff -urNp linux-2.6.38.1/arch/sparc/mm/srmmu.c linux-2.6.38.1-new/arch/sparc/mm
BTFIXUPSET_INT(page_kernel, pgprot_val(SRMMU_PAGE_KERNEL));
page_kernel = pgprot_val(SRMMU_PAGE_KERNEL);
-diff -urNp linux-2.6.38.1/arch/um/include/asm/kmap_types.h linux-2.6.38.1-new/arch/um/include/asm/kmap_types.h
+diff -urNp linux-2.6.38.1/arch/um/include/asm/kmap_types.h linux-2.6.38.1/arch/um/include/asm/kmap_types.h
--- linux-2.6.38.1/arch/um/include/asm/kmap_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/um/include/asm/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/um/include/asm/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -23,6 +23,7 @@ enum km_type {
KM_IRQ1,
KM_SOFTIRQ0,
@@ -5765,9 +5765,9 @@ diff -urNp linux-2.6.38.1/arch/um/include/asm/kmap_types.h linux-2.6.38.1-new/ar
KM_TYPE_NR
};
-diff -urNp linux-2.6.38.1/arch/um/include/asm/page.h linux-2.6.38.1-new/arch/um/include/asm/page.h
+diff -urNp linux-2.6.38.1/arch/um/include/asm/page.h linux-2.6.38.1/arch/um/include/asm/page.h
--- linux-2.6.38.1/arch/um/include/asm/page.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/um/include/asm/page.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/um/include/asm/page.h 2011-03-21 18:31:35.000000000 -0400
@@ -14,6 +14,9 @@
#define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
@@ -5778,9 +5778,9 @@ diff -urNp linux-2.6.38.1/arch/um/include/asm/page.h linux-2.6.38.1-new/arch/um/
#ifndef __ASSEMBLY__
struct page;
-diff -urNp linux-2.6.38.1/arch/um/kernel/process.c linux-2.6.38.1-new/arch/um/kernel/process.c
+diff -urNp linux-2.6.38.1/arch/um/kernel/process.c linux-2.6.38.1/arch/um/kernel/process.c
--- linux-2.6.38.1/arch/um/kernel/process.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/um/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/um/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
@@ -404,22 +404,6 @@ int singlestepping(void * t)
return 2;
}
@@ -5804,9 +5804,9 @@ diff -urNp linux-2.6.38.1/arch/um/kernel/process.c linux-2.6.38.1-new/arch/um/ke
unsigned long get_wchan(struct task_struct *p)
{
unsigned long stack_page, sp, ip;
-diff -urNp linux-2.6.38.1/arch/um/sys-i386/syscalls.c linux-2.6.38.1-new/arch/um/sys-i386/syscalls.c
+diff -urNp linux-2.6.38.1/arch/um/sys-i386/syscalls.c linux-2.6.38.1/arch/um/sys-i386/syscalls.c
--- linux-2.6.38.1/arch/um/sys-i386/syscalls.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/um/sys-i386/syscalls.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/um/sys-i386/syscalls.c 2011-03-21 18:31:35.000000000 -0400
@@ -11,6 +11,21 @@
#include "asm/uaccess.h"
#include "asm/unistd.h"
@@ -5829,9 +5829,9 @@ diff -urNp linux-2.6.38.1/arch/um/sys-i386/syscalls.c linux-2.6.38.1-new/arch/um
/*
* The prototype on i386 is:
*
-diff -urNp linux-2.6.38.1/arch/x86/boot/bitops.h linux-2.6.38.1-new/arch/x86/boot/bitops.h
+diff -urNp linux-2.6.38.1/arch/x86/boot/bitops.h linux-2.6.38.1/arch/x86/boot/bitops.h
--- linux-2.6.38.1/arch/x86/boot/bitops.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/boot/bitops.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/boot/bitops.h 2011-03-21 18:31:35.000000000 -0400
@@ -26,7 +26,7 @@ static inline int variable_test_bit(int
u8 v;
const u32 *p = (const u32 *)addr;
@@ -5850,9 +5850,9 @@ diff -urNp linux-2.6.38.1/arch/x86/boot/bitops.h linux-2.6.38.1-new/arch/x86/boo
}
#endif /* BOOT_BITOPS_H */
-diff -urNp linux-2.6.38.1/arch/x86/boot/boot.h linux-2.6.38.1-new/arch/x86/boot/boot.h
+diff -urNp linux-2.6.38.1/arch/x86/boot/boot.h linux-2.6.38.1/arch/x86/boot/boot.h
--- linux-2.6.38.1/arch/x86/boot/boot.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/boot/boot.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/boot/boot.h 2011-03-21 18:31:35.000000000 -0400
@@ -85,7 +85,7 @@ static inline void io_delay(void)
static inline u16 ds(void)
{
@@ -5871,9 +5871,9 @@ diff -urNp linux-2.6.38.1/arch/x86/boot/boot.h linux-2.6.38.1-new/arch/x86/boot/
: "=qm" (diff), "+D" (s1), "+S" (s2), "+c" (len));
return diff;
}
-diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/head_32.S linux-2.6.38.1-new/arch/x86/boot/compressed/head_32.S
+diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/head_32.S linux-2.6.38.1/arch/x86/boot/compressed/head_32.S
--- linux-2.6.38.1/arch/x86/boot/compressed/head_32.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/boot/compressed/head_32.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/boot/compressed/head_32.S 2011-03-21 18:31:35.000000000 -0400
@@ -76,7 +76,7 @@ ENTRY(startup_32)
notl %eax
andl %eax, %ebx
@@ -5902,9 +5902,9 @@ diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/head_32.S linux-2.6.38.1-new/
addl %ebx, -__PAGE_OFFSET(%ebx, %ecx)
jmp 1b
2:
-diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/head_64.S linux-2.6.38.1-new/arch/x86/boot/compressed/head_64.S
+diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/head_64.S linux-2.6.38.1/arch/x86/boot/compressed/head_64.S
--- linux-2.6.38.1/arch/x86/boot/compressed/head_64.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/boot/compressed/head_64.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/boot/compressed/head_64.S 2011-03-21 18:31:35.000000000 -0400
@@ -91,7 +91,7 @@ ENTRY(startup_32)
notl %eax
andl %eax, %ebx
@@ -5923,9 +5923,9 @@ diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/head_64.S linux-2.6.38.1-new/
#endif
/* Target address to relocate to for decompression */
-diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/misc.c linux-2.6.38.1-new/arch/x86/boot/compressed/misc.c
+diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/misc.c linux-2.6.38.1/arch/x86/boot/compressed/misc.c
--- linux-2.6.38.1/arch/x86/boot/compressed/misc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/boot/compressed/misc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/boot/compressed/misc.c 2011-03-21 18:31:35.000000000 -0400
@@ -310,7 +310,7 @@ static void parse_elf(void *output)
case PT_LOAD:
#ifdef CONFIG_RELOCATABLE
@@ -5944,9 +5944,9 @@ diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/misc.c linux-2.6.38.1-new/arc
error("Wrong destination address");
#endif
-diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/relocs.c linux-2.6.38.1-new/arch/x86/boot/compressed/relocs.c
+diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/relocs.c linux-2.6.38.1/arch/x86/boot/compressed/relocs.c
--- linux-2.6.38.1/arch/x86/boot/compressed/relocs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/boot/compressed/relocs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/boot/compressed/relocs.c 2011-03-21 18:31:35.000000000 -0400
@@ -13,8 +13,11 @@
static void die(char *fmt, ...);
@@ -6139,9 +6139,9 @@ diff -urNp linux-2.6.38.1/arch/x86/boot/compressed/relocs.c linux-2.6.38.1-new/a
read_shdrs(fp);
read_strtabs(fp);
read_symtabs(fp);
-diff -urNp linux-2.6.38.1/arch/x86/boot/cpucheck.c linux-2.6.38.1-new/arch/x86/boot/cpucheck.c
+diff -urNp linux-2.6.38.1/arch/x86/boot/cpucheck.c linux-2.6.38.1/arch/x86/boot/cpucheck.c
--- linux-2.6.38.1/arch/x86/boot/cpucheck.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/boot/cpucheck.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/boot/cpucheck.c 2011-03-21 18:31:35.000000000 -0400
@@ -74,7 +74,7 @@ static int has_fpu(void)
u16 fcw = -1, fsw = -1;
u32 cr0;
@@ -6237,9 +6237,9 @@ diff -urNp linux-2.6.38.1/arch/x86/boot/cpucheck.c linux-2.6.38.1-new/arch/x86/b
err = check_flags();
}
-diff -urNp linux-2.6.38.1/arch/x86/boot/header.S linux-2.6.38.1-new/arch/x86/boot/header.S
+diff -urNp linux-2.6.38.1/arch/x86/boot/header.S linux-2.6.38.1/arch/x86/boot/header.S
--- linux-2.6.38.1/arch/x86/boot/header.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/boot/header.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/boot/header.S 2011-03-21 18:31:35.000000000 -0400
@@ -224,7 +224,7 @@ setup_data: .quad 0 # 64-bit physical
# single linked list of
# struct setup_data
@@ -6249,9 +6249,9 @@ diff -urNp linux-2.6.38.1/arch/x86/boot/header.S linux-2.6.38.1-new/arch/x86/boo
#define ZO_INIT_SIZE (ZO__end - ZO_startup_32 + ZO_z_extract_offset)
#define VO_INIT_SIZE (VO__end - VO__text)
-diff -urNp linux-2.6.38.1/arch/x86/boot/memory.c linux-2.6.38.1-new/arch/x86/boot/memory.c
+diff -urNp linux-2.6.38.1/arch/x86/boot/memory.c linux-2.6.38.1/arch/x86/boot/memory.c
--- linux-2.6.38.1/arch/x86/boot/memory.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/boot/memory.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/boot/memory.c 2011-03-21 18:31:35.000000000 -0400
@@ -19,7 +19,7 @@
static int detect_memory_e820(void)
@@ -6261,9 +6261,9 @@ diff -urNp linux-2.6.38.1/arch/x86/boot/memory.c linux-2.6.38.1-new/arch/x86/boo
struct biosregs ireg, oreg;
struct e820entry *desc = boot_params.e820_map;
static struct e820entry buf; /* static so it is zeroed */
-diff -urNp linux-2.6.38.1/arch/x86/boot/video.c linux-2.6.38.1-new/arch/x86/boot/video.c
+diff -urNp linux-2.6.38.1/arch/x86/boot/video.c linux-2.6.38.1/arch/x86/boot/video.c
--- linux-2.6.38.1/arch/x86/boot/video.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/boot/video.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/boot/video.c 2011-03-21 18:31:35.000000000 -0400
@@ -96,7 +96,7 @@ static void store_mode_params(void)
static unsigned int get_entry(void)
{
@@ -6273,9 +6273,9 @@ diff -urNp linux-2.6.38.1/arch/x86/boot/video.c linux-2.6.38.1-new/arch/x86/boot
int key;
unsigned int v;
-diff -urNp linux-2.6.38.1/arch/x86/boot/video-vesa.c linux-2.6.38.1-new/arch/x86/boot/video-vesa.c
+diff -urNp linux-2.6.38.1/arch/x86/boot/video-vesa.c linux-2.6.38.1/arch/x86/boot/video-vesa.c
--- linux-2.6.38.1/arch/x86/boot/video-vesa.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/boot/video-vesa.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/boot/video-vesa.c 2011-03-21 18:31:35.000000000 -0400
@@ -200,6 +200,7 @@ static void vesa_store_pm_info(void)
boot_params.screen_info.vesapm_seg = oreg.es;
@@ -6284,9 +6284,9 @@ diff -urNp linux-2.6.38.1/arch/x86/boot/video-vesa.c linux-2.6.38.1-new/arch/x86
}
/*
-diff -urNp linux-2.6.38.1/arch/x86/ia32/ia32_aout.c linux-2.6.38.1-new/arch/x86/ia32/ia32_aout.c
+diff -urNp linux-2.6.38.1/arch/x86/ia32/ia32_aout.c linux-2.6.38.1/arch/x86/ia32/ia32_aout.c
--- linux-2.6.38.1/arch/x86/ia32/ia32_aout.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/ia32/ia32_aout.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/ia32/ia32_aout.c 2011-03-21 18:31:35.000000000 -0400
@@ -162,6 +162,8 @@ static int aout_core_dump(long signr, st
unsigned long dump_start, dump_size;
struct user32 dump;
@@ -6296,9 +6296,9 @@ diff -urNp linux-2.6.38.1/arch/x86/ia32/ia32_aout.c linux-2.6.38.1-new/arch/x86/
fs = get_fs();
set_fs(KERNEL_DS);
has_dumped = 1;
-diff -urNp linux-2.6.38.1/arch/x86/ia32/ia32entry.S linux-2.6.38.1-new/arch/x86/ia32/ia32entry.S
+diff -urNp linux-2.6.38.1/arch/x86/ia32/ia32entry.S linux-2.6.38.1/arch/x86/ia32/ia32entry.S
--- linux-2.6.38.1/arch/x86/ia32/ia32entry.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/ia32/ia32entry.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/ia32/ia32entry.S 2011-03-21 18:31:35.000000000 -0400
@@ -13,6 +13,7 @@
#include <asm/thread_info.h>
#include <asm/segment.h>
@@ -6396,9 +6396,9 @@ diff -urNp linux-2.6.38.1/arch/x86/ia32/ia32entry.S linux-2.6.38.1-new/arch/x86/
/*
* No need to follow this irqs on/off section: the syscall
* disabled irqs and here we enable it straight after entry:
-diff -urNp linux-2.6.38.1/arch/x86/ia32/ia32_signal.c linux-2.6.38.1-new/arch/x86/ia32/ia32_signal.c
+diff -urNp linux-2.6.38.1/arch/x86/ia32/ia32_signal.c linux-2.6.38.1/arch/x86/ia32/ia32_signal.c
--- linux-2.6.38.1/arch/x86/ia32/ia32_signal.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/ia32/ia32_signal.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/ia32/ia32_signal.c 2011-03-21 18:31:35.000000000 -0400
@@ -403,7 +403,7 @@ static void __user *get_sigframe(struct
sp -= frame_size;
/* Align the stack pointer according to the i386 ABI,
@@ -6448,9 +6448,9 @@ diff -urNp linux-2.6.38.1/arch/x86/ia32/ia32_signal.c linux-2.6.38.1-new/arch/x8
} put_user_catch(err);
if (err)
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/alternative.h linux-2.6.38.1-new/arch/x86/include/asm/alternative.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/alternative.h linux-2.6.38.1/arch/x86/include/asm/alternative.h
--- linux-2.6.38.1/arch/x86/include/asm/alternative.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/alternative.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/alternative.h 2011-03-21 18:31:35.000000000 -0400
@@ -94,7 +94,7 @@ static inline int alternatives_text_rese
".section .discard,\"aw\",@progbits\n" \
" .byte 0xff + (664f-663f) - (662b-661b)\n" /* rlen <= slen */ \
@@ -6460,9 +6460,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/alternative.h linux-2.6.38.1-new/
"663:\n\t" newinstr "\n664:\n" /* replacement */ \
".previous"
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/apm.h linux-2.6.38.1-new/arch/x86/include/asm/apm.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/apm.h linux-2.6.38.1/arch/x86/include/asm/apm.h
--- linux-2.6.38.1/arch/x86/include/asm/apm.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/apm.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/apm.h 2011-03-21 18:31:35.000000000 -0400
@@ -34,7 +34,7 @@ static inline void apm_bios_call_asm(u32
__asm__ __volatile__(APM_DO_ZERO_SEGS
"pushl %%edi\n\t"
@@ -6481,9 +6481,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/apm.h linux-2.6.38.1-new/arch/x86
"setc %%bl\n\t"
"popl %%ebp\n\t"
"popl %%edi\n\t"
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/atomic64_32.h linux-2.6.38.1-new/arch/x86/include/asm/atomic64_32.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/atomic64_32.h linux-2.6.38.1/arch/x86/include/asm/atomic64_32.h
--- linux-2.6.38.1/arch/x86/include/asm/atomic64_32.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/atomic64_32.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/atomic64_32.h 2011-03-21 18:31:35.000000000 -0400
@@ -12,6 +12,14 @@ typedef struct {
u64 __aligned(8) counter;
} atomic64_t;
@@ -6499,9 +6499,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/atomic64_32.h linux-2.6.38.1-new/
#define ATOMIC64_INIT(val) { (val) }
#ifdef CONFIG_X86_CMPXCHG64
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/atomic64_64.h linux-2.6.38.1-new/arch/x86/include/asm/atomic64_64.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/atomic64_64.h linux-2.6.38.1/arch/x86/include/asm/atomic64_64.h
--- linux-2.6.38.1/arch/x86/include/asm/atomic64_64.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/atomic64_64.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/atomic64_64.h 2011-03-21 18:31:35.000000000 -0400
@@ -18,7 +18,19 @@
*/
static inline long atomic64_read(const atomic64_t *v)
@@ -6811,9 +6811,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/atomic64_64.h linux-2.6.38.1-new/
}
#define atomic64_inc_not_zero(v) atomic64_add_unless((v), 1, 0)
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/atomic.h linux-2.6.38.1-new/arch/x86/include/asm/atomic.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/atomic.h linux-2.6.38.1/arch/x86/include/asm/atomic.h
--- linux-2.6.38.1/arch/x86/include/asm/atomic.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/atomic.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/atomic.h 2011-03-21 18:31:35.000000000 -0400
@@ -22,7 +22,18 @@
*/
static inline int atomic_read(const atomic_t *v)
@@ -7185,9 +7185,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/atomic.h linux-2.6.38.1-new/arch/
/*
* atomic_dec_if_positive - decrement by 1 if old value positive
* @v: pointer of type atomic_t
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/bitops.h linux-2.6.38.1-new/arch/x86/include/asm/bitops.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/bitops.h linux-2.6.38.1/arch/x86/include/asm/bitops.h
--- linux-2.6.38.1/arch/x86/include/asm/bitops.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/bitops.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/bitops.h 2011-03-21 18:31:35.000000000 -0400
@@ -38,7 +38,7 @@
* a mask operation on a byte.
*/
@@ -7197,9 +7197,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/bitops.h linux-2.6.38.1-new/arch/
#define CONST_MASK(nr) (1 << ((nr) & 7))
/**
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/boot.h linux-2.6.38.1-new/arch/x86/include/asm/boot.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/boot.h linux-2.6.38.1/arch/x86/include/asm/boot.h
--- linux-2.6.38.1/arch/x86/include/asm/boot.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/boot.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/boot.h 2011-03-21 18:31:35.000000000 -0400
@@ -11,10 +11,15 @@
#include <asm/pgtable_types.h>
@@ -7217,9 +7217,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/boot.h linux-2.6.38.1-new/arch/x8
/* Minimum kernel alignment, as a power of two */
#ifdef CONFIG_X86_64
#define MIN_KERNEL_ALIGN_LG2 PMD_SHIFT
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/cacheflush.h linux-2.6.38.1-new/arch/x86/include/asm/cacheflush.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/cacheflush.h linux-2.6.38.1/arch/x86/include/asm/cacheflush.h
--- linux-2.6.38.1/arch/x86/include/asm/cacheflush.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/cacheflush.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/cacheflush.h 2011-03-21 18:31:35.000000000 -0400
@@ -26,7 +26,7 @@ static inline unsigned long get_page_mem
unsigned long pg_flags = pg->flags & _PGMT_MASK;
@@ -7229,9 +7229,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/cacheflush.h linux-2.6.38.1-new/a
else if (pg_flags == _PGMT_WC)
return _PAGE_CACHE_WC;
else if (pg_flags == _PGMT_UC_MINUS)
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/cache.h linux-2.6.38.1-new/arch/x86/include/asm/cache.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/cache.h linux-2.6.38.1/arch/x86/include/asm/cache.h
--- linux-2.6.38.1/arch/x86/include/asm/cache.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/cache.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/cache.h 2011-03-21 18:31:35.000000000 -0400
@@ -8,6 +8,7 @@
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
@@ -7240,9 +7240,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/cache.h linux-2.6.38.1-new/arch/x
#define INTERNODE_CACHE_SHIFT CONFIG_X86_INTERNODE_CACHE_SHIFT
#define INTERNODE_CACHE_BYTES (1 << INTERNODE_CACHE_SHIFT)
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/checksum_32.h linux-2.6.38.1-new/arch/x86/include/asm/checksum_32.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/checksum_32.h linux-2.6.38.1/arch/x86/include/asm/checksum_32.h
--- linux-2.6.38.1/arch/x86/include/asm/checksum_32.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/checksum_32.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/checksum_32.h 2011-03-21 18:31:35.000000000 -0400
@@ -31,6 +31,14 @@ asmlinkage __wsum csum_partial_copy_gene
int len, __wsum sum,
int *src_err_ptr, int *dst_err_ptr);
@@ -7276,9 +7276,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/checksum_32.h linux-2.6.38.1-new/
len, sum, NULL, err_ptr);
if (len)
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/cpufeature.h linux-2.6.38.1-new/arch/x86/include/asm/cpufeature.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/cpufeature.h linux-2.6.38.1/arch/x86/include/asm/cpufeature.h
--- linux-2.6.38.1/arch/x86/include/asm/cpufeature.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/cpufeature.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/cpufeature.h 2011-03-21 18:31:35.000000000 -0400
@@ -349,7 +349,7 @@ static __always_inline __pure bool __sta
".section .discard,\"aw\",@progbits\n"
" .byte 0xff + (4f-3f) - (2b-1b)\n" /* size check */
@@ -7288,9 +7288,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/cpufeature.h linux-2.6.38.1-new/a
"3: movb $1,%0\n"
"4:\n"
".previous\n"
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/desc_defs.h linux-2.6.38.1-new/arch/x86/include/asm/desc_defs.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/desc_defs.h linux-2.6.38.1/arch/x86/include/asm/desc_defs.h
--- linux-2.6.38.1/arch/x86/include/asm/desc_defs.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/desc_defs.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/desc_defs.h 2011-03-21 18:31:35.000000000 -0400
@@ -31,6 +31,12 @@ struct desc_struct {
unsigned base1: 8, type: 4, s: 1, dpl: 2, p: 1;
unsigned limit: 4, avl: 1, l: 1, d: 1, g: 1, base2: 8;
@@ -7304,9 +7304,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/desc_defs.h linux-2.6.38.1-new/ar
};
} __attribute__((packed));
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/desc.h linux-2.6.38.1-new/arch/x86/include/asm/desc.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/desc.h linux-2.6.38.1/arch/x86/include/asm/desc.h
--- linux-2.6.38.1/arch/x86/include/asm/desc.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/desc.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/desc.h 2011-03-21 18:31:35.000000000 -0400
@@ -4,6 +4,7 @@
#include <asm/desc_defs.h>
#include <asm/ldt.h>
@@ -7494,9 +7494,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/desc.h linux-2.6.38.1-new/arch/x8
+#endif
+
#endif /* _ASM_X86_DESC_H */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/device.h linux-2.6.38.1-new/arch/x86/include/asm/device.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/device.h linux-2.6.38.1/arch/x86/include/asm/device.h
--- linux-2.6.38.1/arch/x86/include/asm/device.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/device.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/device.h 2011-03-21 18:31:35.000000000 -0400
@@ -6,7 +6,7 @@ struct dev_archdata {
void *acpi_handle;
#endif
@@ -7506,9 +7506,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/device.h linux-2.6.38.1-new/arch/
#endif
#if defined(CONFIG_DMAR) || defined(CONFIG_AMD_IOMMU)
void *iommu; /* hook for IOMMU specific extension */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/dma-mapping.h linux-2.6.38.1-new/arch/x86/include/asm/dma-mapping.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/dma-mapping.h linux-2.6.38.1/arch/x86/include/asm/dma-mapping.h
--- linux-2.6.38.1/arch/x86/include/asm/dma-mapping.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
@@ -26,9 +26,9 @@ extern int iommu_merge;
extern struct device x86_dma_fallback_dev;
extern int panic_on_overflow;
@@ -7548,9 +7548,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/dma-mapping.h linux-2.6.38.1-new/
WARN_ON(irqs_disabled()); /* for portability */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/e820.h linux-2.6.38.1-new/arch/x86/include/asm/e820.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/e820.h linux-2.6.38.1/arch/x86/include/asm/e820.h
--- linux-2.6.38.1/arch/x86/include/asm/e820.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/e820.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/e820.h 2011-03-21 18:31:35.000000000 -0400
@@ -69,7 +69,7 @@ struct e820map {
#define ISA_START_ADDRESS 0xa0000
#define ISA_END_ADDRESS 0x100000
@@ -7560,9 +7560,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/e820.h linux-2.6.38.1-new/arch/x8
#define BIOS_END 0x00100000
#define BIOS_ROM_BASE 0xffe00000
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/elf.h linux-2.6.38.1-new/arch/x86/include/asm/elf.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/elf.h linux-2.6.38.1/arch/x86/include/asm/elf.h
--- linux-2.6.38.1/arch/x86/include/asm/elf.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/elf.h 2011-03-21 18:31:35.000000000 -0400
@@ -237,7 +237,25 @@ extern int force_personality32;
the loader. We need to make sure that it is out of the way of the program
that it will "exec", and that there is sufficient room for the brk. */
@@ -7616,9 +7616,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/elf.h linux-2.6.38.1-new/arch/x86
-#define arch_randomize_brk arch_randomize_brk
-
#endif /* _ASM_X86_ELF_H */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/futex.h linux-2.6.38.1-new/arch/x86/include/asm/futex.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/futex.h linux-2.6.38.1/arch/x86/include/asm/futex.h
--- linux-2.6.38.1/arch/x86/include/asm/futex.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/futex.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/futex.h 2011-03-21 18:31:35.000000000 -0400
@@ -12,16 +12,18 @@
#include <asm/system.h>
@@ -7694,9 +7694,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/futex.h linux-2.6.38.1-new/arch/x
: "i" (-EFAULT), "r" (newval), "0" (oldval)
: "memory"
);
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/i387.h linux-2.6.38.1-new/arch/x86/include/asm/i387.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/i387.h linux-2.6.38.1/arch/x86/include/asm/i387.h
--- linux-2.6.38.1/arch/x86/include/asm/i387.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/i387.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/i387.h 2011-03-21 18:31:35.000000000 -0400
@@ -92,6 +92,11 @@ static inline int fxrstor_checking(struc
{
int err;
@@ -7737,9 +7737,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/i387.h linux-2.6.38.1-new/arch/x8
/*
* These must be called with preempt disabled
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/io.h linux-2.6.38.1-new/arch/x86/include/asm/io.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/io.h linux-2.6.38.1/arch/x86/include/asm/io.h
--- linux-2.6.38.1/arch/x86/include/asm/io.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/io.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/io.h 2011-03-21 18:31:35.000000000 -0400
@@ -216,6 +216,17 @@ extern void set_iounmap_nonlazy(void);
#include <linux/vmalloc.h>
@@ -7758,9 +7758,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/io.h linux-2.6.38.1-new/arch/x86/
/*
* Convert a virtual cached pointer to an uncached pointer
*/
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/iommu.h linux-2.6.38.1-new/arch/x86/include/asm/iommu.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/iommu.h linux-2.6.38.1/arch/x86/include/asm/iommu.h
--- linux-2.6.38.1/arch/x86/include/asm/iommu.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/iommu.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/iommu.h 2011-03-21 18:31:35.000000000 -0400
@@ -1,7 +1,7 @@
#ifndef _ASM_X86_IOMMU_H
#define _ASM_X86_IOMMU_H
@@ -7770,9 +7770,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/iommu.h linux-2.6.38.1-new/arch/x
extern int force_iommu, no_iommu;
extern int iommu_detected;
extern int iommu_pass_through;
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/irqflags.h linux-2.6.38.1-new/arch/x86/include/asm/irqflags.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/irqflags.h linux-2.6.38.1/arch/x86/include/asm/irqflags.h
--- linux-2.6.38.1/arch/x86/include/asm/irqflags.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/irqflags.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/irqflags.h 2011-03-21 18:31:35.000000000 -0400
@@ -140,6 +140,11 @@ static inline unsigned long arch_local_i
sti; \
sysexit
@@ -7785,9 +7785,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/irqflags.h linux-2.6.38.1-new/arc
#else
#define INTERRUPT_RETURN iret
#define ENABLE_INTERRUPTS_SYSEXIT sti; sysexit
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/kvm_host.h linux-2.6.38.1-new/arch/x86/include/asm/kvm_host.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/kvm_host.h linux-2.6.38.1/arch/x86/include/asm/kvm_host.h
--- linux-2.6.38.1/arch/x86/include/asm/kvm_host.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/kvm_host.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/kvm_host.h 2011-03-21 18:31:35.000000000 -0400
@@ -603,7 +603,7 @@ struct kvm_arch_async_pf {
bool direct_map;
};
@@ -7797,9 +7797,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/kvm_host.h linux-2.6.38.1-new/arc
int kvm_mmu_module_init(void);
void kvm_mmu_module_exit(void);
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/local.h linux-2.6.38.1-new/arch/x86/include/asm/local.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/local.h linux-2.6.38.1/arch/x86/include/asm/local.h
--- linux-2.6.38.1/arch/x86/include/asm/local.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/local.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/local.h 2011-03-21 18:31:35.000000000 -0400
@@ -18,26 +18,58 @@ typedef struct {
static inline void local_inc(local_t *l)
@@ -7952,9 +7952,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/local.h linux-2.6.38.1-new/arch/x
: "+r" (i), "+m" (l->a.counter)
: : "memory");
return i + __i;
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/mc146818rtc.h linux-2.6.38.1-new/arch/x86/include/asm/mc146818rtc.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/mc146818rtc.h linux-2.6.38.1/arch/x86/include/asm/mc146818rtc.h
--- linux-2.6.38.1/arch/x86/include/asm/mc146818rtc.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/mc146818rtc.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/mc146818rtc.h 2011-03-21 18:31:35.000000000 -0400
@@ -81,8 +81,8 @@ static inline unsigned char current_lock
#else
#define lock_cmos_prefix(reg) do {} while (0)
@@ -7966,9 +7966,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/mc146818rtc.h linux-2.6.38.1-new/
#define do_i_have_lock_cmos() 0
#define current_lock_cmos_reg() 0
#endif
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/mce.h linux-2.6.38.1-new/arch/x86/include/asm/mce.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/mce.h linux-2.6.38.1/arch/x86/include/asm/mce.h
--- linux-2.6.38.1/arch/x86/include/asm/mce.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/mce.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/mce.h 2011-03-21 18:31:35.000000000 -0400
@@ -198,7 +198,7 @@ int mce_notify_irq(void);
void mce_notify_process(void);
@@ -7978,9 +7978,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/mce.h linux-2.6.38.1-new/arch/x86
/*
* Exception handler
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/microcode.h linux-2.6.38.1-new/arch/x86/include/asm/microcode.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/microcode.h linux-2.6.38.1/arch/x86/include/asm/microcode.h
--- linux-2.6.38.1/arch/x86/include/asm/microcode.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/microcode.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/microcode.h 2011-03-21 18:31:35.000000000 -0400
@@ -12,13 +12,13 @@ struct device;
enum ucode_state { UCODE_ERROR, UCODE_OK, UCODE_NFOUND };
@@ -8027,9 +8027,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/microcode.h linux-2.6.38.1-new/ar
{
return NULL;
}
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/mman.h linux-2.6.38.1-new/arch/x86/include/asm/mman.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/mman.h linux-2.6.38.1/arch/x86/include/asm/mman.h
--- linux-2.6.38.1/arch/x86/include/asm/mman.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/mman.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/mman.h 2011-03-21 18:31:35.000000000 -0400
@@ -5,4 +5,14 @@
#include <asm-generic/mman.h>
@@ -8045,9 +8045,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/mman.h linux-2.6.38.1-new/arch/x8
+#endif
+
#endif /* _ASM_X86_MMAN_H */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/mmu_context.h linux-2.6.38.1-new/arch/x86/include/asm/mmu_context.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/mmu_context.h linux-2.6.38.1/arch/x86/include/asm/mmu_context.h
--- linux-2.6.38.1/arch/x86/include/asm/mmu_context.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/mmu_context.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/mmu_context.h 2011-03-21 18:31:35.000000000 -0400
@@ -24,6 +24,21 @@ void destroy_context(struct mm_struct *m
static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
@@ -8172,9 +8172,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/mmu_context.h linux-2.6.38.1-new/
}
#define activate_mm(prev, next) \
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/mmu.h linux-2.6.38.1-new/arch/x86/include/asm/mmu.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/mmu.h linux-2.6.38.1/arch/x86/include/asm/mmu.h
--- linux-2.6.38.1/arch/x86/include/asm/mmu.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/mmu.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/mmu.h 2011-03-21 18:31:35.000000000 -0400
@@ -9,10 +9,23 @@
* we put the segment information here.
*/
@@ -8201,9 +8201,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/mmu.h linux-2.6.38.1-new/arch/x86
} mm_context_t;
#ifdef CONFIG_SMP
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/module.h linux-2.6.38.1-new/arch/x86/include/asm/module.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/module.h linux-2.6.38.1/arch/x86/include/asm/module.h
--- linux-2.6.38.1/arch/x86/include/asm/module.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/module.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/module.h 2011-03-21 18:31:35.000000000 -0400
@@ -59,8 +59,26 @@
#error unknown processor family
#endif
@@ -8232,9 +8232,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/module.h linux-2.6.38.1-new/arch/
#endif
#endif /* _ASM_X86_MODULE_H */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/page_64_types.h linux-2.6.38.1-new/arch/x86/include/asm/page_64_types.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/page_64_types.h linux-2.6.38.1/arch/x86/include/asm/page_64_types.h
--- linux-2.6.38.1/arch/x86/include/asm/page_64_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/page_64_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/page_64_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -56,7 +56,7 @@ void copy_page(void *to, void *from);
/* duplicated to the one in bootmem.h */
@@ -8244,9 +8244,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/page_64_types.h linux-2.6.38.1-ne
extern unsigned long __phys_addr(unsigned long);
#define __phys_reloc_hide(x) (x)
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/paravirt.h linux-2.6.38.1-new/arch/x86/include/asm/paravirt.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/paravirt.h linux-2.6.38.1/arch/x86/include/asm/paravirt.h
--- linux-2.6.38.1/arch/x86/include/asm/paravirt.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/paravirt.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/paravirt.h 2011-03-21 18:31:35.000000000 -0400
@@ -739,6 +739,21 @@ static inline void __set_fixmap(unsigned
pv_mmu_ops.set_fixmap(idx, phys, flags);
}
@@ -8300,9 +8300,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/paravirt.h linux-2.6.38.1-new/arc
#endif /* CONFIG_X86_32 */
#endif /* __ASSEMBLY__ */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/paravirt_types.h linux-2.6.38.1-new/arch/x86/include/asm/paravirt_types.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/paravirt_types.h linux-2.6.38.1/arch/x86/include/asm/paravirt_types.h
--- linux-2.6.38.1/arch/x86/include/asm/paravirt_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/paravirt_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/paravirt_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -317,6 +317,12 @@ struct pv_mmu_ops {
an mfn. We can tell which is which from the index. */
void (*set_fixmap)(unsigned /* enum fixed_addresses */ idx,
@@ -8316,9 +8316,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/paravirt_types.h linux-2.6.38.1-n
};
struct arch_spinlock;
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/pci_x86.h linux-2.6.38.1-new/arch/x86/include/asm/pci_x86.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/pci_x86.h linux-2.6.38.1/arch/x86/include/asm/pci_x86.h
--- linux-2.6.38.1/arch/x86/include/asm/pci_x86.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/pci_x86.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/pci_x86.h 2011-03-21 18:31:35.000000000 -0400
@@ -93,16 +93,16 @@ extern int (*pcibios_enable_irq)(struct
extern void (*pcibios_disable_irq)(struct pci_dev *dev);
@@ -8341,9 +8341,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/pci_x86.h linux-2.6.38.1-new/arch
extern bool port_cf9_safe;
/* arch_initcall level */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgalloc.h linux-2.6.38.1-new/arch/x86/include/asm/pgalloc.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgalloc.h linux-2.6.38.1/arch/x86/include/asm/pgalloc.h
--- linux-2.6.38.1/arch/x86/include/asm/pgalloc.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/pgalloc.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/pgalloc.h 2011-03-21 18:31:35.000000000 -0400
@@ -63,6 +63,13 @@ static inline void pmd_populate_kernel(s
pmd_t *pmd, pte_t *pte)
{
@@ -8358,9 +8358,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgalloc.h linux-2.6.38.1-new/arch
set_pmd(pmd, __pmd(__pa(pte) | _PAGE_TABLE));
}
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable-2level.h linux-2.6.38.1-new/arch/x86/include/asm/pgtable-2level.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable-2level.h linux-2.6.38.1/arch/x86/include/asm/pgtable-2level.h
--- linux-2.6.38.1/arch/x86/include/asm/pgtable-2level.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/pgtable-2level.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/pgtable-2level.h 2011-03-21 18:31:35.000000000 -0400
@@ -18,7 +18,9 @@ static inline void native_set_pte(pte_t
static inline void native_set_pmd(pmd_t *pmdp, pmd_t pmd)
@@ -8371,9 +8371,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable-2level.h linux-2.6.38.1-n
}
static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte)
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_32.h linux-2.6.38.1-new/arch/x86/include/asm/pgtable_32.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_32.h linux-2.6.38.1/arch/x86/include/asm/pgtable_32.h
--- linux-2.6.38.1/arch/x86/include/asm/pgtable_32.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/pgtable_32.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/pgtable_32.h 2011-03-21 18:31:35.000000000 -0400
@@ -25,9 +25,6 @@
struct mm_struct;
struct vm_area_struct;
@@ -8417,9 +8417,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_32.h linux-2.6.38.1-new/a
/*
* kern_addr_valid() is (1) for FLATMEM and (0) for
* SPARSEMEM and DISCONTIGMEM
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_32_types.h linux-2.6.38.1-new/arch/x86/include/asm/pgtable_32_types.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_32_types.h linux-2.6.38.1/arch/x86/include/asm/pgtable_32_types.h
--- linux-2.6.38.1/arch/x86/include/asm/pgtable_32_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/pgtable_32_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/pgtable_32_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -8,7 +8,7 @@
*/
#ifdef CONFIG_X86_PAE
@@ -8449,9 +8449,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_32_types.h linux-2.6.38.1
#define MODULES_VADDR VMALLOC_START
#define MODULES_END VMALLOC_END
#define MODULES_LEN (MODULES_VADDR - MODULES_END)
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable-3level.h linux-2.6.38.1-new/arch/x86/include/asm/pgtable-3level.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable-3level.h linux-2.6.38.1/arch/x86/include/asm/pgtable-3level.h
--- linux-2.6.38.1/arch/x86/include/asm/pgtable-3level.h 2011-03-23 17:20:06.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/pgtable-3level.h 2011-03-23 17:21:43.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/pgtable-3level.h 2011-03-23 17:21:43.000000000 -0400
@@ -38,12 +38,16 @@ static inline void native_set_pte_atomic
static inline void native_set_pmd(pmd_t *pmdp, pmd_t pmd)
@@ -8469,9 +8469,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable-3level.h linux-2.6.38.1-n
}
/*
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_64.h linux-2.6.38.1-new/arch/x86/include/asm/pgtable_64.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_64.h linux-2.6.38.1/arch/x86/include/asm/pgtable_64.h
--- linux-2.6.38.1/arch/x86/include/asm/pgtable_64.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/pgtable_64.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/pgtable_64.h 2011-03-21 18:31:35.000000000 -0400
@@ -16,10 +16,13 @@
extern pud_t level3_kernel_pgt[512];
@@ -8508,9 +8508,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_64.h linux-2.6.38.1-new/a
}
static inline void native_pgd_clear(pgd_t *pgd)
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_64_types.h linux-2.6.38.1-new/arch/x86/include/asm/pgtable_64_types.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_64_types.h linux-2.6.38.1/arch/x86/include/asm/pgtable_64_types.h
--- linux-2.6.38.1/arch/x86/include/asm/pgtable_64_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/pgtable_64_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/pgtable_64_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -59,5 +59,10 @@ typedef struct { pteval_t pte; } pte_t;
#define MODULES_VADDR _AC(0xffffffffa0000000, UL)
#define MODULES_END _AC(0xffffffffff000000, UL)
@@ -8522,9 +8522,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_64_types.h linux-2.6.38.1
+#define ktva_ktla(addr) (addr)
#endif /* _ASM_X86_PGTABLE_64_DEFS_H */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable.h linux-2.6.38.1-new/arch/x86/include/asm/pgtable.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable.h linux-2.6.38.1/arch/x86/include/asm/pgtable.h
--- linux-2.6.38.1/arch/x86/include/asm/pgtable.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/pgtable.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/pgtable.h 2011-03-21 18:31:35.000000000 -0400
@@ -81,12 +81,51 @@ extern struct mm_struct *pgd_page_get_mm
#define arch_end_context_switch(prev) do {} while(0)
@@ -8694,9 +8694,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable.h linux-2.6.38.1-new/arch
#include <asm-generic/pgtable.h>
#endif /* __ASSEMBLY__ */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_types.h linux-2.6.38.1-new/arch/x86/include/asm/pgtable_types.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_types.h linux-2.6.38.1/arch/x86/include/asm/pgtable_types.h
--- linux-2.6.38.1/arch/x86/include/asm/pgtable_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/pgtable_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/pgtable_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -16,13 +16,12 @@
#define _PAGE_BIT_PSE 7 /* 4 MB (or 2MB) page */
#define _PAGE_BIT_PAT 7 /* on 4KB pages */
@@ -8810,9 +8810,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/pgtable_types.h linux-2.6.38.1-ne
#define pgprot_writecombine pgprot_writecombine
extern pgprot_t pgprot_writecombine(pgprot_t prot);
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/processor.h linux-2.6.38.1-new/arch/x86/include/asm/processor.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/processor.h linux-2.6.38.1/arch/x86/include/asm/processor.h
--- linux-2.6.38.1/arch/x86/include/asm/processor.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/processor.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/processor.h 2011-03-21 18:31:35.000000000 -0400
@@ -270,7 +270,7 @@ struct tss_struct {
} ____cacheline_aligned;
@@ -8897,9 +8897,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/processor.h linux-2.6.38.1-new/ar
#define KSTK_EIP(task) (task_pt_regs(task)->ip)
/* Get/set a process' ability to use the timestamp counter instruction */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/ptrace.h linux-2.6.38.1-new/arch/x86/include/asm/ptrace.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/ptrace.h linux-2.6.38.1/arch/x86/include/asm/ptrace.h
--- linux-2.6.38.1/arch/x86/include/asm/ptrace.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/ptrace.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/ptrace.h 2011-03-21 18:31:35.000000000 -0400
@@ -152,28 +152,29 @@ static inline unsigned long regs_return_
}
@@ -8936,9 +8936,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/ptrace.h linux-2.6.38.1-new/arch/
#endif
}
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/reboot.h linux-2.6.38.1-new/arch/x86/include/asm/reboot.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/reboot.h linux-2.6.38.1/arch/x86/include/asm/reboot.h
--- linux-2.6.38.1/arch/x86/include/asm/reboot.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/reboot.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/reboot.h 2011-03-21 18:31:35.000000000 -0400
@@ -18,7 +18,7 @@ extern struct machine_ops machine_ops;
void native_machine_crash_shutdown(struct pt_regs *regs);
@@ -8948,9 +8948,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/reboot.h linux-2.6.38.1-new/arch/
typedef void (*nmi_shootdown_cb)(int, struct die_args*);
void nmi_shootdown_cpus(nmi_shootdown_cb callback);
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/rwsem.h linux-2.6.38.1-new/arch/x86/include/asm/rwsem.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/rwsem.h linux-2.6.38.1/arch/x86/include/asm/rwsem.h
--- linux-2.6.38.1/arch/x86/include/asm/rwsem.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/rwsem.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/rwsem.h 2011-03-21 18:31:35.000000000 -0400
@@ -118,6 +118,14 @@ static inline void __down_read(struct rw
{
asm volatile("# beginning down_read\n\t"
@@ -9075,9 +9075,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/rwsem.h linux-2.6.38.1-new/arch/x
: "+r" (tmp), "+m" (sem->count)
: : "memory");
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/segment.h linux-2.6.38.1-new/arch/x86/include/asm/segment.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/segment.h linux-2.6.38.1/arch/x86/include/asm/segment.h
--- linux-2.6.38.1/arch/x86/include/asm/segment.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/segment.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/segment.h 2011-03-21 18:31:35.000000000 -0400
@@ -62,8 +62,8 @@
* 26 - ESPFIX small SS
* 27 - per-cpu [ offset to per-cpu data area ]
@@ -9137,9 +9137,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/segment.h linux-2.6.38.1-new/arch
#define __KERNEL_DS (GDT_ENTRY_KERNEL_DS*8)
#define __USER_DS (GDT_ENTRY_DEFAULT_USER_DS*8+3)
#define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8+3)
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/smp.h linux-2.6.38.1-new/arch/x86/include/asm/smp.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/smp.h linux-2.6.38.1/arch/x86/include/asm/smp.h
--- linux-2.6.38.1/arch/x86/include/asm/smp.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/smp.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/smp.h 2011-03-21 18:31:35.000000000 -0400
@@ -24,7 +24,7 @@ extern unsigned int num_processors;
DECLARE_PER_CPU(cpumask_var_t, cpu_sibling_map);
DECLARE_PER_CPU(cpumask_var_t, cpu_core_map);
@@ -9149,9 +9149,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/smp.h linux-2.6.38.1-new/arch/x86
static inline struct cpumask *cpu_sibling_mask(int cpu)
{
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/spinlock.h linux-2.6.38.1-new/arch/x86/include/asm/spinlock.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/spinlock.h linux-2.6.38.1/arch/x86/include/asm/spinlock.h
--- linux-2.6.38.1/arch/x86/include/asm/spinlock.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/spinlock.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/spinlock.h 2011-03-21 18:31:35.000000000 -0400
@@ -249,6 +249,14 @@ static inline int arch_write_can_lock(ar
static inline void arch_read_lock(arch_rwlock_t *rw)
{
@@ -9214,9 +9214,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/spinlock.h linux-2.6.38.1-new/arc
: "+m" (rw->lock) : "i" (RW_LOCK_BIAS) : "memory");
}
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/stackprotector.h linux-2.6.38.1-new/arch/x86/include/asm/stackprotector.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/stackprotector.h linux-2.6.38.1/arch/x86/include/asm/stackprotector.h
--- linux-2.6.38.1/arch/x86/include/asm/stackprotector.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/stackprotector.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/stackprotector.h 2011-03-21 18:31:35.000000000 -0400
@@ -113,7 +113,7 @@ static inline void setup_stack_canary_se
static inline void load_stack_canary_segment(void)
@@ -9226,9 +9226,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/stackprotector.h linux-2.6.38.1-n
asm volatile ("mov %0, %%gs" : : "r" (0));
#endif
}
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/system.h linux-2.6.38.1-new/arch/x86/include/asm/system.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/system.h linux-2.6.38.1/arch/x86/include/asm/system.h
--- linux-2.6.38.1/arch/x86/include/asm/system.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/system.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/system.h 2011-03-21 18:31:35.000000000 -0400
@@ -202,7 +202,7 @@ static inline unsigned long get_limit(un
{
unsigned long __limit;
@@ -9247,9 +9247,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/system.h linux-2.6.38.1-new/arch/
extern void free_init_pages(char *what, unsigned long begin, unsigned long end);
void default_idle(void);
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/uaccess_32.h linux-2.6.38.1-new/arch/x86/include/asm/uaccess_32.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/uaccess_32.h linux-2.6.38.1/arch/x86/include/asm/uaccess_32.h
--- linux-2.6.38.1/arch/x86/include/asm/uaccess_32.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/uaccess_32.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/uaccess_32.h 2011-03-21 18:31:35.000000000 -0400
@@ -44,6 +44,9 @@ unsigned long __must_check __copy_from_u
static __always_inline unsigned long __must_check
__copy_to_user_inatomic(void __user *to, const void *from, unsigned long n)
@@ -9406,9 +9406,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/uaccess_32.h linux-2.6.38.1-new/a
return n;
}
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/uaccess_64.h linux-2.6.38.1-new/arch/x86/include/asm/uaccess_64.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/uaccess_64.h linux-2.6.38.1/arch/x86/include/asm/uaccess_64.h
--- linux-2.6.38.1/arch/x86/include/asm/uaccess_64.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/uaccess_64.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/uaccess_64.h 2011-03-21 18:31:35.000000000 -0400
@@ -11,6 +11,9 @@
#include <asm/alternative.h>
#include <asm/cpufeature.h>
@@ -9781,9 +9781,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/uaccess_64.h linux-2.6.38.1-new/a
copy_user_handle_tail(char *to, char *from, unsigned len, unsigned zerorest);
#endif /* _ASM_X86_UACCESS_64_H */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/uaccess.h linux-2.6.38.1-new/arch/x86/include/asm/uaccess.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/uaccess.h linux-2.6.38.1/arch/x86/include/asm/uaccess.h
--- linux-2.6.38.1/arch/x86/include/asm/uaccess.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/uaccess.h 2011-03-21 18:31:35.000000000 -0400
@@ -8,12 +8,15 @@
#include <linux/thread_info.h>
#include <linux/prefetch.h>
@@ -10002,9 +10002,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/uaccess.h linux-2.6.38.1-new/arch
#ifdef CONFIG_X86_32
# include "uaccess_32.h"
#else
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/vgtod.h linux-2.6.38.1-new/arch/x86/include/asm/vgtod.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/vgtod.h linux-2.6.38.1/arch/x86/include/asm/vgtod.h
--- linux-2.6.38.1/arch/x86/include/asm/vgtod.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/vgtod.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/vgtod.h 2011-03-21 18:31:35.000000000 -0400
@@ -14,6 +14,7 @@ struct vsyscall_gtod_data {
int sysctl_enabled;
struct timezone sys_tz;
@@ -10013,9 +10013,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/vgtod.h linux-2.6.38.1-new/arch/x
cycle_t (*vread)(void);
cycle_t cycle_last;
cycle_t mask;
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/vsyscall.h linux-2.6.38.1-new/arch/x86/include/asm/vsyscall.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/vsyscall.h linux-2.6.38.1/arch/x86/include/asm/vsyscall.h
--- linux-2.6.38.1/arch/x86/include/asm/vsyscall.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/vsyscall.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/vsyscall.h 2011-03-21 18:31:35.000000000 -0400
@@ -15,9 +15,10 @@ enum vsyscall_num {
#ifdef __KERNEL__
@@ -10046,9 +10046,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/vsyscall.h linux-2.6.38.1-new/arc
#endif /* __KERNEL__ */
#endif /* _ASM_X86_VSYSCALL_H */
-diff -urNp linux-2.6.38.1/arch/x86/include/asm/xsave.h linux-2.6.38.1-new/arch/x86/include/asm/xsave.h
+diff -urNp linux-2.6.38.1/arch/x86/include/asm/xsave.h linux-2.6.38.1/arch/x86/include/asm/xsave.h
--- linux-2.6.38.1/arch/x86/include/asm/xsave.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/include/asm/xsave.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/include/asm/xsave.h 2011-03-21 18:31:35.000000000 -0400
@@ -65,6 +65,11 @@ static inline int xsave_user(struct xsav
{
int err;
@@ -10073,9 +10073,9 @@ diff -urNp linux-2.6.38.1/arch/x86/include/asm/xsave.h linux-2.6.38.1-new/arch/x
__asm__ __volatile__("1: .byte " REX_PREFIX "0x0f,0xae,0x2f\n"
"2:\n"
".section .fixup,\"ax\"\n"
-diff -urNp linux-2.6.38.1/arch/x86/Kconfig linux-2.6.38.1-new/arch/x86/Kconfig
+diff -urNp linux-2.6.38.1/arch/x86/Kconfig linux-2.6.38.1/arch/x86/Kconfig
--- linux-2.6.38.1/arch/x86/Kconfig 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/Kconfig 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/Kconfig 2011-03-21 18:31:35.000000000 -0400
@@ -223,7 +223,7 @@ config X86_TRAMPOLINE
config X86_32_LAZY_GS
@@ -10157,9 +10157,9 @@ diff -urNp linux-2.6.38.1/arch/x86/Kconfig linux-2.6.38.1-new/arch/x86/Kconfig
---help---
Map the 32-bit VDSO to the predictable old-style address too.
-diff -urNp linux-2.6.38.1/arch/x86/Kconfig.cpu linux-2.6.38.1-new/arch/x86/Kconfig.cpu
+diff -urNp linux-2.6.38.1/arch/x86/Kconfig.cpu linux-2.6.38.1/arch/x86/Kconfig.cpu
--- linux-2.6.38.1/arch/x86/Kconfig.cpu 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/Kconfig.cpu 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/Kconfig.cpu 2011-03-21 18:31:35.000000000 -0400
@@ -339,7 +339,7 @@ config X86_PPRO_FENCE
config X86_F00F_BUG
@@ -10187,9 +10187,9 @@ diff -urNp linux-2.6.38.1/arch/x86/Kconfig.cpu linux-2.6.38.1-new/arch/x86/Kconf
config X86_MINIMUM_CPU_FAMILY
int
-diff -urNp linux-2.6.38.1/arch/x86/Kconfig.debug linux-2.6.38.1-new/arch/x86/Kconfig.debug
+diff -urNp linux-2.6.38.1/arch/x86/Kconfig.debug linux-2.6.38.1/arch/x86/Kconfig.debug
--- linux-2.6.38.1/arch/x86/Kconfig.debug 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/Kconfig.debug 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/Kconfig.debug 2011-03-21 18:31:35.000000000 -0400
@@ -101,7 +101,7 @@ config X86_PTDUMP
config DEBUG_RODATA
bool "Write protect kernel read-only data structures"
@@ -10208,9 +10208,9 @@ diff -urNp linux-2.6.38.1/arch/x86/Kconfig.debug linux-2.6.38.1-new/arch/x86/Kco
---help---
This option helps catch unintended modifications to loadable
kernel module's text and read-only data. It also prevents execution
-diff -urNp linux-2.6.38.1/arch/x86/kernel/acpi/boot.c linux-2.6.38.1-new/arch/x86/kernel/acpi/boot.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/acpi/boot.c linux-2.6.38.1/arch/x86/kernel/acpi/boot.c
--- linux-2.6.38.1/arch/x86/kernel/acpi/boot.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/acpi/boot.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/acpi/boot.c 2011-03-21 18:31:35.000000000 -0400
@@ -1472,7 +1472,7 @@ static struct dmi_system_id __initdata a
DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq 6715b"),
},
@@ -10220,9 +10220,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/acpi/boot.c linux-2.6.38.1-new/arch/x8
};
/*
-diff -urNp linux-2.6.38.1/arch/x86/kernel/acpi/sleep.c linux-2.6.38.1-new/arch/x86/kernel/acpi/sleep.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/acpi/sleep.c linux-2.6.38.1/arch/x86/kernel/acpi/sleep.c
--- linux-2.6.38.1/arch/x86/kernel/acpi/sleep.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/acpi/sleep.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/acpi/sleep.c 2011-03-21 18:31:35.000000000 -0400
@@ -18,7 +18,7 @@
#include "realmode/wakeup.h"
#include "sleep.h"
@@ -10245,9 +10245,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/acpi/sleep.c linux-2.6.38.1-new/arch/x
initial_gs = per_cpu_offset(smp_processor_id());
#endif
initial_code = (unsigned long)wakeup_long64;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/acpi/wakeup_32.S linux-2.6.38.1-new/arch/x86/kernel/acpi/wakeup_32.S
+diff -urNp linux-2.6.38.1/arch/x86/kernel/acpi/wakeup_32.S linux-2.6.38.1/arch/x86/kernel/acpi/wakeup_32.S
--- linux-2.6.38.1/arch/x86/kernel/acpi/wakeup_32.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/acpi/wakeup_32.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/acpi/wakeup_32.S 2011-03-21 18:31:35.000000000 -0400
@@ -30,13 +30,11 @@ wakeup_pmode_return:
# and restore the stack ... but you need gdt for this to work
movl saved_context_esp, %esp
@@ -10264,9 +10264,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/acpi/wakeup_32.S linux-2.6.38.1-new/ar
bogus_magic:
jmp bogus_magic
-diff -urNp linux-2.6.38.1/arch/x86/kernel/alternative.c linux-2.6.38.1-new/arch/x86/kernel/alternative.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/alternative.c linux-2.6.38.1/arch/x86/kernel/alternative.c
--- linux-2.6.38.1/arch/x86/kernel/alternative.c 2011-03-23 17:20:06.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/alternative.c 2011-03-21 23:47:41.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/alternative.c 2011-03-26 20:47:42.000000000 -0400
@@ -248,7 +248,7 @@ static void alternatives_smp_lock(const
if (!*poff || ptr < text || ptr >= text_end)
continue;
@@ -10368,7 +10368,21 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/alternative.c linux-2.6.38.1-new/arch/
return addr;
}
-@@ -682,9 +672,9 @@ void __kprobes text_poke_smp_batch(struc
+@@ -620,12 +610,7 @@ static int __kprobes stop_machine_text_p
+ flush_icache_range((unsigned long)p->addr,
+ (unsigned long)p->addr + p->len);
+ }
+- /*
+- * Intel Archiecture Software Developer's Manual section 7.1.3 specifies
+- * that a core serializing instruction such as "cpuid" should be
+- * executed on _each_ core before the new instruction is made visible.
+- */
+- sync_core();
++
+ return 0;
+ }
+
+@@ -682,9 +667,9 @@ void __kprobes text_poke_smp_batch(struc
#if defined(CONFIG_DYNAMIC_FTRACE) || defined(HAVE_JUMP_LABEL)
#ifdef CONFIG_X86_64
@@ -10380,9 +10394,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/alternative.c linux-2.6.38.1-new/arch/
#endif
void __init arch_init_ideal_nop5(void)
-diff -urNp linux-2.6.38.1/arch/x86/kernel/amd_iommu.c linux-2.6.38.1-new/arch/x86/kernel/amd_iommu.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/amd_iommu.c linux-2.6.38.1/arch/x86/kernel/amd_iommu.c
--- linux-2.6.38.1/arch/x86/kernel/amd_iommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/amd_iommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/amd_iommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -2286,7 +2286,7 @@ static void prealloc_protection_domains(
}
}
@@ -10392,9 +10406,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/amd_iommu.c linux-2.6.38.1-new/arch/x8
.alloc_coherent = alloc_coherent,
.free_coherent = free_coherent,
.map_page = map_page,
-diff -urNp linux-2.6.38.1/arch/x86/kernel/apic/io_apic.c linux-2.6.38.1-new/arch/x86/kernel/apic/io_apic.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/apic/io_apic.c linux-2.6.38.1/arch/x86/kernel/apic/io_apic.c
--- linux-2.6.38.1/arch/x86/kernel/apic/io_apic.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/apic/io_apic.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/apic/io_apic.c 2011-03-21 18:31:35.000000000 -0400
@@ -617,7 +617,7 @@ struct IO_APIC_route_entry **alloc_ioapi
ioapic_entries = kzalloc(sizeof(*ioapic_entries) * nr_ioapics,
GFP_KERNEL);
@@ -10431,9 +10445,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/apic/io_apic.c linux-2.6.38.1-new/arch
{
raw_spin_unlock(&vector_lock);
}
-diff -urNp linux-2.6.38.1/arch/x86/kernel/apm_32.c linux-2.6.38.1-new/arch/x86/kernel/apm_32.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/apm_32.c linux-2.6.38.1/arch/x86/kernel/apm_32.c
--- linux-2.6.38.1/arch/x86/kernel/apm_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/apm_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/apm_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -410,7 +410,7 @@ static DEFINE_MUTEX(apm_mutex);
* This is for buggy BIOS's that refer to (real mode) segment 0x40
* even though they are called in protected mode.
@@ -10535,9 +10549,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/apm_32.c linux-2.6.38.1-new/arch/x86/k
proc_create("apm", 0, NULL, &apm_file_ops);
-diff -urNp linux-2.6.38.1/arch/x86/kernel/asm-offsets_32.c linux-2.6.38.1-new/arch/x86/kernel/asm-offsets_32.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/asm-offsets_32.c linux-2.6.38.1/arch/x86/kernel/asm-offsets_32.c
--- linux-2.6.38.1/arch/x86/kernel/asm-offsets_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/asm-offsets_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/asm-offsets_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -113,6 +113,11 @@ void foo(void)
OFFSET(PV_CPU_iret, pv_cpu_ops, iret);
OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit);
@@ -10550,9 +10564,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/asm-offsets_32.c linux-2.6.38.1-new/ar
#endif
#ifdef CONFIG_XEN
-diff -urNp linux-2.6.38.1/arch/x86/kernel/asm-offsets_64.c linux-2.6.38.1-new/arch/x86/kernel/asm-offsets_64.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/asm-offsets_64.c linux-2.6.38.1/arch/x86/kernel/asm-offsets_64.c
--- linux-2.6.38.1/arch/x86/kernel/asm-offsets_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/asm-offsets_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/asm-offsets_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -63,6 +63,18 @@ int main(void)
OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit);
OFFSET(PV_CPU_swapgs, pv_cpu_ops, swapgs);
@@ -10580,9 +10594,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/asm-offsets_64.c linux-2.6.38.1-new/ar
DEFINE(TSS_ist, offsetof(struct tss_struct, x86_tss.ist));
BLANK();
DEFINE(crypto_tfm_ctx_offset, offsetof(struct crypto_tfm, __crt_ctx));
-diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/common.c linux-2.6.38.1-new/arch/x86/kernel/cpu/common.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/common.c linux-2.6.38.1/arch/x86/kernel/cpu/common.c
--- linux-2.6.38.1/arch/x86/kernel/cpu/common.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/cpu/common.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/cpu/common.c 2011-03-21 18:31:35.000000000 -0400
@@ -83,60 +83,6 @@ static const struct cpu_dev __cpuinitcon
static const struct cpu_dev *this_cpu __cpuinitdata = &default_cpu;
@@ -10708,9 +10722,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/common.c linux-2.6.38.1-new/arch/x
struct thread_struct *thread = &curr->thread;
if (cpumask_test_and_set_cpu(cpu, cpu_initialized_mask)) {
-diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c linux-2.6.38.1-new/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
--- linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c 2011-03-21 18:31:35.000000000 -0400
@@ -481,7 +481,7 @@ static const struct dmi_system_id sw_any
DMI_MATCH(DMI_PRODUCT_NAME, "X6DLP"),
},
@@ -10720,9 +10734,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c linux-2.6.3
};
static int acpi_cpufreq_blacklist(struct cpuinfo_x86 *c)
-diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c linux-2.6.38.1-new/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
--- linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c 2011-03-21 18:31:35.000000000 -0400
@@ -226,7 +226,7 @@ static struct cpu_model models[] =
{ &cpu_ids[CPU_MP4HT_D0], NULL, 0, NULL },
{ &cpu_ids[CPU_MP4HT_E0], NULL, 0, NULL },
@@ -10732,9 +10746,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c linux
};
#undef _BANIAS
#undef BANIAS
-diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/intel.c linux-2.6.38.1-new/arch/x86/kernel/cpu/intel.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/intel.c linux-2.6.38.1/arch/x86/kernel/cpu/intel.c
--- linux-2.6.38.1/arch/x86/kernel/cpu/intel.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/cpu/intel.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/cpu/intel.c 2011-03-21 18:31:35.000000000 -0400
@@ -161,7 +161,7 @@ static void __cpuinit trap_init_f00f_bug
* Update the IDT descriptor and reload the IDT so that
* it uses the read-only mapped virtual address.
@@ -10744,9 +10758,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/intel.c linux-2.6.38.1-new/arch/x8
load_idt(&idt_descr);
}
#endif
-diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/Makefile linux-2.6.38.1-new/arch/x86/kernel/cpu/Makefile
+diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/Makefile linux-2.6.38.1/arch/x86/kernel/cpu/Makefile
--- linux-2.6.38.1/arch/x86/kernel/cpu/Makefile 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/cpu/Makefile 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/cpu/Makefile 2011-03-21 18:31:35.000000000 -0400
@@ -8,10 +8,6 @@ CFLAGS_REMOVE_common.o = -pg
CFLAGS_REMOVE_perf_event.o = -pg
endif
@@ -10758,9 +10772,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/Makefile linux-2.6.38.1-new/arch/x
obj-y := intel_cacheinfo.o scattered.o topology.o
obj-y += proc.o capflags.o powerflags.o common.o
obj-y += vmware.o hypervisor.o sched.o mshyperv.o
-diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mcheck/mce.c linux-2.6.38.1-new/arch/x86/kernel/cpu/mcheck/mce.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mcheck/mce.c linux-2.6.38.1/arch/x86/kernel/cpu/mcheck/mce.c
--- linux-2.6.38.1/arch/x86/kernel/cpu/mcheck/mce.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/cpu/mcheck/mce.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/cpu/mcheck/mce.c 2011-03-21 18:31:35.000000000 -0400
@@ -45,6 +45,7 @@
#include <asm/ipi.h>
#include <asm/mce.h>
@@ -10831,9 +10845,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mcheck/mce.c linux-2.6.38.1-new/ar
};
/*
-diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/generic.c linux-2.6.38.1-new/arch/x86/kernel/cpu/mtrr/generic.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/generic.c linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/generic.c
--- linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/generic.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/cpu/mtrr/generic.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/generic.c 2011-03-21 18:31:35.000000000 -0400
@@ -28,7 +28,7 @@ static struct fixed_range_block fixed_ra
{ MSR_MTRRfix64K_00000, 1 }, /* one 64k MTRR */
{ MSR_MTRRfix16K_80000, 2 }, /* two 16k MTRRs */
@@ -10843,9 +10857,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/generic.c linux-2.6.38.1-new/
};
static unsigned long smp_changes_mask;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/main.c linux-2.6.38.1-new/arch/x86/kernel/cpu/mtrr/main.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/main.c linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/main.c
--- linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/main.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/cpu/mtrr/main.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/main.c 2011-03-21 18:31:35.000000000 -0400
@@ -61,7 +61,7 @@ static DEFINE_MUTEX(mtrr_mutex);
u64 size_or_mask, size_and_mask;
static bool mtrr_aps_delayed_init;
@@ -10855,9 +10869,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/main.c linux-2.6.38.1-new/arc
const struct mtrr_ops *mtrr_if;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/mtrr.h linux-2.6.38.1-new/arch/x86/kernel/cpu/mtrr/mtrr.h
+diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/mtrr.h linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/mtrr.h
--- linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/mtrr.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/cpu/mtrr/mtrr.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/mtrr.h 2011-03-21 18:31:35.000000000 -0400
@@ -12,19 +12,19 @@
extern unsigned int mtrr_usage_table[MTRR_MAX_VAR_RANGES];
@@ -10886,9 +10900,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/mtrr/mtrr.h linux-2.6.38.1-new/arc
};
extern int generic_get_free_region(unsigned long base, unsigned long size,
-diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/perf_event.c linux-2.6.38.1-new/arch/x86/kernel/cpu/perf_event.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/perf_event.c linux-2.6.38.1/arch/x86/kernel/cpu/perf_event.c
--- linux-2.6.38.1/arch/x86/kernel/cpu/perf_event.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/cpu/perf_event.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/cpu/perf_event.c 2011-03-21 18:31:35.000000000 -0400
@@ -1781,7 +1781,7 @@ perf_callchain_user(struct perf_callchai
break;
@@ -10898,9 +10912,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/cpu/perf_event.c linux-2.6.38.1-new/ar
}
}
-diff -urNp linux-2.6.38.1/arch/x86/kernel/crash.c linux-2.6.38.1-new/arch/x86/kernel/crash.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/crash.c linux-2.6.38.1/arch/x86/kernel/crash.c
--- linux-2.6.38.1/arch/x86/kernel/crash.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/crash.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/crash.c 2011-03-21 18:31:35.000000000 -0400
@@ -42,7 +42,7 @@ static void kdump_nmi_callback(int cpu,
regs = args->regs;
@@ -10910,9 +10924,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/crash.c linux-2.6.38.1-new/arch/x86/ke
crash_fixup_ss_esp(&fixed_regs, regs);
regs = &fixed_regs;
}
-diff -urNp linux-2.6.38.1/arch/x86/kernel/doublefault_32.c linux-2.6.38.1-new/arch/x86/kernel/doublefault_32.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/doublefault_32.c linux-2.6.38.1/arch/x86/kernel/doublefault_32.c
--- linux-2.6.38.1/arch/x86/kernel/doublefault_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/doublefault_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/doublefault_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -11,7 +11,7 @@
#define DOUBLEFAULT_STACKSIZE (1024)
@@ -10944,9 +10958,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/doublefault_32.c linux-2.6.38.1-new/ar
.fs = __KERNEL_PERCPU,
.__cr3 = __pa_nodebug(swapper_pg_dir),
-diff -urNp linux-2.6.38.1/arch/x86/kernel/dumpstack_32.c linux-2.6.38.1-new/arch/x86/kernel/dumpstack_32.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/dumpstack_32.c linux-2.6.38.1/arch/x86/kernel/dumpstack_32.c
--- linux-2.6.38.1/arch/x86/kernel/dumpstack_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/dumpstack_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/dumpstack_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -95,21 +95,22 @@ void show_registers(struct pt_regs *regs
* When in-kernel, we also print out the stack and code at the
* time of the fault..
@@ -10990,9 +11004,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/dumpstack_32.c linux-2.6.38.1-new/arch
if (ip < PAGE_OFFSET)
return 0;
if (probe_kernel_address((unsigned short *)ip, ud2))
-diff -urNp linux-2.6.38.1/arch/x86/kernel/dumpstack.c linux-2.6.38.1-new/arch/x86/kernel/dumpstack.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/dumpstack.c linux-2.6.38.1/arch/x86/kernel/dumpstack.c
--- linux-2.6.38.1/arch/x86/kernel/dumpstack.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/dumpstack.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/dumpstack.c 2011-03-21 18:31:35.000000000 -0400
@@ -2,6 +2,9 @@
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs
@@ -11048,9 +11062,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/dumpstack.c linux-2.6.38.1-new/arch/x8
report_bug(regs->ip, regs);
if (__die(str, regs, err))
-diff -urNp linux-2.6.38.1/arch/x86/kernel/entry_32.S linux-2.6.38.1-new/arch/x86/kernel/entry_32.S
+diff -urNp linux-2.6.38.1/arch/x86/kernel/entry_32.S linux-2.6.38.1/arch/x86/kernel/entry_32.S
--- linux-2.6.38.1/arch/x86/kernel/entry_32.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/entry_32.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/entry_32.S 2011-03-21 18:31:35.000000000 -0400
@@ -183,13 +183,81 @@
/*CFI_REL_OFFSET gs, PT_GS*/
.endm
@@ -11423,9 +11437,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/entry_32.S linux-2.6.38.1-new/arch/x86
RESTORE_REGS
lss 12+4(%esp), %esp # back to espfix stack
CFI_ADJUST_CFA_OFFSET -24
-diff -urNp linux-2.6.38.1/arch/x86/kernel/entry_64.S linux-2.6.38.1-new/arch/x86/kernel/entry_64.S
+diff -urNp linux-2.6.38.1/arch/x86/kernel/entry_64.S linux-2.6.38.1/arch/x86/kernel/entry_64.S
--- linux-2.6.38.1/arch/x86/kernel/entry_64.S 2011-03-23 17:20:06.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/entry_64.S 2011-03-23 17:21:49.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/entry_64.S 2011-03-23 17:21:49.000000000 -0400
@@ -53,6 +53,7 @@
#include <asm/paravirt.h>
#include <asm/ftrace.h>
@@ -11904,9 +11918,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/entry_64.S linux-2.6.38.1-new/arch/x86
RESTORE_ALL 8
jmp irq_return
nmi_userspace:
-diff -urNp linux-2.6.38.1/arch/x86/kernel/ftrace.c linux-2.6.38.1-new/arch/x86/kernel/ftrace.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/ftrace.c linux-2.6.38.1/arch/x86/kernel/ftrace.c
--- linux-2.6.38.1/arch/x86/kernel/ftrace.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/ftrace.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/ftrace.c 2011-03-21 18:31:35.000000000 -0400
@@ -177,7 +177,9 @@ void ftrace_nmi_enter(void)
if (atomic_inc_return(&nmi_running) & MOD_CODE_WRITE_FLAG) {
@@ -11944,9 +11958,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/ftrace.c linux-2.6.38.1-new/arch/x86/k
if (probe_kernel_read(code, (void *)ip, MCOUNT_INSN_SIZE))
return -EFAULT;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/head32.c linux-2.6.38.1-new/arch/x86/kernel/head32.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/head32.c linux-2.6.38.1/arch/x86/kernel/head32.c
--- linux-2.6.38.1/arch/x86/kernel/head32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/head32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/head32.c 2011-03-21 18:31:35.000000000 -0400
@@ -19,6 +19,7 @@
#include <asm/io_apic.h>
#include <asm/bios_ebda.h>
@@ -11964,9 +11978,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/head32.c linux-2.6.38.1-new/arch/x86/k
#ifdef CONFIG_BLK_DEV_INITRD
/* Reserve INITRD */
-diff -urNp linux-2.6.38.1/arch/x86/kernel/head_32.S linux-2.6.38.1-new/arch/x86/kernel/head_32.S
+diff -urNp linux-2.6.38.1/arch/x86/kernel/head_32.S linux-2.6.38.1/arch/x86/kernel/head_32.S
--- linux-2.6.38.1/arch/x86/kernel/head_32.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/head_32.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/head_32.S 2011-03-21 18:31:35.000000000 -0400
@@ -25,6 +25,12 @@
/* Physical address */
#define pa(X) ((X) - __PAGE_OFFSET)
@@ -12394,9 +12408,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/head_32.S linux-2.6.38.1-new/arch/x86/
+ /* Be sure this is zeroed to avoid false validations in Xen */
+ .fill PAGE_SIZE_asm - GDT_SIZE,1,0
+ .endr
-diff -urNp linux-2.6.38.1/arch/x86/kernel/head_64.S linux-2.6.38.1-new/arch/x86/kernel/head_64.S
+diff -urNp linux-2.6.38.1/arch/x86/kernel/head_64.S linux-2.6.38.1/arch/x86/kernel/head_64.S
--- linux-2.6.38.1/arch/x86/kernel/head_64.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/head_64.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/head_64.S 2011-03-21 18:31:35.000000000 -0400
@@ -19,6 +19,7 @@
#include <asm/cache.h>
#include <asm/processor-flags.h>
@@ -12666,9 +12680,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/head_64.S linux-2.6.38.1-new/arch/x86/
__PAGE_ALIGNED_BSS
.align PAGE_SIZE
-diff -urNp linux-2.6.38.1/arch/x86/kernel/i386_ksyms_32.c linux-2.6.38.1-new/arch/x86/kernel/i386_ksyms_32.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/i386_ksyms_32.c linux-2.6.38.1/arch/x86/kernel/i386_ksyms_32.c
--- linux-2.6.38.1/arch/x86/kernel/i386_ksyms_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/i386_ksyms_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/i386_ksyms_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -20,8 +20,12 @@ extern void cmpxchg8b_emu(void);
EXPORT_SYMBOL(cmpxchg8b_emu);
#endif
@@ -12690,9 +12704,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/i386_ksyms_32.c linux-2.6.38.1-new/arc
+#ifdef CONFIG_PAX_KERNEXEC
+EXPORT_SYMBOL(__LOAD_PHYSICAL_ADDR);
+#endif
-diff -urNp linux-2.6.38.1/arch/x86/kernel/init_task.c linux-2.6.38.1-new/arch/x86/kernel/init_task.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/init_task.c linux-2.6.38.1/arch/x86/kernel/init_task.c
--- linux-2.6.38.1/arch/x86/kernel/init_task.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/init_task.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/init_task.c 2011-03-21 18:31:35.000000000 -0400
@@ -38,5 +38,5 @@ EXPORT_SYMBOL(init_task);
* section. Since TSS's are completely CPU-local, we want them
* on exact cacheline boundaries, to eliminate cacheline ping-pong.
@@ -12701,9 +12715,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/init_task.c linux-2.6.38.1-new/arch/x8
-
+struct tss_struct init_tss[NR_CPUS] ____cacheline_internodealigned_in_smp = { [0 ... NR_CPUS-1] = INIT_TSS };
+EXPORT_SYMBOL(init_tss);
-diff -urNp linux-2.6.38.1/arch/x86/kernel/ioport.c linux-2.6.38.1-new/arch/x86/kernel/ioport.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/ioport.c linux-2.6.38.1/arch/x86/kernel/ioport.c
--- linux-2.6.38.1/arch/x86/kernel/ioport.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/ioport.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/ioport.c 2011-03-21 18:31:35.000000000 -0400
@@ -6,6 +6,7 @@
#include <linux/sched.h>
#include <linux/kernel.h>
@@ -12747,9 +12761,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/ioport.c linux-2.6.38.1-new/arch/x86/k
if (!capable(CAP_SYS_RAWIO))
return -EPERM;
}
-diff -urNp linux-2.6.38.1/arch/x86/kernel/irq_32.c linux-2.6.38.1-new/arch/x86/kernel/irq_32.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/irq_32.c linux-2.6.38.1/arch/x86/kernel/irq_32.c
--- linux-2.6.38.1/arch/x86/kernel/irq_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/irq_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/irq_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -91,7 +91,7 @@ execute_on_irq_stack(int overflow, struc
return 0;
@@ -12802,9 +12816,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/irq_32.c linux-2.6.38.1-new/arch/x86/k
/*
* Shouldnt happen, we returned above if in_interrupt():
*/
-diff -urNp linux-2.6.38.1/arch/x86/kernel/kgdb.c linux-2.6.38.1-new/arch/x86/kernel/kgdb.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/kgdb.c linux-2.6.38.1/arch/x86/kernel/kgdb.c
--- linux-2.6.38.1/arch/x86/kernel/kgdb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/kgdb.c 2011-03-21 18:31:35.000000000 -0400
@@ -124,11 +124,11 @@ char *dbg_get_reg(int regno, void *mem,
switch (regno) {
#ifdef CONFIG_X86_32
@@ -12828,9 +12842,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/kgdb.c linux-2.6.38.1-new/arch/x86/ker
/* Breakpoint instruction: */
.gdb_bpt_instr = { 0xcc },
.flags = KGDB_HW_BREAKPOINT,
-diff -urNp linux-2.6.38.1/arch/x86/kernel/kprobes.c linux-2.6.38.1-new/arch/x86/kernel/kprobes.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/kprobes.c linux-2.6.38.1/arch/x86/kernel/kprobes.c
--- linux-2.6.38.1/arch/x86/kernel/kprobes.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/kprobes.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/kprobes.c 2011-03-21 18:31:35.000000000 -0400
@@ -115,8 +115,11 @@ static void __kprobes __synthesize_relat
} __attribute__((packed)) *insn;
@@ -12964,9 +12978,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/kprobes.c linux-2.6.38.1-new/arch/x86/
RELATIVE_ADDR_SIZE);
insn_buf[0] = RELATIVEJUMP_OPCODE;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/ldt.c linux-2.6.38.1-new/arch/x86/kernel/ldt.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/ldt.c linux-2.6.38.1/arch/x86/kernel/ldt.c
--- linux-2.6.38.1/arch/x86/kernel/ldt.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/ldt.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/ldt.c 2011-03-21 18:31:35.000000000 -0400
@@ -67,13 +67,13 @@ static int alloc_ldt(mm_context_t *pc, i
if (reload) {
#ifdef CONFIG_SMP
@@ -13031,9 +13045,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/ldt.c linux-2.6.38.1-new/arch/x86/kern
fill_ldt(&ldt, &ldt_info);
if (oldmode)
ldt.avl = 0;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/machine_kexec_32.c linux-2.6.38.1-new/arch/x86/kernel/machine_kexec_32.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/machine_kexec_32.c linux-2.6.38.1/arch/x86/kernel/machine_kexec_32.c
--- linux-2.6.38.1/arch/x86/kernel/machine_kexec_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/machine_kexec_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/machine_kexec_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -27,7 +27,7 @@
#include <asm/cacheflush.h>
#include <asm/debugreg.h>
@@ -13061,9 +13075,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/machine_kexec_32.c linux-2.6.38.1-new/
relocate_kernel_ptr = control_page;
page_list[PA_CONTROL_PAGE] = __pa(control_page);
-diff -urNp linux-2.6.38.1/arch/x86/kernel/microcode_amd.c linux-2.6.38.1-new/arch/x86/kernel/microcode_amd.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/microcode_amd.c linux-2.6.38.1/arch/x86/kernel/microcode_amd.c
--- linux-2.6.38.1/arch/x86/kernel/microcode_amd.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/microcode_amd.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/microcode_amd.c 2011-03-21 18:31:35.000000000 -0400
@@ -317,7 +317,7 @@ static void microcode_fini_cpu_amd(int c
uci->mc = NULL;
}
@@ -13082,9 +13096,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/microcode_amd.c linux-2.6.38.1-new/arc
{
return &microcode_amd_ops;
}
-diff -urNp linux-2.6.38.1/arch/x86/kernel/microcode_core.c linux-2.6.38.1-new/arch/x86/kernel/microcode_core.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/microcode_core.c linux-2.6.38.1/arch/x86/kernel/microcode_core.c
--- linux-2.6.38.1/arch/x86/kernel/microcode_core.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/microcode_core.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/microcode_core.c 2011-03-21 18:31:35.000000000 -0400
@@ -92,7 +92,7 @@ MODULE_LICENSE("GPL");
#define MICROCODE_VERSION "2.00"
@@ -13094,9 +13108,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/microcode_core.c linux-2.6.38.1-new/ar
/*
* Synchronization.
-diff -urNp linux-2.6.38.1/arch/x86/kernel/microcode_intel.c linux-2.6.38.1-new/arch/x86/kernel/microcode_intel.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/microcode_intel.c linux-2.6.38.1/arch/x86/kernel/microcode_intel.c
--- linux-2.6.38.1/arch/x86/kernel/microcode_intel.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/microcode_intel.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/microcode_intel.c 2011-03-21 18:31:35.000000000 -0400
@@ -440,13 +440,13 @@ static enum ucode_state request_microcod
static int get_ucode_user(void *to, const void *from, size_t n)
@@ -13131,9 +13145,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/microcode_intel.c linux-2.6.38.1-new/a
{
return &microcode_intel_ops;
}
-diff -urNp linux-2.6.38.1/arch/x86/kernel/module.c linux-2.6.38.1-new/arch/x86/kernel/module.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/module.c linux-2.6.38.1/arch/x86/kernel/module.c
--- linux-2.6.38.1/arch/x86/kernel/module.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
@@ -35,21 +35,66 @@
#define DEBUGP(fmt...)
#endif
@@ -13272,9 +13286,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/module.c linux-2.6.38.1-new/arch/x86/k
#if 0
if ((s64)val != *(s32 *)loc)
goto overflow;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/paravirt.c linux-2.6.38.1-new/arch/x86/kernel/paravirt.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/paravirt.c linux-2.6.38.1/arch/x86/kernel/paravirt.c
--- linux-2.6.38.1/arch/x86/kernel/paravirt.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/paravirt.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/paravirt.c 2011-03-21 18:31:35.000000000 -0400
@@ -122,7 +122,7 @@ unsigned paravirt_patch_jmp(void *insnbu
* corresponding structure. */
static void *get_call_destination(u8 type)
@@ -13378,9 +13392,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/paravirt.c linux-2.6.38.1-new/arch/x86
};
EXPORT_SYMBOL_GPL(pv_time_ops);
-diff -urNp linux-2.6.38.1/arch/x86/kernel/paravirt-spinlocks.c linux-2.6.38.1-new/arch/x86/kernel/paravirt-spinlocks.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/paravirt-spinlocks.c linux-2.6.38.1/arch/x86/kernel/paravirt-spinlocks.c
--- linux-2.6.38.1/arch/x86/kernel/paravirt-spinlocks.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/paravirt-spinlocks.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/paravirt-spinlocks.c 2011-03-21 18:31:35.000000000 -0400
@@ -13,7 +13,7 @@ default_spin_lock_flags(arch_spinlock_t
arch_spin_lock(lock);
}
@@ -13390,9 +13404,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/paravirt-spinlocks.c linux-2.6.38.1-ne
#ifdef CONFIG_SMP
.spin_is_locked = __ticket_spin_is_locked,
.spin_is_contended = __ticket_spin_is_contended,
-diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-calgary_64.c linux-2.6.38.1-new/arch/x86/kernel/pci-calgary_64.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-calgary_64.c linux-2.6.38.1/arch/x86/kernel/pci-calgary_64.c
--- linux-2.6.38.1/arch/x86/kernel/pci-calgary_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/pci-calgary_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/pci-calgary_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -476,7 +476,7 @@ static void calgary_free_coherent(struct
free_pages((unsigned long)vaddr, get_order(size));
}
@@ -13402,9 +13416,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-calgary_64.c linux-2.6.38.1-new/ar
.alloc_coherent = calgary_alloc_coherent,
.free_coherent = calgary_free_coherent,
.map_sg = calgary_map_sg,
-diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-dma.c linux-2.6.38.1-new/arch/x86/kernel/pci-dma.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-dma.c linux-2.6.38.1/arch/x86/kernel/pci-dma.c
--- linux-2.6.38.1/arch/x86/kernel/pci-dma.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/pci-dma.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/pci-dma.c 2011-03-21 18:31:35.000000000 -0400
@@ -16,7 +16,7 @@
static int forbid_dac __read_mostly;
@@ -13423,9 +13437,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-dma.c linux-2.6.38.1-new/arch/x86/
#ifdef CONFIG_PCI
if (mask > 0xffffffff && forbid_dac > 0) {
-diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-gart_64.c linux-2.6.38.1-new/arch/x86/kernel/pci-gart_64.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-gart_64.c linux-2.6.38.1/arch/x86/kernel/pci-gart_64.c
--- linux-2.6.38.1/arch/x86/kernel/pci-gart_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/pci-gart_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/pci-gart_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -706,7 +706,7 @@ static __init int init_amd_gatt(struct a
return -1;
}
@@ -13435,9 +13449,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-gart_64.c linux-2.6.38.1-new/arch/
.map_sg = gart_map_sg,
.unmap_sg = gart_unmap_sg,
.map_page = gart_map_page,
-diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-nommu.c linux-2.6.38.1-new/arch/x86/kernel/pci-nommu.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-nommu.c linux-2.6.38.1/arch/x86/kernel/pci-nommu.c
--- linux-2.6.38.1/arch/x86/kernel/pci-nommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/pci-nommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/pci-nommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -95,7 +95,7 @@ static void nommu_sync_sg_for_device(str
flush_write_buffers();
}
@@ -13447,9 +13461,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-nommu.c linux-2.6.38.1-new/arch/x8
.alloc_coherent = dma_generic_alloc_coherent,
.free_coherent = nommu_free_coherent,
.map_sg = nommu_map_sg,
-diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-swiotlb.c linux-2.6.38.1-new/arch/x86/kernel/pci-swiotlb.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-swiotlb.c linux-2.6.38.1/arch/x86/kernel/pci-swiotlb.c
--- linux-2.6.38.1/arch/x86/kernel/pci-swiotlb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/pci-swiotlb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/pci-swiotlb.c 2011-03-21 18:31:35.000000000 -0400
@@ -26,7 +26,7 @@ static void *x86_swiotlb_alloc_coherent(
return swiotlb_alloc_coherent(hwdev, size, dma_handle, flags);
}
@@ -13459,9 +13473,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/pci-swiotlb.c linux-2.6.38.1-new/arch/
.mapping_error = swiotlb_dma_mapping_error,
.alloc_coherent = x86_swiotlb_alloc_coherent,
.free_coherent = swiotlb_free_coherent,
-diff -urNp linux-2.6.38.1/arch/x86/kernel/process_32.c linux-2.6.38.1-new/arch/x86/kernel/process_32.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/process_32.c linux-2.6.38.1/arch/x86/kernel/process_32.c
--- linux-2.6.38.1/arch/x86/kernel/process_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/process_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/process_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -65,6 +65,7 @@ asmlinkage void ret_from_fork(void) __as
unsigned long thread_saved_pc(struct task_struct *tsk)
{
@@ -13545,9 +13559,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/process_32.c linux-2.6.38.1-new/arch/x
+ load_sp0(init_tss + smp_processor_id(), thread);
+}
+#endif
-diff -urNp linux-2.6.38.1/arch/x86/kernel/process_64.c linux-2.6.38.1-new/arch/x86/kernel/process_64.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/process_64.c linux-2.6.38.1/arch/x86/kernel/process_64.c
--- linux-2.6.38.1/arch/x86/kernel/process_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/process_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/process_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -87,7 +87,7 @@ static void __exit_idle(void)
void exit_idle(void)
{
@@ -13581,9 +13595,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/process_64.c linux-2.6.38.1-new/arch/x
return 0;
ip = *(u64 *)(fp+8);
if (!in_sched_functions(ip))
-diff -urNp linux-2.6.38.1/arch/x86/kernel/process.c linux-2.6.38.1-new/arch/x86/kernel/process.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/process.c linux-2.6.38.1/arch/x86/kernel/process.c
--- linux-2.6.38.1/arch/x86/kernel/process.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/process.c 2011-03-21 18:31:35.000000000 -0400
@@ -70,7 +70,7 @@ void exit_thread(void)
unsigned long *bp = t->io_bitmap_ptr;
@@ -13654,9 +13668,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/process.c linux-2.6.38.1-new/arch/x86/
- return randomize_range(mm->brk, range_end, 0) ? : mm->brk;
-}
-
-diff -urNp linux-2.6.38.1/arch/x86/kernel/ptrace.c linux-2.6.38.1-new/arch/x86/kernel/ptrace.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/ptrace.c linux-2.6.38.1/arch/x86/kernel/ptrace.c
--- linux-2.6.38.1/arch/x86/kernel/ptrace.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/ptrace.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/ptrace.c 2011-03-21 18:31:35.000000000 -0400
@@ -805,7 +805,7 @@ long arch_ptrace(struct task_struct *chi
unsigned long addr, unsigned long data)
{
@@ -13710,9 +13724,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/ptrace.c linux-2.6.38.1-new/arch/x86/k
{
bool step;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/reboot.c linux-2.6.38.1-new/arch/x86/kernel/reboot.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/reboot.c linux-2.6.38.1/arch/x86/kernel/reboot.c
--- linux-2.6.38.1/arch/x86/kernel/reboot.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/reboot.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/reboot.c 2011-03-21 18:31:35.000000000 -0400
@@ -34,7 +34,7 @@ void (*pm_power_off)(void);
EXPORT_SYMBOL(pm_power_off);
@@ -13778,9 +13792,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/reboot.c linux-2.6.38.1-new/arch/x86/k
/* Set up the IDT for real mode. */
load_idt(&real_mode_idt);
-diff -urNp linux-2.6.38.1/arch/x86/kernel/setup.c linux-2.6.38.1-new/arch/x86/kernel/setup.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/setup.c linux-2.6.38.1/arch/x86/kernel/setup.c
--- linux-2.6.38.1/arch/x86/kernel/setup.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/setup.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/setup.c 2011-03-21 18:31:35.000000000 -0400
@@ -654,7 +654,7 @@ static void __init trim_bios_range(void)
* area (640->1Mb) as ram even though it is not.
* take them out.
@@ -13810,9 +13824,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/setup.c linux-2.6.38.1-new/arch/x86/ke
data_resource.end = virt_to_phys(_edata)-1;
bss_resource.start = virt_to_phys(&__bss_start);
bss_resource.end = virt_to_phys(&__bss_stop)-1;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/setup_percpu.c linux-2.6.38.1-new/arch/x86/kernel/setup_percpu.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/setup_percpu.c linux-2.6.38.1/arch/x86/kernel/setup_percpu.c
--- linux-2.6.38.1/arch/x86/kernel/setup_percpu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/setup_percpu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/setup_percpu.c 2011-03-21 18:31:35.000000000 -0400
@@ -21,19 +21,17 @@
#include <asm/cpu.h>
#include <asm/stackprotector.h>
@@ -13876,9 +13890,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/setup_percpu.c linux-2.6.38.1-new/arch
/*
* Up to this point, the boot CPU has been using .init.data
* area. Reload any changed state for the boot CPU.
-diff -urNp linux-2.6.38.1/arch/x86/kernel/signal.c linux-2.6.38.1-new/arch/x86/kernel/signal.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/signal.c linux-2.6.38.1/arch/x86/kernel/signal.c
--- linux-2.6.38.1/arch/x86/kernel/signal.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/signal.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/signal.c 2011-03-21 18:31:35.000000000 -0400
@@ -198,7 +198,7 @@ static unsigned long align_sigframe(unsi
* Align the stack pointer according to the i386 ABI,
* i.e. so that on function entry ((sp + 4) & 15) == 0.
@@ -13953,9 +13967,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/signal.c linux-2.6.38.1-new/arch/x86/k
return;
if (current_thread_info()->status & TS_RESTORE_SIGMASK)
-diff -urNp linux-2.6.38.1/arch/x86/kernel/smpboot.c linux-2.6.38.1-new/arch/x86/kernel/smpboot.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/smpboot.c linux-2.6.38.1/arch/x86/kernel/smpboot.c
--- linux-2.6.38.1/arch/x86/kernel/smpboot.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/smpboot.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/smpboot.c 2011-03-21 18:31:35.000000000 -0400
@@ -783,7 +783,11 @@ do_rest:
(unsigned long)task_stack_page(c_idle.idle) -
KERNEL_STACK_OFFSET + THREAD_SIZE;
@@ -13981,9 +13995,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/smpboot.c linux-2.6.38.1-new/arch/x86/
err = do_boot_cpu(apicid, cpu);
if (err) {
pr_debug("do_boot_cpu failed %d\n", err);
-diff -urNp linux-2.6.38.1/arch/x86/kernel/step.c linux-2.6.38.1-new/arch/x86/kernel/step.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/step.c linux-2.6.38.1/arch/x86/kernel/step.c
--- linux-2.6.38.1/arch/x86/kernel/step.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/step.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/step.c 2011-03-21 18:31:35.000000000 -0400
@@ -27,10 +27,10 @@ unsigned long convert_ip_to_linear(struc
struct desc_struct *desc;
unsigned long base;
@@ -14026,17 +14040,17 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/step.c linux-2.6.38.1-new/arch/x86/ker
/* 32-bit mode: register increment */
return 0;
/* 64-bit mode: REX prefix */
-diff -urNp linux-2.6.38.1/arch/x86/kernel/syscall_table_32.S linux-2.6.38.1-new/arch/x86/kernel/syscall_table_32.S
+diff -urNp linux-2.6.38.1/arch/x86/kernel/syscall_table_32.S linux-2.6.38.1/arch/x86/kernel/syscall_table_32.S
--- linux-2.6.38.1/arch/x86/kernel/syscall_table_32.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/syscall_table_32.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/syscall_table_32.S 2011-03-21 18:31:35.000000000 -0400
@@ -1,3 +1,4 @@
+.section .rodata,"a",@progbits
ENTRY(sys_call_table)
.long sys_restart_syscall /* 0 - old "setup()" system call, used for restarting */
.long sys_exit
-diff -urNp linux-2.6.38.1/arch/x86/kernel/sys_i386_32.c linux-2.6.38.1-new/arch/x86/kernel/sys_i386_32.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/sys_i386_32.c linux-2.6.38.1/arch/x86/kernel/sys_i386_32.c
--- linux-2.6.38.1/arch/x86/kernel/sys_i386_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/sys_i386_32.c 2011-03-21 23:47:41.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/sys_i386_32.c 2011-03-21 23:47:41.000000000 -0400
@@ -24,17 +24,224 @@
#include <asm/syscalls.h>
@@ -14274,9 +14288,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/sys_i386_32.c linux-2.6.38.1-new/arch/
+
+ return addr;
}
-diff -urNp linux-2.6.38.1/arch/x86/kernel/sys_x86_64.c linux-2.6.38.1-new/arch/x86/kernel/sys_x86_64.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/sys_x86_64.c linux-2.6.38.1/arch/x86/kernel/sys_x86_64.c
--- linux-2.6.38.1/arch/x86/kernel/sys_x86_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/sys_x86_64.c 2011-03-21 23:47:41.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/sys_x86_64.c 2011-03-21 23:47:41.000000000 -0400
@@ -32,8 +32,8 @@ out:
return error;
}
@@ -14414,9 +14428,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/sys_x86_64.c linux-2.6.38.1-new/arch/x
mm->cached_hole_size = ~0UL;
return addr;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/time.c linux-2.6.38.1-new/arch/x86/kernel/time.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/time.c linux-2.6.38.1/arch/x86/kernel/time.c
--- linux-2.6.38.1/arch/x86/kernel/time.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/time.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/time.c 2011-03-21 18:31:35.000000000 -0400
@@ -22,17 +22,13 @@
#include <asm/hpet.h>
#include <asm/time.h>
@@ -14455,9 +14469,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/time.c linux-2.6.38.1-new/arch/x86/ker
}
return pc;
}
-diff -urNp linux-2.6.38.1/arch/x86/kernel/tls.c linux-2.6.38.1-new/arch/x86/kernel/tls.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/tls.c linux-2.6.38.1/arch/x86/kernel/tls.c
--- linux-2.6.38.1/arch/x86/kernel/tls.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/tls.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/tls.c 2011-03-21 18:31:35.000000000 -0400
@@ -85,6 +85,11 @@ int do_set_thread_area(struct task_struc
if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX)
return -EINVAL;
@@ -14470,9 +14484,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/tls.c linux-2.6.38.1-new/arch/x86/kern
set_tls_desc(p, idx, &info, 1);
return 0;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/trampoline_32.S linux-2.6.38.1-new/arch/x86/kernel/trampoline_32.S
+diff -urNp linux-2.6.38.1/arch/x86/kernel/trampoline_32.S linux-2.6.38.1/arch/x86/kernel/trampoline_32.S
--- linux-2.6.38.1/arch/x86/kernel/trampoline_32.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/trampoline_32.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/trampoline_32.S 2011-03-21 18:31:35.000000000 -0400
@@ -32,6 +32,12 @@
#include <asm/segment.h>
#include <asm/page_types.h>
@@ -14495,9 +14509,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/trampoline_32.S linux-2.6.38.1-new/arc
# These need to be in the same 64K segment as the above;
# hence we don't use the boot_gdt_descr defined in head.S
-diff -urNp linux-2.6.38.1/arch/x86/kernel/trampoline_64.S linux-2.6.38.1-new/arch/x86/kernel/trampoline_64.S
+diff -urNp linux-2.6.38.1/arch/x86/kernel/trampoline_64.S linux-2.6.38.1/arch/x86/kernel/trampoline_64.S
--- linux-2.6.38.1/arch/x86/kernel/trampoline_64.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/trampoline_64.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/trampoline_64.S 2011-03-21 18:31:35.000000000 -0400
@@ -91,7 +91,7 @@ startup_32:
movl $__KERNEL_DS, %eax # Initialize the %ds segment register
movl %eax, %ds
@@ -14516,9 +14530,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/trampoline_64.S linux-2.6.38.1-new/arc
.long tgdt - r_base
.short 0
.quad 0x00cf9b000000ffff # __KERNEL32_CS
-diff -urNp linux-2.6.38.1/arch/x86/kernel/traps.c linux-2.6.38.1-new/arch/x86/kernel/traps.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/traps.c linux-2.6.38.1/arch/x86/kernel/traps.c
--- linux-2.6.38.1/arch/x86/kernel/traps.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/traps.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/traps.c 2011-03-21 18:31:35.000000000 -0400
@@ -70,12 +70,6 @@ asmlinkage int system_call(void);
/* Do we ignore FPU interrupts ? */
@@ -14661,9 +14675,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/traps.c linux-2.6.38.1-new/arch/x86/ke
{
if (!fixup_exception(regs)) {
task->thread.error_code = error_code;
-diff -urNp linux-2.6.38.1/arch/x86/kernel/tsc.c linux-2.6.38.1-new/arch/x86/kernel/tsc.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/tsc.c linux-2.6.38.1/arch/x86/kernel/tsc.c
--- linux-2.6.38.1/arch/x86/kernel/tsc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/tsc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/tsc.c 2011-03-21 18:31:35.000000000 -0400
@@ -837,7 +837,7 @@ static struct dmi_system_id __initdata b
DMI_MATCH(DMI_BOARD_NAME, "2635FA0"),
},
@@ -14673,9 +14687,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/tsc.c linux-2.6.38.1-new/arch/x86/kern
};
static void __init check_system_tsc_reliable(void)
-diff -urNp linux-2.6.38.1/arch/x86/kernel/vm86_32.c linux-2.6.38.1-new/arch/x86/kernel/vm86_32.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/vm86_32.c linux-2.6.38.1/arch/x86/kernel/vm86_32.c
--- linux-2.6.38.1/arch/x86/kernel/vm86_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/vm86_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/vm86_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -41,6 +41,7 @@
#include <linux/ptrace.h>
#include <linux/audit.h>
@@ -14740,9 +14754,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/vm86_32.c linux-2.6.38.1-new/arch/x86/
if (get_user(segoffs, intr_ptr))
goto cannot_handle;
if ((segoffs >> 16) == BIOSSEG)
-diff -urNp linux-2.6.38.1/arch/x86/kernel/vmlinux.lds.S linux-2.6.38.1-new/arch/x86/kernel/vmlinux.lds.S
+diff -urNp linux-2.6.38.1/arch/x86/kernel/vmlinux.lds.S linux-2.6.38.1/arch/x86/kernel/vmlinux.lds.S
--- linux-2.6.38.1/arch/x86/kernel/vmlinux.lds.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/vmlinux.lds.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/vmlinux.lds.S 2011-03-21 18:31:35.000000000 -0400
@@ -26,6 +26,13 @@
#include <asm/page_types.h>
#include <asm/cache.h>
@@ -15039,9 +15053,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/vmlinux.lds.S linux-2.6.38.1-new/arch/
"kernel image bigger than KERNEL_IMAGE_SIZE");
#ifdef CONFIG_SMP
-diff -urNp linux-2.6.38.1/arch/x86/kernel/vsyscall_64.c linux-2.6.38.1-new/arch/x86/kernel/vsyscall_64.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/vsyscall_64.c linux-2.6.38.1/arch/x86/kernel/vsyscall_64.c
--- linux-2.6.38.1/arch/x86/kernel/vsyscall_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/vsyscall_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/vsyscall_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -80,6 +80,7 @@ void update_vsyscall(struct timespec *wa
write_seqlock_irqsave(&vsyscall_gtod_data.lock, flags);
@@ -15059,9 +15073,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/vsyscall_64.c linux-2.6.38.1-new/arch/
p = tcache->blob[1];
} else if (__vgetcpu_mode == VGETCPU_RDTSCP) {
/* Load per CPU data from RDTSCP */
-diff -urNp linux-2.6.38.1/arch/x86/kernel/x8664_ksyms_64.c linux-2.6.38.1-new/arch/x86/kernel/x8664_ksyms_64.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/x8664_ksyms_64.c linux-2.6.38.1/arch/x86/kernel/x8664_ksyms_64.c
--- linux-2.6.38.1/arch/x86/kernel/x8664_ksyms_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/x8664_ksyms_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/x8664_ksyms_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -29,8 +29,6 @@ EXPORT_SYMBOL(__put_user_8);
EXPORT_SYMBOL(copy_user_generic_string);
EXPORT_SYMBOL(copy_user_generic_unrolled);
@@ -15071,9 +15085,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/x8664_ksyms_64.c linux-2.6.38.1-new/ar
EXPORT_SYMBOL(copy_page);
EXPORT_SYMBOL(clear_page);
-diff -urNp linux-2.6.38.1/arch/x86/kernel/xsave.c linux-2.6.38.1-new/arch/x86/kernel/xsave.c
+diff -urNp linux-2.6.38.1/arch/x86/kernel/xsave.c linux-2.6.38.1/arch/x86/kernel/xsave.c
--- linux-2.6.38.1/arch/x86/kernel/xsave.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kernel/xsave.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kernel/xsave.c 2011-03-21 18:31:35.000000000 -0400
@@ -130,7 +130,7 @@ int check_for_xstate(struct i387_fxsave_
fx_sw_user->xstate_size > fx_sw_user->extended_size)
return -EINVAL;
@@ -15101,9 +15115,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kernel/xsave.c linux-2.6.38.1-new/arch/x86/ke
buf);
if (unlikely(err)) {
/*
-diff -urNp linux-2.6.38.1/arch/x86/kvm/emulate.c linux-2.6.38.1-new/arch/x86/kvm/emulate.c
+diff -urNp linux-2.6.38.1/arch/x86/kvm/emulate.c linux-2.6.38.1/arch/x86/kvm/emulate.c
--- linux-2.6.38.1/arch/x86/kvm/emulate.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kvm/emulate.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kvm/emulate.c 2011-03-21 18:31:35.000000000 -0400
@@ -88,7 +88,7 @@
#define Src2ImmByte (2<<29)
#define Src2One (3<<29)
@@ -15138,9 +15152,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kvm/emulate.c linux-2.6.38.1-new/arch/x86/kvm
switch ((_dst).bytes) { \
case 1: \
____emulate_2op(_op,_src,_dst,_eflags,_bx,_by,"b",u8); \
-diff -urNp linux-2.6.38.1/arch/x86/kvm/lapic.c linux-2.6.38.1-new/arch/x86/kvm/lapic.c
+diff -urNp linux-2.6.38.1/arch/x86/kvm/lapic.c linux-2.6.38.1/arch/x86/kvm/lapic.c
--- linux-2.6.38.1/arch/x86/kvm/lapic.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kvm/lapic.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kvm/lapic.c 2011-03-21 18:31:35.000000000 -0400
@@ -53,7 +53,7 @@
#define APIC_BUS_CYCLE_NS 1
@@ -15150,9 +15164,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kvm/lapic.c linux-2.6.38.1-new/arch/x86/kvm/l
#define APIC_LVT_NUM 6
/* 14 is the version for Xeon and Pentium 8.4.8*/
-diff -urNp linux-2.6.38.1/arch/x86/kvm/svm.c linux-2.6.38.1-new/arch/x86/kvm/svm.c
+diff -urNp linux-2.6.38.1/arch/x86/kvm/svm.c linux-2.6.38.1/arch/x86/kvm/svm.c
--- linux-2.6.38.1/arch/x86/kvm/svm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kvm/svm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kvm/svm.c 2011-03-21 18:31:35.000000000 -0400
@@ -3273,7 +3273,11 @@ static void reload_tss(struct kvm_vcpu *
int cpu = raw_smp_processor_id();
@@ -15174,9 +15188,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kvm/svm.c linux-2.6.38.1-new/arch/x86/kvm/svm
.cpu_has_kvm_support = has_svm,
.disabled_by_bios = is_disabled,
.hardware_setup = svm_hardware_setup,
-diff -urNp linux-2.6.38.1/arch/x86/kvm/vmx.c linux-2.6.38.1-new/arch/x86/kvm/vmx.c
+diff -urNp linux-2.6.38.1/arch/x86/kvm/vmx.c linux-2.6.38.1/arch/x86/kvm/vmx.c
--- linux-2.6.38.1/arch/x86/kvm/vmx.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kvm/vmx.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kvm/vmx.c 2011-03-21 18:31:35.000000000 -0400
@@ -725,7 +725,11 @@ static void reload_tss(void)
struct desc_struct *descs;
@@ -15255,9 +15269,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kvm/vmx.c linux-2.6.38.1-new/arch/x86/kvm/vmx
.cpu_has_kvm_support = cpu_has_kvm_support,
.disabled_by_bios = vmx_disabled_by_bios,
.hardware_setup = hardware_setup,
-diff -urNp linux-2.6.38.1/arch/x86/kvm/x86.c linux-2.6.38.1-new/arch/x86/kvm/x86.c
+diff -urNp linux-2.6.38.1/arch/x86/kvm/x86.c linux-2.6.38.1/arch/x86/kvm/x86.c
--- linux-2.6.38.1/arch/x86/kvm/x86.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/kvm/x86.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/kvm/x86.c 2011-03-21 18:31:35.000000000 -0400
@@ -93,7 +93,7 @@ static void update_cr8_intercept(struct
static int kvm_dev_ioctl_get_supported_cpuid(struct kvm_cpuid2 *cpuid,
struct kvm_cpuid_entry2 __user *entries);
@@ -15369,9 +15383,9 @@ diff -urNp linux-2.6.38.1/arch/x86/kvm/x86.c linux-2.6.38.1-new/arch/x86/kvm/x86
if (kvm_x86_ops) {
printk(KERN_ERR "kvm: already loaded the other module\n");
-diff -urNp linux-2.6.38.1/arch/x86/lib/atomic64_cx8_32.S linux-2.6.38.1-new/arch/x86/lib/atomic64_cx8_32.S
+diff -urNp linux-2.6.38.1/arch/x86/lib/atomic64_cx8_32.S linux-2.6.38.1/arch/x86/lib/atomic64_cx8_32.S
--- linux-2.6.38.1/arch/x86/lib/atomic64_cx8_32.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/atomic64_cx8_32.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/atomic64_cx8_32.S 2011-03-21 18:31:35.000000000 -0400
@@ -86,13 +86,23 @@ ENTRY(atomic64_\func\()_return_cx8)
movl %edx, %ecx
\ins\()l %esi, %ebx
@@ -15452,9 +15466,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/atomic64_cx8_32.S linux-2.6.38.1-new/arch
LOCK_PREFIX
cmpxchg8b (%esi)
jne 1b
-diff -urNp linux-2.6.38.1/arch/x86/lib/checksum_32.S linux-2.6.38.1-new/arch/x86/lib/checksum_32.S
+diff -urNp linux-2.6.38.1/arch/x86/lib/checksum_32.S linux-2.6.38.1/arch/x86/lib/checksum_32.S
--- linux-2.6.38.1/arch/x86/lib/checksum_32.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/checksum_32.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/checksum_32.S 2011-03-21 18:31:35.000000000 -0400
@@ -28,7 +28,8 @@
#include <linux/linkage.h>
#include <asm/dwarf2.h>
@@ -15715,9 +15729,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/checksum_32.S linux-2.6.38.1-new/arch/x86
#undef ROUND
#undef ROUND1
-diff -urNp linux-2.6.38.1/arch/x86/lib/clear_page_64.S linux-2.6.38.1-new/arch/x86/lib/clear_page_64.S
+diff -urNp linux-2.6.38.1/arch/x86/lib/clear_page_64.S linux-2.6.38.1/arch/x86/lib/clear_page_64.S
--- linux-2.6.38.1/arch/x86/lib/clear_page_64.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/clear_page_64.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/clear_page_64.S 2011-03-21 18:31:35.000000000 -0400
@@ -43,7 +43,7 @@ ENDPROC(clear_page)
#include <asm/cpufeature.h>
@@ -15727,9 +15741,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/clear_page_64.S linux-2.6.38.1-new/arch/x
1: .byte 0xeb /* jmp <disp8> */
.byte (clear_page_c - clear_page) - (2f - 1b) /* offset */
2:
-diff -urNp linux-2.6.38.1/arch/x86/lib/copy_page_64.S linux-2.6.38.1-new/arch/x86/lib/copy_page_64.S
+diff -urNp linux-2.6.38.1/arch/x86/lib/copy_page_64.S linux-2.6.38.1/arch/x86/lib/copy_page_64.S
--- linux-2.6.38.1/arch/x86/lib/copy_page_64.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/copy_page_64.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/copy_page_64.S 2011-03-21 18:31:35.000000000 -0400
@@ -104,7 +104,7 @@ ENDPROC(copy_page)
#include <asm/cpufeature.h>
@@ -15739,9 +15753,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/copy_page_64.S linux-2.6.38.1-new/arch/x8
1: .byte 0xeb /* jmp <disp8> */
.byte (copy_page_c - copy_page) - (2f - 1b) /* offset */
2:
-diff -urNp linux-2.6.38.1/arch/x86/lib/copy_user_64.S linux-2.6.38.1-new/arch/x86/lib/copy_user_64.S
+diff -urNp linux-2.6.38.1/arch/x86/lib/copy_user_64.S linux-2.6.38.1/arch/x86/lib/copy_user_64.S
--- linux-2.6.38.1/arch/x86/lib/copy_user_64.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/copy_user_64.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/copy_user_64.S 2011-03-21 18:31:35.000000000 -0400
@@ -15,13 +15,14 @@
#include <asm/asm-offsets.h>
#include <asm/thread_info.h>
@@ -15798,9 +15812,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/copy_user_64.S linux-2.6.38.1-new/arch/x8
movl %edx,%ecx
xorl %eax,%eax
rep
-diff -urNp linux-2.6.38.1/arch/x86/lib/copy_user_nocache_64.S linux-2.6.38.1-new/arch/x86/lib/copy_user_nocache_64.S
+diff -urNp linux-2.6.38.1/arch/x86/lib/copy_user_nocache_64.S linux-2.6.38.1/arch/x86/lib/copy_user_nocache_64.S
--- linux-2.6.38.1/arch/x86/lib/copy_user_nocache_64.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/copy_user_nocache_64.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/copy_user_nocache_64.S 2011-03-21 18:31:35.000000000 -0400
@@ -14,6 +14,7 @@
#include <asm/current.h>
#include <asm/asm-offsets.h>
@@ -15825,9 +15839,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/copy_user_nocache_64.S linux-2.6.38.1-new
cmpl $8,%edx
jb 20f /* less then 8 bytes, go to byte copy loop */
ALIGN_DESTINATION
-diff -urNp linux-2.6.38.1/arch/x86/lib/csum-wrappers_64.c linux-2.6.38.1-new/arch/x86/lib/csum-wrappers_64.c
+diff -urNp linux-2.6.38.1/arch/x86/lib/csum-wrappers_64.c linux-2.6.38.1/arch/x86/lib/csum-wrappers_64.c
--- linux-2.6.38.1/arch/x86/lib/csum-wrappers_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/csum-wrappers_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/csum-wrappers_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -52,6 +52,8 @@ csum_partial_copy_from_user(const void _
len -= 2;
}
@@ -15846,9 +15860,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/csum-wrappers_64.c linux-2.6.38.1-new/arc
return csum_partial_copy_generic(src, (void __force *)dst,
len, isum, NULL, errp);
}
-diff -urNp linux-2.6.38.1/arch/x86/lib/getuser.S linux-2.6.38.1-new/arch/x86/lib/getuser.S
+diff -urNp linux-2.6.38.1/arch/x86/lib/getuser.S linux-2.6.38.1/arch/x86/lib/getuser.S
--- linux-2.6.38.1/arch/x86/lib/getuser.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/getuser.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/getuser.S 2011-03-21 18:31:35.000000000 -0400
@@ -33,14 +33,35 @@
#include <asm/asm-offsets.h>
#include <asm/thread_info.h>
@@ -15954,9 +15968,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/getuser.S linux-2.6.38.1-new/arch/x86/lib
4: movq -7(%_ASM_AX),%_ASM_DX
xor %eax,%eax
ret
-diff -urNp linux-2.6.38.1/arch/x86/lib/insn.c linux-2.6.38.1-new/arch/x86/lib/insn.c
+diff -urNp linux-2.6.38.1/arch/x86/lib/insn.c linux-2.6.38.1/arch/x86/lib/insn.c
--- linux-2.6.38.1/arch/x86/lib/insn.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/insn.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/insn.c 2011-03-21 18:31:35.000000000 -0400
@@ -21,6 +21,11 @@
#include <linux/string.h>
#include <asm/inat.h>
@@ -15980,9 +15994,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/insn.c linux-2.6.38.1-new/arch/x86/lib/in
insn->x86_64 = x86_64 ? 1 : 0;
insn->opnd_bytes = 4;
if (x86_64)
-diff -urNp linux-2.6.38.1/arch/x86/lib/mmx_32.c linux-2.6.38.1-new/arch/x86/lib/mmx_32.c
+diff -urNp linux-2.6.38.1/arch/x86/lib/mmx_32.c linux-2.6.38.1/arch/x86/lib/mmx_32.c
--- linux-2.6.38.1/arch/x86/lib/mmx_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/mmx_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/mmx_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -29,6 +29,7 @@ void *_mmx_memcpy(void *to, const void *
{
void *p;
@@ -16298,9 +16312,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/mmx_32.c linux-2.6.38.1-new/arch/x86/lib/
from += 64;
to += 64;
-diff -urNp linux-2.6.38.1/arch/x86/lib/putuser.S linux-2.6.38.1-new/arch/x86/lib/putuser.S
+diff -urNp linux-2.6.38.1/arch/x86/lib/putuser.S linux-2.6.38.1/arch/x86/lib/putuser.S
--- linux-2.6.38.1/arch/x86/lib/putuser.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/putuser.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/putuser.S 2011-03-21 18:31:35.000000000 -0400
@@ -15,7 +15,8 @@
#include <asm/thread_info.h>
#include <asm/errno.h>
@@ -16438,9 +16452,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/putuser.S linux-2.6.38.1-new/arch/x86/lib
#endif
xor %eax,%eax
EXIT
-diff -urNp linux-2.6.38.1/arch/x86/lib/usercopy_32.c linux-2.6.38.1-new/arch/x86/lib/usercopy_32.c
+diff -urNp linux-2.6.38.1/arch/x86/lib/usercopy_32.c linux-2.6.38.1/arch/x86/lib/usercopy_32.c
--- linux-2.6.38.1/arch/x86/lib/usercopy_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/usercopy_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/usercopy_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -43,7 +43,7 @@ do { \
__asm__ __volatile__( \
" testl %1,%1\n" \
@@ -17060,9 +17074,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/usercopy_32.c linux-2.6.38.1-new/arch/x86
+}
+EXPORT_SYMBOL(set_fs);
+#endif
-diff -urNp linux-2.6.38.1/arch/x86/lib/usercopy_64.c linux-2.6.38.1-new/arch/x86/lib/usercopy_64.c
+diff -urNp linux-2.6.38.1/arch/x86/lib/usercopy_64.c linux-2.6.38.1/arch/x86/lib/usercopy_64.c
--- linux-2.6.38.1/arch/x86/lib/usercopy_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/lib/usercopy_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/lib/usercopy_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -42,6 +42,8 @@ long
__strncpy_from_user(char *dst, const char __user *src, long count)
{
@@ -17099,9 +17113,9 @@ diff -urNp linux-2.6.38.1/arch/x86/lib/usercopy_64.c linux-2.6.38.1-new/arch/x86
}
EXPORT_SYMBOL(copy_in_user);
-diff -urNp linux-2.6.38.1/arch/x86/Makefile linux-2.6.38.1-new/arch/x86/Makefile
+diff -urNp linux-2.6.38.1/arch/x86/Makefile linux-2.6.38.1/arch/x86/Makefile
--- linux-2.6.38.1/arch/x86/Makefile 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/Makefile 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/Makefile 2011-03-21 18:31:35.000000000 -0400
@@ -195,3 +195,12 @@ define archhelp
echo ' FDARGS="..." arguments for the booted kernel'
echo ' FDINITRD=file initrd for the booted kernel'
@@ -17115,9 +17129,9 @@ diff -urNp linux-2.6.38.1/arch/x86/Makefile linux-2.6.38.1-new/arch/x86/Makefile
+
+archprepare:
+ $(if $(LDFLAGS_BUILD_ID),,$(error $(OLD_LD)))
-diff -urNp linux-2.6.38.1/arch/x86/mm/extable.c linux-2.6.38.1-new/arch/x86/mm/extable.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/extable.c linux-2.6.38.1/arch/x86/mm/extable.c
--- linux-2.6.38.1/arch/x86/mm/extable.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/extable.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/extable.c 2011-03-21 18:31:35.000000000 -0400
@@ -1,14 +1,71 @@
#include <linux/module.h>
#include <linux/spinlock.h>
@@ -17191,9 +17205,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/extable.c linux-2.6.38.1-new/arch/x86/mm/e
extern u32 pnp_bios_fault_eip, pnp_bios_fault_esp;
extern u32 pnp_bios_is_utter_crap;
pnp_bios_is_utter_crap = 1;
-diff -urNp linux-2.6.38.1/arch/x86/mm/fault.c linux-2.6.38.1-new/arch/x86/mm/fault.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/fault.c linux-2.6.38.1/arch/x86/mm/fault.c
--- linux-2.6.38.1/arch/x86/mm/fault.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/fault.c 2011-03-21 23:48:53.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/fault.c 2011-03-21 23:48:53.000000000 -0400
@@ -12,10 +12,18 @@
#include <linux/mmiotrace.h> /* kmmio_handler, ... */
#include <linux/perf_event.h> /* perf_sw_event */
@@ -17863,9 +17877,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/fault.c linux-2.6.38.1-new/arch/x86/mm/fau
+
+ return ret ? -EFAULT : 0;
+}
-diff -urNp linux-2.6.38.1/arch/x86/mm/gup.c linux-2.6.38.1-new/arch/x86/mm/gup.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/gup.c linux-2.6.38.1/arch/x86/mm/gup.c
--- linux-2.6.38.1/arch/x86/mm/gup.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/gup.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/gup.c 2011-03-21 18:31:35.000000000 -0400
@@ -263,7 +263,7 @@ int __get_user_pages_fast(unsigned long
addr = start;
len = (unsigned long) nr_pages << PAGE_SHIFT;
@@ -17875,9 +17889,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/gup.c linux-2.6.38.1-new/arch/x86/mm/gup.c
(void __user *)start, len)))
return 0;
-diff -urNp linux-2.6.38.1/arch/x86/mm/highmem_32.c linux-2.6.38.1-new/arch/x86/mm/highmem_32.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/highmem_32.c linux-2.6.38.1/arch/x86/mm/highmem_32.c
--- linux-2.6.38.1/arch/x86/mm/highmem_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/highmem_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/highmem_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -44,7 +44,10 @@ void *kmap_atomic_prot(struct page *page
idx = type + KM_TYPE_NR*smp_processor_id();
vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx);
@@ -17889,9 +17903,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/highmem_32.c linux-2.6.38.1-new/arch/x86/m
return (void *)vaddr;
}
-diff -urNp linux-2.6.38.1/arch/x86/mm/hugetlbpage.c linux-2.6.38.1-new/arch/x86/mm/hugetlbpage.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/hugetlbpage.c linux-2.6.38.1/arch/x86/mm/hugetlbpage.c
--- linux-2.6.38.1/arch/x86/mm/hugetlbpage.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/hugetlbpage.c 2011-03-21 23:47:41.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/hugetlbpage.c 2011-03-21 23:47:41.000000000 -0400
@@ -266,13 +266,20 @@ static unsigned long hugetlb_get_unmappe
struct hstate *h = hstate_file(file);
struct mm_struct *mm = current->mm;
@@ -18099,9 +18113,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/hugetlbpage.c linux-2.6.38.1-new/arch/x86/
return addr;
}
if (mm->get_unmapped_area == arch_get_unmapped_area)
-diff -urNp linux-2.6.38.1/arch/x86/mm/init_32.c linux-2.6.38.1-new/arch/x86/mm/init_32.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/init_32.c linux-2.6.38.1/arch/x86/mm/init_32.c
--- linux-2.6.38.1/arch/x86/mm/init_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/init_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/init_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -74,36 +74,6 @@ static __init void *alloc_low_page(void)
}
@@ -18376,9 +18390,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/init_32.c linux-2.6.38.1-new/arch/x86/mm/i
set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT);
printk(KERN_INFO "Write protecting the kernel text: %luk\n",
size >> 10);
-diff -urNp linux-2.6.38.1/arch/x86/mm/init_64.c linux-2.6.38.1-new/arch/x86/mm/init_64.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/init_64.c linux-2.6.38.1/arch/x86/mm/init_64.c
--- linux-2.6.38.1/arch/x86/mm/init_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/init_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/init_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -72,7 +72,7 @@ early_param("gbpages", parse_direct_gbpa
* around without checking the pgd every time.
*/
@@ -18490,9 +18504,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/init_64.c linux-2.6.38.1-new/arch/x86/mm/i
return "[vdso]";
if (vma == &gate_vma)
return "[vsyscall]";
-diff -urNp linux-2.6.38.1/arch/x86/mm/init.c linux-2.6.38.1-new/arch/x86/mm/init.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/init.c linux-2.6.38.1/arch/x86/mm/init.c
--- linux-2.6.38.1/arch/x86/mm/init.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/init.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/init.c 2011-03-21 18:31:35.000000000 -0400
@@ -72,11 +72,7 @@ static void __init find_early_table_spac
* cause a hotspot and fill up ZONE_DMA. The page tables
* need roughly 0.5KB per GB.
@@ -18608,9 +18622,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/init.c linux-2.6.38.1-new/arch/x86/mm/init
free_init_pages("unused kernel memory",
(unsigned long)(&__init_begin),
(unsigned long)(&__init_end));
-diff -urNp linux-2.6.38.1/arch/x86/mm/iomap_32.c linux-2.6.38.1-new/arch/x86/mm/iomap_32.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/iomap_32.c linux-2.6.38.1/arch/x86/mm/iomap_32.c
--- linux-2.6.38.1/arch/x86/mm/iomap_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/iomap_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/iomap_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -64,7 +64,11 @@ void *kmap_atomic_prot_pfn(unsigned long
type = kmap_atomic_idx_push();
idx = type + KM_TYPE_NR * smp_processor_id();
@@ -18623,9 +18637,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/iomap_32.c linux-2.6.38.1-new/arch/x86/mm/
arch_flush_lazy_mmu_mode();
return (void *)vaddr;
-diff -urNp linux-2.6.38.1/arch/x86/mm/ioremap.c linux-2.6.38.1-new/arch/x86/mm/ioremap.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/ioremap.c linux-2.6.38.1/arch/x86/mm/ioremap.c
--- linux-2.6.38.1/arch/x86/mm/ioremap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/ioremap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/ioremap.c 2011-03-21 18:31:35.000000000 -0400
@@ -104,7 +104,7 @@ static void __iomem *__ioremap_caller(re
for (pfn = phys_addr >> PAGE_SHIFT; pfn <= last_pfn; pfn++) {
int is_ram = page_is_ram(pfn);
@@ -18654,9 +18668,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/ioremap.c linux-2.6.38.1-new/arch/x86/mm/i
/*
* The boot-ioremap range spans multiple pmds, for which
-diff -urNp linux-2.6.38.1/arch/x86/mm/kmemcheck/kmemcheck.c linux-2.6.38.1-new/arch/x86/mm/kmemcheck/kmemcheck.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/kmemcheck/kmemcheck.c linux-2.6.38.1/arch/x86/mm/kmemcheck/kmemcheck.c
--- linux-2.6.38.1/arch/x86/mm/kmemcheck/kmemcheck.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/kmemcheck/kmemcheck.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/kmemcheck/kmemcheck.c 2011-03-21 18:31:35.000000000 -0400
@@ -622,9 +622,9 @@ bool kmemcheck_fault(struct pt_regs *reg
* memory (e.g. tracked pages)? For now, we need this to avoid
* invoking kmemcheck for PnP BIOS calls.
@@ -18669,9 +18683,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/kmemcheck/kmemcheck.c linux-2.6.38.1-new/a
return false;
pte = kmemcheck_pte_lookup(address);
-diff -urNp linux-2.6.38.1/arch/x86/mm/mmap.c linux-2.6.38.1-new/arch/x86/mm/mmap.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/mmap.c linux-2.6.38.1/arch/x86/mm/mmap.c
--- linux-2.6.38.1/arch/x86/mm/mmap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/mmap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/mmap.c 2011-03-21 18:31:35.000000000 -0400
@@ -49,7 +49,7 @@ static unsigned int stack_maxrandom_size
* Leave an at least ~128 MB hole with possible stack randomization.
*/
@@ -18753,9 +18767,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/mmap.c linux-2.6.38.1-new/arch/x86/mm/mmap
mm->get_unmapped_area = arch_get_unmapped_area_topdown;
mm->unmap_area = arch_unmap_area_topdown;
}
-diff -urNp linux-2.6.38.1/arch/x86/mm/numa_32.c linux-2.6.38.1-new/arch/x86/mm/numa_32.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/numa_32.c linux-2.6.38.1/arch/x86/mm/numa_32.c
--- linux-2.6.38.1/arch/x86/mm/numa_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/numa_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/numa_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -99,7 +99,6 @@ unsigned long node_memmap_size_bytes(int
}
#endif
@@ -18764,9 +18778,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/numa_32.c linux-2.6.38.1-new/arch/x86/mm/n
extern unsigned long highend_pfn, highstart_pfn;
#define LARGE_PAGE_BYTES (PTRS_PER_PTE * PAGE_SIZE)
-diff -urNp linux-2.6.38.1/arch/x86/mm/pageattr.c linux-2.6.38.1-new/arch/x86/mm/pageattr.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/pageattr.c linux-2.6.38.1/arch/x86/mm/pageattr.c
--- linux-2.6.38.1/arch/x86/mm/pageattr.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/pageattr.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/pageattr.c 2011-03-21 18:31:35.000000000 -0400
@@ -261,7 +261,7 @@ static inline pgprot_t static_protection
*/
#ifdef CONFIG_PCI_BIOS
@@ -18851,9 +18865,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/pageattr.c linux-2.6.38.1-new/arch/x86/mm/
}
static int
-diff -urNp linux-2.6.38.1/arch/x86/mm/pageattr-test.c linux-2.6.38.1-new/arch/x86/mm/pageattr-test.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/pageattr-test.c linux-2.6.38.1/arch/x86/mm/pageattr-test.c
--- linux-2.6.38.1/arch/x86/mm/pageattr-test.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/pageattr-test.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/pageattr-test.c 2011-03-21 18:31:35.000000000 -0400
@@ -36,7 +36,7 @@ enum {
static int pte_testbit(pte_t pte)
@@ -18863,9 +18877,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/pageattr-test.c linux-2.6.38.1-new/arch/x8
}
struct split_state {
-diff -urNp linux-2.6.38.1/arch/x86/mm/pat.c linux-2.6.38.1-new/arch/x86/mm/pat.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/pat.c linux-2.6.38.1/arch/x86/mm/pat.c
--- linux-2.6.38.1/arch/x86/mm/pat.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/pat.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/pat.c 2011-03-21 18:31:35.000000000 -0400
@@ -361,7 +361,7 @@ int free_memtype(u64 start, u64 end)
if (!entry) {
@@ -18913,9 +18927,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/pat.c linux-2.6.38.1-new/arch/x86/mm/pat.c
cattr_name(want_flags),
(unsigned long long)paddr,
(unsigned long long)(paddr + size),
-diff -urNp linux-2.6.38.1/arch/x86/mm/pgtable_32.c linux-2.6.38.1-new/arch/x86/mm/pgtable_32.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/pgtable_32.c linux-2.6.38.1/arch/x86/mm/pgtable_32.c
--- linux-2.6.38.1/arch/x86/mm/pgtable_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/pgtable_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/pgtable_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -48,10 +48,13 @@ void set_pte_vaddr(unsigned long vaddr,
return;
}
@@ -18930,9 +18944,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/pgtable_32.c linux-2.6.38.1-new/arch/x86/m
/*
* It's enough to flush this one mapping.
-diff -urNp linux-2.6.38.1/arch/x86/mm/pgtable.c linux-2.6.38.1-new/arch/x86/mm/pgtable.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/pgtable.c linux-2.6.38.1/arch/x86/mm/pgtable.c
--- linux-2.6.38.1/arch/x86/mm/pgtable.c 2011-03-23 17:20:06.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/pgtable.c 2011-03-24 23:22:14.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/pgtable.c 2011-03-24 23:22:14.000000000 -0400
@@ -84,9 +84,58 @@ static inline void pgd_list_del(pgd_t *p
list_del(&page->lru);
}
@@ -19184,9 +19198,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/pgtable.c linux-2.6.38.1-new/arch/x86/mm/p
pgd_dtor(pgd);
paravirt_pgd_free(mm, pgd);
free_page((unsigned long)pgd);
-diff -urNp linux-2.6.38.1/arch/x86/mm/setup_nx.c linux-2.6.38.1-new/arch/x86/mm/setup_nx.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/setup_nx.c linux-2.6.38.1/arch/x86/mm/setup_nx.c
--- linux-2.6.38.1/arch/x86/mm/setup_nx.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/setup_nx.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/setup_nx.c 2011-03-21 18:31:35.000000000 -0400
@@ -5,8 +5,10 @@
#include <asm/pgtable.h>
#include <asm/proto.h>
@@ -19216,9 +19230,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/setup_nx.c linux-2.6.38.1-new/arch/x86/mm/
__supported_pte_mask &= ~_PAGE_NX;
}
-diff -urNp linux-2.6.38.1/arch/x86/mm/tlb.c linux-2.6.38.1-new/arch/x86/mm/tlb.c
+diff -urNp linux-2.6.38.1/arch/x86/mm/tlb.c linux-2.6.38.1/arch/x86/mm/tlb.c
--- linux-2.6.38.1/arch/x86/mm/tlb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/mm/tlb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/mm/tlb.c 2011-03-21 18:31:35.000000000 -0400
@@ -14,7 +14,7 @@
#include <asm/uv/uv.h>
@@ -19240,9 +19254,9 @@ diff -urNp linux-2.6.38.1/arch/x86/mm/tlb.c linux-2.6.38.1-new/arch/x86/mm/tlb.c
}
EXPORT_SYMBOL_GPL(leave_mm);
-diff -urNp linux-2.6.38.1/arch/x86/oprofile/backtrace.c linux-2.6.38.1-new/arch/x86/oprofile/backtrace.c
+diff -urNp linux-2.6.38.1/arch/x86/oprofile/backtrace.c linux-2.6.38.1/arch/x86/oprofile/backtrace.c
--- linux-2.6.38.1/arch/x86/oprofile/backtrace.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/oprofile/backtrace.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/oprofile/backtrace.c 2011-03-21 18:31:35.000000000 -0400
@@ -57,7 +57,7 @@ dump_user_backtrace_32(struct stack_fram
struct stack_frame_ia32 *fp;
@@ -19261,9 +19275,9 @@ diff -urNp linux-2.6.38.1/arch/x86/oprofile/backtrace.c linux-2.6.38.1-new/arch/
unsigned long stack = kernel_stack_pointer(regs);
if (depth)
dump_trace(NULL, regs, (unsigned long *)stack,
-diff -urNp linux-2.6.38.1/arch/x86/oprofile/op_model_p4.c linux-2.6.38.1-new/arch/x86/oprofile/op_model_p4.c
+diff -urNp linux-2.6.38.1/arch/x86/oprofile/op_model_p4.c linux-2.6.38.1/arch/x86/oprofile/op_model_p4.c
--- linux-2.6.38.1/arch/x86/oprofile/op_model_p4.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/oprofile/op_model_p4.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/oprofile/op_model_p4.c 2011-03-21 18:31:35.000000000 -0400
@@ -50,7 +50,7 @@ static inline void setup_num_counters(vo
#endif
}
@@ -19273,9 +19287,9 @@ diff -urNp linux-2.6.38.1/arch/x86/oprofile/op_model_p4.c linux-2.6.38.1-new/arc
{
#ifdef CONFIG_SMP
return smp_num_siblings == 2 ? 2 : 1;
-diff -urNp linux-2.6.38.1/arch/x86/pci/ce4100.c linux-2.6.38.1-new/arch/x86/pci/ce4100.c
+diff -urNp linux-2.6.38.1/arch/x86/pci/ce4100.c linux-2.6.38.1/arch/x86/pci/ce4100.c
--- linux-2.6.38.1/arch/x86/pci/ce4100.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/pci/ce4100.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/pci/ce4100.c 2011-03-21 18:31:35.000000000 -0400
@@ -302,7 +302,7 @@ static int ce4100_conf_write(unsigned in
return pci_direct_conf1.write(seg, bus, devfn, reg, len, value);
}
@@ -19285,9 +19299,9 @@ diff -urNp linux-2.6.38.1/arch/x86/pci/ce4100.c linux-2.6.38.1-new/arch/x86/pci/
.read = ce4100_conf_read,
.write = ce4100_conf_write,
};
-diff -urNp linux-2.6.38.1/arch/x86/pci/common.c linux-2.6.38.1-new/arch/x86/pci/common.c
+diff -urNp linux-2.6.38.1/arch/x86/pci/common.c linux-2.6.38.1/arch/x86/pci/common.c
--- linux-2.6.38.1/arch/x86/pci/common.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/pci/common.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/pci/common.c 2011-03-21 18:31:35.000000000 -0400
@@ -33,8 +33,8 @@ int noioapicreroute = 1;
int pcibios_last_bus = -1;
unsigned long pirq_table_addr;
@@ -19308,9 +19322,9 @@ diff -urNp linux-2.6.38.1/arch/x86/pci/common.c linux-2.6.38.1-new/arch/x86/pci/
};
void __init dmi_check_pciprobe(void)
-diff -urNp linux-2.6.38.1/arch/x86/pci/direct.c linux-2.6.38.1-new/arch/x86/pci/direct.c
+diff -urNp linux-2.6.38.1/arch/x86/pci/direct.c linux-2.6.38.1/arch/x86/pci/direct.c
--- linux-2.6.38.1/arch/x86/pci/direct.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/pci/direct.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/pci/direct.c 2011-03-21 18:31:35.000000000 -0400
@@ -79,7 +79,7 @@ static int pci_conf1_write(unsigned int
#undef PCI_CONF1_ADDRESS
@@ -19338,9 +19352,9 @@ diff -urNp linux-2.6.38.1/arch/x86/pci/direct.c linux-2.6.38.1-new/arch/x86/pci/
{
u32 x = 0;
int year, devfn;
-diff -urNp linux-2.6.38.1/arch/x86/pci/fixup.c linux-2.6.38.1-new/arch/x86/pci/fixup.c
+diff -urNp linux-2.6.38.1/arch/x86/pci/fixup.c linux-2.6.38.1/arch/x86/pci/fixup.c
--- linux-2.6.38.1/arch/x86/pci/fixup.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/pci/fixup.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/pci/fixup.c 2011-03-21 18:31:35.000000000 -0400
@@ -364,7 +364,7 @@ static const struct dmi_system_id __devi
DMI_MATCH(DMI_PRODUCT_NAME, "MS-6702E"),
},
@@ -19359,9 +19373,9 @@ diff -urNp linux-2.6.38.1/arch/x86/pci/fixup.c linux-2.6.38.1-new/arch/x86/pci/f
};
static void __devinit pci_pre_fixup_toshiba_ohci1394(struct pci_dev *dev)
-diff -urNp linux-2.6.38.1/arch/x86/pci/irq.c linux-2.6.38.1-new/arch/x86/pci/irq.c
+diff -urNp linux-2.6.38.1/arch/x86/pci/irq.c linux-2.6.38.1/arch/x86/pci/irq.c
--- linux-2.6.38.1/arch/x86/pci/irq.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/pci/irq.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/pci/irq.c 2011-03-21 18:31:35.000000000 -0400
@@ -542,7 +542,7 @@ static __init int intel_router_probe(str
static struct pci_device_id __initdata pirq_440gx[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443GX_0) },
@@ -19380,9 +19394,9 @@ diff -urNp linux-2.6.38.1/arch/x86/pci/irq.c linux-2.6.38.1-new/arch/x86/pci/irq
};
void __init pcibios_irq_init(void)
-diff -urNp linux-2.6.38.1/arch/x86/pci/mmconfig_32.c linux-2.6.38.1-new/arch/x86/pci/mmconfig_32.c
+diff -urNp linux-2.6.38.1/arch/x86/pci/mmconfig_32.c linux-2.6.38.1/arch/x86/pci/mmconfig_32.c
--- linux-2.6.38.1/arch/x86/pci/mmconfig_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/pci/mmconfig_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/pci/mmconfig_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -117,7 +117,7 @@ static int pci_mmcfg_write(unsigned int
return 0;
}
@@ -19392,9 +19406,9 @@ diff -urNp linux-2.6.38.1/arch/x86/pci/mmconfig_32.c linux-2.6.38.1-new/arch/x86
.read = pci_mmcfg_read,
.write = pci_mmcfg_write,
};
-diff -urNp linux-2.6.38.1/arch/x86/pci/mmconfig_64.c linux-2.6.38.1-new/arch/x86/pci/mmconfig_64.c
+diff -urNp linux-2.6.38.1/arch/x86/pci/mmconfig_64.c linux-2.6.38.1/arch/x86/pci/mmconfig_64.c
--- linux-2.6.38.1/arch/x86/pci/mmconfig_64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/pci/mmconfig_64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/pci/mmconfig_64.c 2011-03-21 18:31:35.000000000 -0400
@@ -81,7 +81,7 @@ static int pci_mmcfg_write(unsigned int
return 0;
}
@@ -19404,9 +19418,9 @@ diff -urNp linux-2.6.38.1/arch/x86/pci/mmconfig_64.c linux-2.6.38.1-new/arch/x86
.read = pci_mmcfg_read,
.write = pci_mmcfg_write,
};
-diff -urNp linux-2.6.38.1/arch/x86/pci/numaq_32.c linux-2.6.38.1-new/arch/x86/pci/numaq_32.c
+diff -urNp linux-2.6.38.1/arch/x86/pci/numaq_32.c linux-2.6.38.1/arch/x86/pci/numaq_32.c
--- linux-2.6.38.1/arch/x86/pci/numaq_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/pci/numaq_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/pci/numaq_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -108,7 +108,7 @@ static int pci_conf1_mq_write(unsigned i
#undef PCI_CONF1_MQ_ADDRESS
@@ -19416,9 +19430,9 @@ diff -urNp linux-2.6.38.1/arch/x86/pci/numaq_32.c linux-2.6.38.1-new/arch/x86/pc
.read = pci_conf1_mq_read,
.write = pci_conf1_mq_write
};
-diff -urNp linux-2.6.38.1/arch/x86/pci/olpc.c linux-2.6.38.1-new/arch/x86/pci/olpc.c
+diff -urNp linux-2.6.38.1/arch/x86/pci/olpc.c linux-2.6.38.1/arch/x86/pci/olpc.c
--- linux-2.6.38.1/arch/x86/pci/olpc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/pci/olpc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/pci/olpc.c 2011-03-21 18:31:35.000000000 -0400
@@ -297,7 +297,7 @@ static int pci_olpc_write(unsigned int s
return 0;
}
@@ -19428,9 +19442,9 @@ diff -urNp linux-2.6.38.1/arch/x86/pci/olpc.c linux-2.6.38.1-new/arch/x86/pci/ol
.read = pci_olpc_read,
.write = pci_olpc_write,
};
-diff -urNp linux-2.6.38.1/arch/x86/pci/pcbios.c linux-2.6.38.1-new/arch/x86/pci/pcbios.c
+diff -urNp linux-2.6.38.1/arch/x86/pci/pcbios.c linux-2.6.38.1/arch/x86/pci/pcbios.c
--- linux-2.6.38.1/arch/x86/pci/pcbios.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/pci/pcbios.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/pci/pcbios.c 2011-03-21 18:31:35.000000000 -0400
@@ -79,50 +79,93 @@ union bios32 {
static struct {
unsigned long address;
@@ -19753,9 +19767,9 @@ diff -urNp linux-2.6.38.1/arch/x86/pci/pcbios.c linux-2.6.38.1-new/arch/x86/pci/
return !(ret & 0xff00);
}
EXPORT_SYMBOL(pcibios_set_irq_routing);
-diff -urNp linux-2.6.38.1/arch/x86/platform/efi/efi_32.c linux-2.6.38.1-new/arch/x86/platform/efi/efi_32.c
+diff -urNp linux-2.6.38.1/arch/x86/platform/efi/efi_32.c linux-2.6.38.1/arch/x86/platform/efi/efi_32.c
--- linux-2.6.38.1/arch/x86/platform/efi/efi_32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/platform/efi/efi_32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/platform/efi/efi_32.c 2011-03-21 18:31:35.000000000 -0400
@@ -38,70 +38,37 @@
*/
@@ -19836,9 +19850,9 @@ diff -urNp linux-2.6.38.1/arch/x86/platform/efi/efi_32.c linux-2.6.38.1-new/arch
/*
* After the lock is released, the original page table is restored.
-diff -urNp linux-2.6.38.1/arch/x86/platform/efi/efi_stub_32.S linux-2.6.38.1-new/arch/x86/platform/efi/efi_stub_32.S
+diff -urNp linux-2.6.38.1/arch/x86/platform/efi/efi_stub_32.S linux-2.6.38.1/arch/x86/platform/efi/efi_stub_32.S
--- linux-2.6.38.1/arch/x86/platform/efi/efi_stub_32.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/platform/efi/efi_stub_32.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/platform/efi/efi_stub_32.S 2011-03-21 18:31:35.000000000 -0400
@@ -6,6 +6,7 @@
*/
@@ -19937,9 +19951,9 @@ diff -urNp linux-2.6.38.1/arch/x86/platform/efi/efi_stub_32.S linux-2.6.38.1-new
saved_return_addr:
.long 0
efi_rt_function_ptr:
-diff -urNp linux-2.6.38.1/arch/x86/power/cpu.c linux-2.6.38.1-new/arch/x86/power/cpu.c
+diff -urNp linux-2.6.38.1/arch/x86/power/cpu.c linux-2.6.38.1/arch/x86/power/cpu.c
--- linux-2.6.38.1/arch/x86/power/cpu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/power/cpu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/power/cpu.c 2011-03-21 18:31:35.000000000 -0400
@@ -130,7 +130,7 @@ static void do_fpu_end(void)
static void fix_processor_context(void)
{
@@ -19959,9 +19973,9 @@ diff -urNp linux-2.6.38.1/arch/x86/power/cpu.c linux-2.6.38.1-new/arch/x86/power
syscall_init(); /* This sets MSR_*STAR and related */
#endif
-diff -urNp linux-2.6.38.1/arch/x86/vdso/Makefile linux-2.6.38.1-new/arch/x86/vdso/Makefile
+diff -urNp linux-2.6.38.1/arch/x86/vdso/Makefile linux-2.6.38.1/arch/x86/vdso/Makefile
--- linux-2.6.38.1/arch/x86/vdso/Makefile 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/vdso/Makefile 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/vdso/Makefile 2011-03-21 18:31:35.000000000 -0400
@@ -123,7 +123,7 @@ quiet_cmd_vdso = VDSO $@
-Wl,-T,$(filter %.lds,$^) $(filter %.o,$^) && \
sh $(srctree)/$(src)/checkundef.sh '$(NM)' '$@'
@@ -19971,9 +19985,9 @@ diff -urNp linux-2.6.38.1/arch/x86/vdso/Makefile linux-2.6.38.1-new/arch/x86/vds
GCOV_PROFILE := n
#
-diff -urNp linux-2.6.38.1/arch/x86/vdso/vclock_gettime.c linux-2.6.38.1-new/arch/x86/vdso/vclock_gettime.c
+diff -urNp linux-2.6.38.1/arch/x86/vdso/vclock_gettime.c linux-2.6.38.1/arch/x86/vdso/vclock_gettime.c
--- linux-2.6.38.1/arch/x86/vdso/vclock_gettime.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/vdso/vclock_gettime.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/vdso/vclock_gettime.c 2011-03-21 18:31:35.000000000 -0400
@@ -22,24 +22,48 @@
#include <asm/hpet.h>
#include <asm/unistd.h>
@@ -20072,9 +20086,9 @@ diff -urNp linux-2.6.38.1/arch/x86/vdso/vclock_gettime.c linux-2.6.38.1-new/arch
}
int gettimeofday(struct timeval *, struct timezone *)
__attribute__((weak, alias("__vdso_gettimeofday")));
-diff -urNp linux-2.6.38.1/arch/x86/vdso/vdso32-setup.c linux-2.6.38.1-new/arch/x86/vdso/vdso32-setup.c
+diff -urNp linux-2.6.38.1/arch/x86/vdso/vdso32-setup.c linux-2.6.38.1/arch/x86/vdso/vdso32-setup.c
--- linux-2.6.38.1/arch/x86/vdso/vdso32-setup.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/vdso/vdso32-setup.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/vdso/vdso32-setup.c 2011-03-21 18:31:35.000000000 -0400
@@ -25,6 +25,7 @@
#include <asm/tlbflush.h>
#include <asm/vdso.h>
@@ -20157,9 +20171,9 @@ diff -urNp linux-2.6.38.1/arch/x86/vdso/vdso32-setup.c linux-2.6.38.1-new/arch/x
return &gate_vma;
return NULL;
}
-diff -urNp linux-2.6.38.1/arch/x86/vdso/vdso.lds.S linux-2.6.38.1-new/arch/x86/vdso/vdso.lds.S
+diff -urNp linux-2.6.38.1/arch/x86/vdso/vdso.lds.S linux-2.6.38.1/arch/x86/vdso/vdso.lds.S
--- linux-2.6.38.1/arch/x86/vdso/vdso.lds.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/vdso/vdso.lds.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/vdso/vdso.lds.S 2011-03-21 18:31:35.000000000 -0400
@@ -35,3 +35,9 @@ VDSO64_PRELINK = VDSO_PRELINK;
#define VEXTERN(x) VDSO64_ ## x = vdso_ ## x;
#include "vextern.h"
@@ -20170,9 +20184,9 @@ diff -urNp linux-2.6.38.1/arch/x86/vdso/vdso.lds.S linux-2.6.38.1-new/arch/x86/v
+VEXTERN(fallback_time)
+VEXTERN(getcpu)
+#undef VEXTERN
-diff -urNp linux-2.6.38.1/arch/x86/vdso/vextern.h linux-2.6.38.1-new/arch/x86/vdso/vextern.h
+diff -urNp linux-2.6.38.1/arch/x86/vdso/vextern.h linux-2.6.38.1/arch/x86/vdso/vextern.h
--- linux-2.6.38.1/arch/x86/vdso/vextern.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/vdso/vextern.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/vdso/vextern.h 2011-03-21 18:31:35.000000000 -0400
@@ -11,6 +11,5 @@
put into vextern.h and be referenced as a pointer with vdso prefix.
The main kernel later fills in the values. */
@@ -20180,9 +20194,9 @@ diff -urNp linux-2.6.38.1/arch/x86/vdso/vextern.h linux-2.6.38.1-new/arch/x86/vd
-VEXTERN(jiffies)
VEXTERN(vgetcpu_mode)
VEXTERN(vsyscall_gtod_data)
-diff -urNp linux-2.6.38.1/arch/x86/vdso/vma.c linux-2.6.38.1-new/arch/x86/vdso/vma.c
+diff -urNp linux-2.6.38.1/arch/x86/vdso/vma.c linux-2.6.38.1/arch/x86/vdso/vma.c
--- linux-2.6.38.1/arch/x86/vdso/vma.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/vdso/vma.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/vdso/vma.c 2011-03-21 18:31:35.000000000 -0400
@@ -58,7 +58,7 @@ static int __init init_vdso_vars(void)
if (!vbase)
goto oom;
@@ -20221,9 +20235,9 @@ diff -urNp linux-2.6.38.1/arch/x86/vdso/vma.c linux-2.6.38.1-new/arch/x86/vdso/v
- return 0;
-}
-__setup("vdso=", vdso_setup);
-diff -urNp linux-2.6.38.1/arch/x86/xen/enlighten.c linux-2.6.38.1-new/arch/x86/xen/enlighten.c
+diff -urNp linux-2.6.38.1/arch/x86/xen/enlighten.c linux-2.6.38.1/arch/x86/xen/enlighten.c
--- linux-2.6.38.1/arch/x86/xen/enlighten.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/xen/enlighten.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/xen/enlighten.c 2011-03-21 18:31:35.000000000 -0400
@@ -85,8 +85,6 @@ EXPORT_SYMBOL_GPL(xen_start_info);
struct shared_info xen_dummy_shared_info;
@@ -20266,9 +20280,9 @@ diff -urNp linux-2.6.38.1/arch/x86/xen/enlighten.c linux-2.6.38.1-new/arch/x86/x
xen_smp_init();
#ifdef CONFIG_ACPI_NUMA
-diff -urNp linux-2.6.38.1/arch/x86/xen/mmu.c linux-2.6.38.1-new/arch/x86/xen/mmu.c
+diff -urNp linux-2.6.38.1/arch/x86/xen/mmu.c linux-2.6.38.1/arch/x86/xen/mmu.c
--- linux-2.6.38.1/arch/x86/xen/mmu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/xen/mmu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/xen/mmu.c 2011-03-21 18:31:35.000000000 -0400
@@ -1718,6 +1718,8 @@ __init pgd_t *xen_setup_kernel_pagetable
convert_pfn_mfn(init_level4_pgt);
convert_pfn_mfn(level3_ident_pgt);
@@ -20289,9 +20303,9 @@ diff -urNp linux-2.6.38.1/arch/x86/xen/mmu.c linux-2.6.38.1-new/arch/x86/xen/mmu
set_page_prot(level2_kernel_pgt, PAGE_KERNEL_RO);
set_page_prot(level2_fixmap_pgt, PAGE_KERNEL_RO);
-diff -urNp linux-2.6.38.1/arch/x86/xen/pci-swiotlb-xen.c linux-2.6.38.1-new/arch/x86/xen/pci-swiotlb-xen.c
+diff -urNp linux-2.6.38.1/arch/x86/xen/pci-swiotlb-xen.c linux-2.6.38.1/arch/x86/xen/pci-swiotlb-xen.c
--- linux-2.6.38.1/arch/x86/xen/pci-swiotlb-xen.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/xen/pci-swiotlb-xen.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/xen/pci-swiotlb-xen.c 2011-03-21 18:31:35.000000000 -0400
@@ -10,7 +10,7 @@
int xen_swiotlb __read_mostly;
@@ -20301,9 +20315,9 @@ diff -urNp linux-2.6.38.1/arch/x86/xen/pci-swiotlb-xen.c linux-2.6.38.1-new/arch
.mapping_error = xen_swiotlb_dma_mapping_error,
.alloc_coherent = xen_swiotlb_alloc_coherent,
.free_coherent = xen_swiotlb_free_coherent,
-diff -urNp linux-2.6.38.1/arch/x86/xen/smp.c linux-2.6.38.1-new/arch/x86/xen/smp.c
+diff -urNp linux-2.6.38.1/arch/x86/xen/smp.c linux-2.6.38.1/arch/x86/xen/smp.c
--- linux-2.6.38.1/arch/x86/xen/smp.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/xen/smp.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/xen/smp.c 2011-03-21 18:31:35.000000000 -0400
@@ -194,11 +194,6 @@ static void __init xen_smp_prepare_boot_
{
BUG_ON(smp_processor_id() != 0);
@@ -20332,9 +20346,9 @@ diff -urNp linux-2.6.38.1/arch/x86/xen/smp.c linux-2.6.38.1-new/arch/x86/xen/smp
#else
ctxt->gs_base_kernel = per_cpu_offset(cpu);
#endif
-diff -urNp linux-2.6.38.1/arch/x86/xen/xen-head.S linux-2.6.38.1-new/arch/x86/xen/xen-head.S
+diff -urNp linux-2.6.38.1/arch/x86/xen/xen-head.S linux-2.6.38.1/arch/x86/xen/xen-head.S
--- linux-2.6.38.1/arch/x86/xen/xen-head.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/xen/xen-head.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/xen/xen-head.S 2011-03-21 18:31:35.000000000 -0400
@@ -19,6 +19,17 @@ ENTRY(startup_xen)
#ifdef CONFIG_X86_32
mov %esi,xen_start_info
@@ -20353,9 +20367,9 @@ diff -urNp linux-2.6.38.1/arch/x86/xen/xen-head.S linux-2.6.38.1-new/arch/x86/xe
#else
mov %rsi,xen_start_info
mov $init_thread_union+THREAD_SIZE,%rsp
-diff -urNp linux-2.6.38.1/arch/x86/xen/xen-ops.h linux-2.6.38.1-new/arch/x86/xen/xen-ops.h
+diff -urNp linux-2.6.38.1/arch/x86/xen/xen-ops.h linux-2.6.38.1/arch/x86/xen/xen-ops.h
--- linux-2.6.38.1/arch/x86/xen/xen-ops.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/arch/x86/xen/xen-ops.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/arch/x86/xen/xen-ops.h 2011-03-21 18:31:35.000000000 -0400
@@ -10,8 +10,6 @@
extern const char xen_hypervisor_callback[];
extern const char xen_failsafe_callback[];
@@ -20365,9 +20379,9 @@ diff -urNp linux-2.6.38.1/arch/x86/xen/xen-ops.h linux-2.6.38.1-new/arch/x86/xen
struct trap_info;
void xen_copy_trap_info(struct trap_info *traps);
-diff -urNp linux-2.6.38.1/block/blk-iopoll.c linux-2.6.38.1-new/block/blk-iopoll.c
+diff -urNp linux-2.6.38.1/block/blk-iopoll.c linux-2.6.38.1/block/blk-iopoll.c
--- linux-2.6.38.1/block/blk-iopoll.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/block/blk-iopoll.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/block/blk-iopoll.c 2011-03-21 18:31:35.000000000 -0400
@@ -77,7 +77,7 @@ void blk_iopoll_complete(struct blk_iopo
}
EXPORT_SYMBOL(blk_iopoll_complete);
@@ -20377,9 +20391,9 @@ diff -urNp linux-2.6.38.1/block/blk-iopoll.c linux-2.6.38.1-new/block/blk-iopoll
{
struct list_head *list = &__get_cpu_var(blk_cpu_iopoll);
int rearm = 0, budget = blk_iopoll_budget;
-diff -urNp linux-2.6.38.1/block/blk-map.c linux-2.6.38.1-new/block/blk-map.c
+diff -urNp linux-2.6.38.1/block/blk-map.c linux-2.6.38.1/block/blk-map.c
--- linux-2.6.38.1/block/blk-map.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/block/blk-map.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/block/blk-map.c 2011-03-21 18:31:35.000000000 -0400
@@ -301,7 +301,7 @@ int blk_rq_map_kern(struct request_queue
if (!len || !kbuf)
return -EINVAL;
@@ -20389,9 +20403,9 @@ diff -urNp linux-2.6.38.1/block/blk-map.c linux-2.6.38.1-new/block/blk-map.c
if (do_copy)
bio = bio_copy_kern(q, kbuf, len, gfp_mask, reading);
else
-diff -urNp linux-2.6.38.1/block/blk-softirq.c linux-2.6.38.1-new/block/blk-softirq.c
+diff -urNp linux-2.6.38.1/block/blk-softirq.c linux-2.6.38.1/block/blk-softirq.c
--- linux-2.6.38.1/block/blk-softirq.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/block/blk-softirq.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/block/blk-softirq.c 2011-03-21 18:31:35.000000000 -0400
@@ -17,7 +17,7 @@ static DEFINE_PER_CPU(struct list_head,
* Softirq action handler - move entries to local list and loop over them
* while passing them to the queue registered handler.
@@ -20401,9 +20415,9 @@ diff -urNp linux-2.6.38.1/block/blk-softirq.c linux-2.6.38.1-new/block/blk-softi
{
struct list_head *cpu_list, local_list;
-diff -urNp linux-2.6.38.1/crypto/lrw.c linux-2.6.38.1-new/crypto/lrw.c
+diff -urNp linux-2.6.38.1/crypto/lrw.c linux-2.6.38.1/crypto/lrw.c
--- linux-2.6.38.1/crypto/lrw.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/crypto/lrw.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/crypto/lrw.c 2011-03-21 18:31:35.000000000 -0400
@@ -60,7 +60,7 @@ static int setkey(struct crypto_tfm *par
struct priv *ctx = crypto_tfm_ctx(parent);
struct crypto_cipher *child = ctx->child;
@@ -20413,9 +20427,9 @@ diff -urNp linux-2.6.38.1/crypto/lrw.c linux-2.6.38.1-new/crypto/lrw.c
int bsize = crypto_cipher_blocksize(child);
crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK);
-diff -urNp linux-2.6.38.1/Documentation/dontdiff linux-2.6.38.1-new/Documentation/dontdiff
+diff -urNp linux-2.6.38.1/Documentation/dontdiff linux-2.6.38.1/Documentation/dontdiff
--- linux-2.6.38.1/Documentation/dontdiff 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/Documentation/dontdiff 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/Documentation/dontdiff 2011-03-21 18:31:35.000000000 -0400
@@ -3,6 +3,7 @@
*.bin
*.cpio
@@ -20541,9 +20555,9 @@ diff -urNp linux-2.6.38.1/Documentation/dontdiff linux-2.6.38.1-new/Documentatio
wakeup.bin
wakeup.elf
wakeup.lds
-diff -urNp linux-2.6.38.1/Documentation/filesystems/sysfs.txt linux-2.6.38.1-new/Documentation/filesystems/sysfs.txt
+diff -urNp linux-2.6.38.1/Documentation/filesystems/sysfs.txt linux-2.6.38.1/Documentation/filesystems/sysfs.txt
--- linux-2.6.38.1/Documentation/filesystems/sysfs.txt 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/Documentation/filesystems/sysfs.txt 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/Documentation/filesystems/sysfs.txt 2011-03-21 18:31:35.000000000 -0400
@@ -123,8 +123,8 @@ set of sysfs operations for forwarding r
show and store methods of the attribute owners.
@@ -20555,9 +20569,9 @@ diff -urNp linux-2.6.38.1/Documentation/filesystems/sysfs.txt linux-2.6.38.1-new
};
[ Subsystems should have already defined a struct kobj_type as a
-diff -urNp linux-2.6.38.1/Documentation/kernel-parameters.txt linux-2.6.38.1-new/Documentation/kernel-parameters.txt
+diff -urNp linux-2.6.38.1/Documentation/kernel-parameters.txt linux-2.6.38.1/Documentation/kernel-parameters.txt
--- linux-2.6.38.1/Documentation/kernel-parameters.txt 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/Documentation/kernel-parameters.txt 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/Documentation/kernel-parameters.txt 2011-03-21 18:31:35.000000000 -0400
@@ -1853,6 +1853,13 @@ bytes respectively. Such letter suffixes
the specified number of seconds. This is to be used if
your oopses keep scrolling off the screen.
@@ -20572,9 +20586,9 @@ diff -urNp linux-2.6.38.1/Documentation/kernel-parameters.txt linux-2.6.38.1-new
pcbit= [HW,ISDN]
pcd. [PARIDE]
-diff -urNp linux-2.6.38.1/drivers/acpi/battery.c linux-2.6.38.1-new/drivers/acpi/battery.c
+diff -urNp linux-2.6.38.1/drivers/acpi/battery.c linux-2.6.38.1/drivers/acpi/battery.c
--- linux-2.6.38.1/drivers/acpi/battery.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/acpi/battery.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/acpi/battery.c 2011-03-21 18:31:35.000000000 -0400
@@ -862,7 +862,7 @@ DECLARE_FILE_FUNCTIONS(alarm);
}
@@ -20584,9 +20598,9 @@ diff -urNp linux-2.6.38.1/drivers/acpi/battery.c linux-2.6.38.1-new/drivers/acpi
mode_t mode;
const char *name;
} acpi_battery_file[] = {
-diff -urNp linux-2.6.38.1/drivers/acpi/blacklist.c linux-2.6.38.1-new/drivers/acpi/blacklist.c
+diff -urNp linux-2.6.38.1/drivers/acpi/blacklist.c linux-2.6.38.1/drivers/acpi/blacklist.c
--- linux-2.6.38.1/drivers/acpi/blacklist.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/acpi/blacklist.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/acpi/blacklist.c 2011-03-21 18:31:35.000000000 -0400
@@ -73,7 +73,7 @@ static struct acpi_blacklist_item acpi_b
{"IBM ", "TP600E ", 0x00000105, ACPI_SIG_DSDT, less_than_or_equal,
"Incorrect _ADR", 1},
@@ -20596,9 +20610,9 @@ diff -urNp linux-2.6.38.1/drivers/acpi/blacklist.c linux-2.6.38.1-new/drivers/ac
};
#if CONFIG_ACPI_BLACKLIST_YEAR
-diff -urNp linux-2.6.38.1/drivers/acpi/dock.c linux-2.6.38.1-new/drivers/acpi/dock.c
+diff -urNp linux-2.6.38.1/drivers/acpi/dock.c linux-2.6.38.1/drivers/acpi/dock.c
--- linux-2.6.38.1/drivers/acpi/dock.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/acpi/dock.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/acpi/dock.c 2011-03-21 18:31:35.000000000 -0400
@@ -77,7 +77,7 @@ struct dock_dependent_device {
struct list_head list;
struct list_head hotplug_list;
@@ -20617,9 +20631,9 @@ diff -urNp linux-2.6.38.1/drivers/acpi/dock.c linux-2.6.38.1-new/drivers/acpi/do
void *context)
{
struct dock_dependent_device *dd;
-diff -urNp linux-2.6.38.1/drivers/acpi/ec_sys.c linux-2.6.38.1-new/drivers/acpi/ec_sys.c
+diff -urNp linux-2.6.38.1/drivers/acpi/ec_sys.c linux-2.6.38.1/drivers/acpi/ec_sys.c
--- linux-2.6.38.1/drivers/acpi/ec_sys.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/acpi/ec_sys.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/acpi/ec_sys.c 2011-03-21 18:31:35.000000000 -0400
@@ -96,7 +96,7 @@ static ssize_t acpi_ec_write_io(struct f
return count;
}
@@ -20629,9 +20643,9 @@ diff -urNp linux-2.6.38.1/drivers/acpi/ec_sys.c linux-2.6.38.1-new/drivers/acpi/
.owner = THIS_MODULE,
.open = acpi_ec_open_io,
.read = acpi_ec_read_io,
-diff -urNp linux-2.6.38.1/drivers/acpi/power_meter.c linux-2.6.38.1-new/drivers/acpi/power_meter.c
+diff -urNp linux-2.6.38.1/drivers/acpi/power_meter.c linux-2.6.38.1/drivers/acpi/power_meter.c
--- linux-2.6.38.1/drivers/acpi/power_meter.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/acpi/power_meter.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/acpi/power_meter.c 2011-03-21 18:31:35.000000000 -0400
@@ -316,8 +316,6 @@ static ssize_t set_trip(struct device *d
return res;
@@ -20641,9 +20655,9 @@ diff -urNp linux-2.6.38.1/drivers/acpi/power_meter.c linux-2.6.38.1-new/drivers/
mutex_lock(&resource->lock);
resource->trip[attr->index - 7] = temp;
-diff -urNp linux-2.6.38.1/drivers/acpi/proc.c linux-2.6.38.1-new/drivers/acpi/proc.c
+diff -urNp linux-2.6.38.1/drivers/acpi/proc.c linux-2.6.38.1/drivers/acpi/proc.c
--- linux-2.6.38.1/drivers/acpi/proc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/acpi/proc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/acpi/proc.c 2011-03-21 18:31:35.000000000 -0400
@@ -342,19 +342,13 @@ acpi_system_write_wakeup_device(struct f
size_t count, loff_t * ppos)
{
@@ -20678,9 +20692,9 @@ diff -urNp linux-2.6.38.1/drivers/acpi/proc.c linux-2.6.38.1-new/drivers/acpi/pr
if (device_can_wakeup(&dev->dev)) {
bool enable = !device_may_wakeup(&dev->dev);
device_set_wakeup_enable(&dev->dev, enable);
-diff -urNp linux-2.6.38.1/drivers/acpi/processor_driver.c linux-2.6.38.1-new/drivers/acpi/processor_driver.c
+diff -urNp linux-2.6.38.1/drivers/acpi/processor_driver.c linux-2.6.38.1/drivers/acpi/processor_driver.c
--- linux-2.6.38.1/drivers/acpi/processor_driver.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/acpi/processor_driver.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/acpi/processor_driver.c 2011-03-21 18:31:35.000000000 -0400
@@ -473,7 +473,7 @@ static int __cpuinit acpi_processor_add(
return 0;
#endif
@@ -20690,9 +20704,9 @@ diff -urNp linux-2.6.38.1/drivers/acpi/processor_driver.c linux-2.6.38.1-new/dri
/*
* Buggy BIOS check
-diff -urNp linux-2.6.38.1/drivers/acpi/processor_idle.c linux-2.6.38.1-new/drivers/acpi/processor_idle.c
+diff -urNp linux-2.6.38.1/drivers/acpi/processor_idle.c linux-2.6.38.1/drivers/acpi/processor_idle.c
--- linux-2.6.38.1/drivers/acpi/processor_idle.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/acpi/processor_idle.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/acpi/processor_idle.c 2011-03-21 18:31:35.000000000 -0400
@@ -121,7 +121,7 @@ static struct dmi_system_id __cpuinitdat
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
DMI_MATCH(DMI_PRODUCT_NAME,"L8400B series Notebook PC")},
@@ -20702,9 +20716,9 @@ diff -urNp linux-2.6.38.1/drivers/acpi/processor_idle.c linux-2.6.38.1-new/drive
};
-diff -urNp linux-2.6.38.1/drivers/ata/acard-ahci.c linux-2.6.38.1-new/drivers/ata/acard-ahci.c
+diff -urNp linux-2.6.38.1/drivers/ata/acard-ahci.c linux-2.6.38.1/drivers/ata/acard-ahci.c
--- linux-2.6.38.1/drivers/ata/acard-ahci.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/acard-ahci.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/acard-ahci.c 2011-03-21 18:31:35.000000000 -0400
@@ -87,7 +87,7 @@ static struct scsi_host_template acard_a
AHCI_SHT("acard-ahci"),
};
@@ -20714,9 +20728,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/acard-ahci.c linux-2.6.38.1-new/drivers/at
.inherits = &ahci_ops,
.qc_prep = acard_ahci_qc_prep,
.qc_fill_rtf = acard_ahci_qc_fill_rtf,
-diff -urNp linux-2.6.38.1/drivers/ata/ahci.c linux-2.6.38.1-new/drivers/ata/ahci.c
+diff -urNp linux-2.6.38.1/drivers/ata/ahci.c linux-2.6.38.1/drivers/ata/ahci.c
--- linux-2.6.38.1/drivers/ata/ahci.c 2011-03-23 17:20:06.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/ahci.c 2011-03-23 17:21:49.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/ahci.c 2011-03-23 17:21:49.000000000 -0400
@@ -94,17 +94,17 @@ static struct scsi_host_template ahci_sh
AHCI_SHT("ahci"),
};
@@ -20747,9 +20761,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/ahci.c linux-2.6.38.1-new/drivers/ata/ahci
};
-diff -urNp linux-2.6.38.1/drivers/ata/ahci.h linux-2.6.38.1-new/drivers/ata/ahci.h
+diff -urNp linux-2.6.38.1/drivers/ata/ahci.h linux-2.6.38.1/drivers/ata/ahci.h
--- linux-2.6.38.1/drivers/ata/ahci.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/ahci.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/ahci.h 2011-03-21 18:31:35.000000000 -0400
@@ -309,7 +309,7 @@ extern struct device_attribute *ahci_sde
.shost_attrs = ahci_shost_attrs, \
.sdev_attrs = ahci_sdev_attrs
@@ -20759,9 +20773,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/ahci.h linux-2.6.38.1-new/drivers/ata/ahci
void ahci_fill_cmd_slot(struct ahci_port_priv *pp, unsigned int tag,
u32 opts);
-diff -urNp linux-2.6.38.1/drivers/ata/ata_generic.c linux-2.6.38.1-new/drivers/ata/ata_generic.c
+diff -urNp linux-2.6.38.1/drivers/ata/ata_generic.c linux-2.6.38.1/drivers/ata/ata_generic.c
--- linux-2.6.38.1/drivers/ata/ata_generic.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/ata_generic.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/ata_generic.c 2011-03-21 18:31:35.000000000 -0400
@@ -101,7 +101,7 @@ static struct scsi_host_template generic
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -20771,9 +20785,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/ata_generic.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma_port_ops,
.cable_detect = ata_cable_unknown,
.set_mode = generic_set_mode,
-diff -urNp linux-2.6.38.1/drivers/ata/ata_piix.c linux-2.6.38.1-new/drivers/ata/ata_piix.c
+diff -urNp linux-2.6.38.1/drivers/ata/ata_piix.c linux-2.6.38.1/drivers/ata/ata_piix.c
--- linux-2.6.38.1/drivers/ata/ata_piix.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/ata_piix.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/ata_piix.c 2011-03-21 18:31:35.000000000 -0400
@@ -309,7 +309,7 @@ static const struct pci_device_id piix_p
{ 0x8086, 0x1d00, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata },
/* SATA Controller IDE (PBG) */
@@ -20840,9 +20854,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/ata_piix.c linux-2.6.38.1-new/drivers/ata/
};
static const char *oemstrs[] = {
"Tecra M3,",
-diff -urNp linux-2.6.38.1/drivers/ata/libahci.c linux-2.6.38.1-new/drivers/ata/libahci.c
+diff -urNp linux-2.6.38.1/drivers/ata/libahci.c linux-2.6.38.1/drivers/ata/libahci.c
--- linux-2.6.38.1/drivers/ata/libahci.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/libahci.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/libahci.c 2011-03-21 18:31:35.000000000 -0400
@@ -137,7 +137,7 @@ struct device_attribute *ahci_sdev_attrs
};
EXPORT_SYMBOL_GPL(ahci_sdev_attrs);
@@ -20852,9 +20866,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/libahci.c linux-2.6.38.1-new/drivers/ata/l
.inherits = &sata_pmp_port_ops,
.qc_defer = ahci_pmp_qc_defer,
-diff -urNp linux-2.6.38.1/drivers/ata/libata-acpi.c linux-2.6.38.1-new/drivers/ata/libata-acpi.c
+diff -urNp linux-2.6.38.1/drivers/ata/libata-acpi.c linux-2.6.38.1/drivers/ata/libata-acpi.c
--- linux-2.6.38.1/drivers/ata/libata-acpi.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/libata-acpi.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/libata-acpi.c 2011-03-21 18:31:35.000000000 -0400
@@ -218,12 +218,12 @@ static void ata_acpi_dev_uevent(acpi_han
ata_acpi_uevent(dev->link->ap, dev, event);
}
@@ -20870,9 +20884,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/libata-acpi.c linux-2.6.38.1-new/drivers/a
.handler = ata_acpi_ap_notify_dock,
.uevent = ata_acpi_ap_uevent,
};
-diff -urNp linux-2.6.38.1/drivers/ata/libata-core.c linux-2.6.38.1-new/drivers/ata/libata-core.c
+diff -urNp linux-2.6.38.1/drivers/ata/libata-core.c linux-2.6.38.1/drivers/ata/libata-core.c
--- linux-2.6.38.1/drivers/ata/libata-core.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/libata-core.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/libata-core.c 2011-03-21 18:31:35.000000000 -0400
@@ -897,7 +897,7 @@ static const struct ata_xfer_ent {
{ ATA_SHIFT_PIO, ATA_NR_PIO_MODES, XFER_PIO_0 },
{ ATA_SHIFT_MWDMA, ATA_NR_MWDMA_MODES, XFER_MW_DMA_0 },
@@ -20964,9 +20978,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/libata-core.c linux-2.6.38.1-new/drivers/a
.qc_prep = ata_noop_qc_prep,
.qc_issue = ata_dummy_qc_issue,
.error_handler = ata_dummy_error_handler,
-diff -urNp linux-2.6.38.1/drivers/ata/libata-eh.c linux-2.6.38.1-new/drivers/ata/libata-eh.c
+diff -urNp linux-2.6.38.1/drivers/ata/libata-eh.c linux-2.6.38.1/drivers/ata/libata-eh.c
--- linux-2.6.38.1/drivers/ata/libata-eh.c 2011-03-23 17:20:06.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/libata-eh.c 2011-03-23 17:21:49.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/libata-eh.c 2011-03-23 17:21:49.000000000 -0400
@@ -3880,7 +3880,7 @@ void ata_do_eh(struct ata_port *ap, ata_
*/
void ata_std_error_handler(struct ata_port *ap)
@@ -20976,9 +20990,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/libata-eh.c linux-2.6.38.1-new/drivers/ata
ata_reset_fn_t hardreset = ops->hardreset;
/* ignore built-in hardreset if SCR access is not available */
-diff -urNp linux-2.6.38.1/drivers/ata/libata-pmp.c linux-2.6.38.1-new/drivers/ata/libata-pmp.c
+diff -urNp linux-2.6.38.1/drivers/ata/libata-pmp.c linux-2.6.38.1/drivers/ata/libata-pmp.c
--- linux-2.6.38.1/drivers/ata/libata-pmp.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/libata-pmp.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/libata-pmp.c 2011-03-21 18:31:35.000000000 -0400
@@ -912,7 +912,7 @@ static int sata_pmp_handle_link_fail(str
*/
static int sata_pmp_eh_recover(struct ata_port *ap)
@@ -20988,9 +21002,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/libata-pmp.c linux-2.6.38.1-new/drivers/at
int pmp_tries, link_tries[SATA_PMP_MAX_PORTS];
struct ata_link *pmp_link = &ap->link;
struct ata_device *pmp_dev = pmp_link->device;
-diff -urNp linux-2.6.38.1/drivers/ata/pata_acpi.c linux-2.6.38.1-new/drivers/ata/pata_acpi.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_acpi.c linux-2.6.38.1/drivers/ata/pata_acpi.c
--- linux-2.6.38.1/drivers/ata/pata_acpi.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_acpi.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_acpi.c 2011-03-21 18:31:35.000000000 -0400
@@ -216,7 +216,7 @@ static struct scsi_host_template pacpi_s
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21000,9 +21014,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_acpi.c linux-2.6.38.1-new/drivers/ata
.inherits = &ata_bmdma_port_ops,
.qc_issue = pacpi_qc_issue,
.cable_detect = pacpi_cable_detect,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_ali.c linux-2.6.38.1-new/drivers/ata/pata_ali.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_ali.c linux-2.6.38.1/drivers/ata/pata_ali.c
--- linux-2.6.38.1/drivers/ata/pata_ali.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_ali.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_ali.c 2011-03-21 18:31:35.000000000 -0400
@@ -363,7 +363,7 @@ static struct scsi_host_template ali_sht
* Port operations for PIO only ALi
*/
@@ -21048,9 +21062,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_ali.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ali_dma_base_ops,
.check_atapi_dma = ali_check_atapi_dma,
.dev_config = ali_warn_atapi_dma,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_amd.c linux-2.6.38.1-new/drivers/ata/pata_amd.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_amd.c linux-2.6.38.1/drivers/ata/pata_amd.c
--- linux-2.6.38.1/drivers/ata/pata_amd.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_amd.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_amd.c 2011-03-21 18:31:35.000000000 -0400
@@ -397,28 +397,28 @@ static const struct ata_port_operations
.prereset = amd_pre_reset,
};
@@ -21100,9 +21114,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_amd.c linux-2.6.38.1-new/drivers/ata/
.inherits = &nv_base_port_ops,
.set_piomode = nv133_set_piomode,
.set_dmamode = nv133_set_dmamode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_artop.c linux-2.6.38.1-new/drivers/ata/pata_artop.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_artop.c linux-2.6.38.1/drivers/ata/pata_artop.c
--- linux-2.6.38.1/drivers/ata/pata_artop.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_artop.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_artop.c 2011-03-21 18:31:35.000000000 -0400
@@ -312,7 +312,7 @@ static struct scsi_host_template artop_s
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21121,9 +21135,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_artop.c linux-2.6.38.1-new/drivers/at
.inherits = &ata_bmdma_port_ops,
.cable_detect = artop6260_cable_detect,
.set_piomode = artop6260_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_at32.c linux-2.6.38.1-new/drivers/ata/pata_at32.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_at32.c linux-2.6.38.1/drivers/ata/pata_at32.c
--- linux-2.6.38.1/drivers/ata/pata_at32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_at32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_at32.c 2011-03-21 18:31:35.000000000 -0400
@@ -173,7 +173,7 @@ static struct scsi_host_template at32_sh
ATA_PIO_SHT(DRV_NAME),
};
@@ -21133,9 +21147,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_at32.c linux-2.6.38.1-new/drivers/ata
.inherits = &ata_sff_port_ops,
.cable_detect = ata_cable_40wire,
.set_piomode = pata_at32_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_at91.c linux-2.6.38.1-new/drivers/ata/pata_at91.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_at91.c linux-2.6.38.1/drivers/ata/pata_at91.c
--- linux-2.6.38.1/drivers/ata/pata_at91.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_at91.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_at91.c 2011-03-21 18:31:35.000000000 -0400
@@ -196,7 +196,7 @@ static struct scsi_host_template pata_at
ATA_PIO_SHT(DRV_NAME),
};
@@ -21145,9 +21159,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_at91.c linux-2.6.38.1-new/drivers/ata
.inherits = &ata_sff_port_ops,
.sff_data_xfer = pata_at91_data_xfer_noirq,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_atiixp.c linux-2.6.38.1-new/drivers/ata/pata_atiixp.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_atiixp.c linux-2.6.38.1/drivers/ata/pata_atiixp.c
--- linux-2.6.38.1/drivers/ata/pata_atiixp.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_atiixp.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_atiixp.c 2011-03-21 18:31:35.000000000 -0400
@@ -214,7 +214,7 @@ static struct scsi_host_template atiixp_
.sg_tablesize = LIBATA_DUMB_MAX_PRD,
};
@@ -21157,9 +21171,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_atiixp.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma_port_ops,
.qc_prep = ata_bmdma_dumb_qc_prep,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_atp867x.c linux-2.6.38.1-new/drivers/ata/pata_atp867x.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_atp867x.c linux-2.6.38.1/drivers/ata/pata_atp867x.c
--- linux-2.6.38.1/drivers/ata/pata_atp867x.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_atp867x.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_atp867x.c 2011-03-21 18:31:35.000000000 -0400
@@ -275,7 +275,7 @@ static struct scsi_host_template atp867x
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21169,9 +21183,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_atp867x.c linux-2.6.38.1-new/drivers/
.inherits = &ata_bmdma_port_ops,
.cable_detect = atp867x_cable_detect,
.set_piomode = atp867x_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_bf54x.c linux-2.6.38.1-new/drivers/ata/pata_bf54x.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_bf54x.c linux-2.6.38.1/drivers/ata/pata_bf54x.c
--- linux-2.6.38.1/drivers/ata/pata_bf54x.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_bf54x.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_bf54x.c 2011-03-21 18:31:35.000000000 -0400
@@ -1420,7 +1420,7 @@ static struct scsi_host_template bfin_sh
.dma_boundary = ATA_DMA_BOUNDARY,
};
@@ -21181,9 +21195,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_bf54x.c linux-2.6.38.1-new/drivers/at
.inherits = &ata_bmdma_port_ops,
.set_piomode = bfin_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_cmd640.c linux-2.6.38.1-new/drivers/ata/pata_cmd640.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_cmd640.c linux-2.6.38.1/drivers/ata/pata_cmd640.c
--- linux-2.6.38.1/drivers/ata/pata_cmd640.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_cmd640.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_cmd640.c 2011-03-21 18:31:35.000000000 -0400
@@ -176,7 +176,7 @@ static struct scsi_host_template cmd640_
ATA_PIO_SHT(DRV_NAME),
};
@@ -21193,9 +21207,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_cmd640.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_sff_port_ops,
/* In theory xfer_noirq is not needed once we kill the prefetcher */
.sff_data_xfer = ata_sff_data_xfer_noirq,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_cmd64x.c linux-2.6.38.1-new/drivers/ata/pata_cmd64x.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_cmd64x.c linux-2.6.38.1/drivers/ata/pata_cmd64x.c
--- linux-2.6.38.1/drivers/ata/pata_cmd64x.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_cmd64x.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_cmd64x.c 2011-03-21 18:31:35.000000000 -0400
@@ -268,18 +268,18 @@ static const struct ata_port_operations
.set_dmamode = cmd64x_set_dmamode,
};
@@ -21218,9 +21232,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_cmd64x.c linux-2.6.38.1-new/drivers/a
.inherits = &cmd64x_base_ops,
.bmdma_stop = cmd648_bmdma_stop,
.cable_detect = cmd648_cable_detect,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5520.c linux-2.6.38.1-new/drivers/ata/pata_cs5520.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5520.c linux-2.6.38.1/drivers/ata/pata_cs5520.c
--- linux-2.6.38.1/drivers/ata/pata_cs5520.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_cs5520.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_cs5520.c 2011-03-21 18:31:35.000000000 -0400
@@ -108,7 +108,7 @@ static struct scsi_host_template cs5520_
.sg_tablesize = LIBATA_DUMB_MAX_PRD,
};
@@ -21230,9 +21244,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5520.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma_port_ops,
.qc_prep = ata_bmdma_dumb_qc_prep,
.cable_detect = ata_cable_40wire,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5530.c linux-2.6.38.1-new/drivers/ata/pata_cs5530.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5530.c linux-2.6.38.1/drivers/ata/pata_cs5530.c
--- linux-2.6.38.1/drivers/ata/pata_cs5530.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_cs5530.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_cs5530.c 2011-03-21 18:31:35.000000000 -0400
@@ -164,7 +164,7 @@ static struct scsi_host_template cs5530_
.sg_tablesize = LIBATA_DUMB_MAX_PRD,
};
@@ -21242,9 +21256,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5530.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma_port_ops,
.qc_prep = ata_bmdma_dumb_qc_prep,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5535.c linux-2.6.38.1-new/drivers/ata/pata_cs5535.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5535.c linux-2.6.38.1/drivers/ata/pata_cs5535.c
--- linux-2.6.38.1/drivers/ata/pata_cs5535.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_cs5535.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_cs5535.c 2011-03-21 18:31:35.000000000 -0400
@@ -160,7 +160,7 @@ static struct scsi_host_template cs5535_
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21254,9 +21268,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5535.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma_port_ops,
.cable_detect = cs5535_cable_detect,
.set_piomode = cs5535_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5536.c linux-2.6.38.1-new/drivers/ata/pata_cs5536.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5536.c linux-2.6.38.1/drivers/ata/pata_cs5536.c
--- linux-2.6.38.1/drivers/ata/pata_cs5536.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_cs5536.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_cs5536.c 2011-03-21 18:31:35.000000000 -0400
@@ -233,7 +233,7 @@ static struct scsi_host_template cs5536_
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21266,9 +21280,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_cs5536.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma32_port_ops,
.cable_detect = cs5536_cable_detect,
.set_piomode = cs5536_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_cypress.c linux-2.6.38.1-new/drivers/ata/pata_cypress.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_cypress.c linux-2.6.38.1/drivers/ata/pata_cypress.c
--- linux-2.6.38.1/drivers/ata/pata_cypress.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_cypress.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_cypress.c 2011-03-21 18:31:35.000000000 -0400
@@ -115,7 +115,7 @@ static struct scsi_host_template cy82c69
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21278,9 +21292,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_cypress.c linux-2.6.38.1-new/drivers/
.inherits = &ata_bmdma_port_ops,
.cable_detect = ata_cable_40wire,
.set_piomode = cy82c693_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_efar.c linux-2.6.38.1-new/drivers/ata/pata_efar.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_efar.c linux-2.6.38.1/drivers/ata/pata_efar.c
--- linux-2.6.38.1/drivers/ata/pata_efar.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_efar.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_efar.c 2011-03-21 18:31:35.000000000 -0400
@@ -238,7 +238,7 @@ static struct scsi_host_template efar_sh
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21290,9 +21304,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_efar.c linux-2.6.38.1-new/drivers/ata
.inherits = &ata_bmdma_port_ops,
.cable_detect = efar_cable_detect,
.set_piomode = efar_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt366.c linux-2.6.38.1-new/drivers/ata/pata_hpt366.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt366.c linux-2.6.38.1/drivers/ata/pata_hpt366.c
--- linux-2.6.38.1/drivers/ata/pata_hpt366.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_hpt366.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_hpt366.c 2011-03-21 18:31:35.000000000 -0400
@@ -275,7 +275,7 @@ static struct scsi_host_template hpt36x_
* Configuration for HPT366/68
*/
@@ -21302,9 +21316,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt366.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma_port_ops,
.cable_detect = hpt36x_cable_detect,
.mode_filter = hpt366_filter,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt37x.c linux-2.6.38.1-new/drivers/ata/pata_hpt37x.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt37x.c linux-2.6.38.1/drivers/ata/pata_hpt37x.c
--- linux-2.6.38.1/drivers/ata/pata_hpt37x.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_hpt37x.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_hpt37x.c 2011-03-21 18:31:35.000000000 -0400
@@ -587,7 +587,7 @@ static struct scsi_host_template hpt37x_
* Configuration for HPT370
*/
@@ -21350,9 +21364,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt37x.c linux-2.6.38.1-new/drivers/a
.inherits = &hpt372_port_ops,
.cable_detect = hpt374_fn1_cable_detect,
};
-diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt3x2n.c linux-2.6.38.1-new/drivers/ata/pata_hpt3x2n.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt3x2n.c linux-2.6.38.1/drivers/ata/pata_hpt3x2n.c
--- linux-2.6.38.1/drivers/ata/pata_hpt3x2n.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_hpt3x2n.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_hpt3x2n.c 2011-03-21 18:31:35.000000000 -0400
@@ -348,7 +348,7 @@ static struct scsi_host_template hpt3x2n
* Configuration for HPT302N/371N.
*/
@@ -21371,9 +21385,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt3x2n.c linux-2.6.38.1-new/drivers/
.inherits = &hpt3xxn_port_ops,
.mode_filter = &hpt372n_filter,
};
-diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt3x3.c linux-2.6.38.1-new/drivers/ata/pata_hpt3x3.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt3x3.c linux-2.6.38.1/drivers/ata/pata_hpt3x3.c
--- linux-2.6.38.1/drivers/ata/pata_hpt3x3.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_hpt3x3.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_hpt3x3.c 2011-03-21 18:31:35.000000000 -0400
@@ -141,7 +141,7 @@ static struct scsi_host_template hpt3x3_
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21383,9 +21397,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_hpt3x3.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma_port_ops,
.cable_detect = ata_cable_40wire,
.set_piomode = hpt3x3_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_icside.c linux-2.6.38.1-new/drivers/ata/pata_icside.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_icside.c linux-2.6.38.1/drivers/ata/pata_icside.c
--- linux-2.6.38.1/drivers/ata/pata_icside.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_icside.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_icside.c 2011-03-21 18:31:35.000000000 -0400
@@ -320,7 +320,7 @@ static void pata_icside_postreset(struct
}
}
@@ -21395,9 +21409,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_icside.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma_port_ops,
/* no need to build any PRD tables for DMA */
.qc_prep = ata_noop_qc_prep,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_isapnp.c linux-2.6.38.1-new/drivers/ata/pata_isapnp.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_isapnp.c linux-2.6.38.1/drivers/ata/pata_isapnp.c
--- linux-2.6.38.1/drivers/ata/pata_isapnp.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_isapnp.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_isapnp.c 2011-03-21 18:31:35.000000000 -0400
@@ -23,12 +23,12 @@ static struct scsi_host_template isapnp_
ATA_PIO_SHT(DRV_NAME),
};
@@ -21413,9 +21427,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_isapnp.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_sff_port_ops,
.cable_detect = ata_cable_40wire,
/* No altstatus so we don't want to use the lost interrupt poll */
-diff -urNp linux-2.6.38.1/drivers/ata/pata_it8213.c linux-2.6.38.1-new/drivers/ata/pata_it8213.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_it8213.c linux-2.6.38.1/drivers/ata/pata_it8213.c
--- linux-2.6.38.1/drivers/ata/pata_it8213.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_it8213.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_it8213.c 2011-03-21 18:31:35.000000000 -0400
@@ -233,7 +233,7 @@ static struct scsi_host_template it8213_
};
@@ -21425,9 +21439,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_it8213.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma_port_ops,
.cable_detect = it8213_cable_detect,
.set_piomode = it8213_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_it821x.c linux-2.6.38.1-new/drivers/ata/pata_it821x.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_it821x.c linux-2.6.38.1/drivers/ata/pata_it821x.c
--- linux-2.6.38.1/drivers/ata/pata_it821x.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_it821x.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_it821x.c 2011-03-21 18:31:35.000000000 -0400
@@ -801,7 +801,7 @@ static struct scsi_host_template it821x_
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21455,9 +21469,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_it821x.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma_port_ops,
.check_atapi_dma= it821x_check_atapi_dma,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_ixp4xx_cf.c linux-2.6.38.1-new/drivers/ata/pata_ixp4xx_cf.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_ixp4xx_cf.c linux-2.6.38.1/drivers/ata/pata_ixp4xx_cf.c
--- linux-2.6.38.1/drivers/ata/pata_ixp4xx_cf.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_ixp4xx_cf.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_ixp4xx_cf.c 2011-03-21 18:31:35.000000000 -0400
@@ -89,7 +89,7 @@ static struct scsi_host_template ixp4xx_
ATA_PIO_SHT(DRV_NAME),
};
@@ -21467,9 +21481,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_ixp4xx_cf.c linux-2.6.38.1-new/driver
.inherits = &ata_sff_port_ops,
.sff_data_xfer = ixp4xx_mmio_data_xfer,
.cable_detect = ata_cable_40wire,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_jmicron.c linux-2.6.38.1-new/drivers/ata/pata_jmicron.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_jmicron.c linux-2.6.38.1/drivers/ata/pata_jmicron.c
--- linux-2.6.38.1/drivers/ata/pata_jmicron.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_jmicron.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_jmicron.c 2011-03-21 18:31:35.000000000 -0400
@@ -111,7 +111,7 @@ static struct scsi_host_template jmicron
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21479,9 +21493,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_jmicron.c linux-2.6.38.1-new/drivers/
.inherits = &ata_bmdma_port_ops,
.prereset = jmicron_pre_reset,
};
-diff -urNp linux-2.6.38.1/drivers/ata/pata_legacy.c linux-2.6.38.1-new/drivers/ata/pata_legacy.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_legacy.c linux-2.6.38.1/drivers/ata/pata_legacy.c
--- linux-2.6.38.1/drivers/ata/pata_legacy.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_legacy.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_legacy.c 2011-03-21 18:31:35.000000000 -0400
@@ -116,7 +116,7 @@ struct legacy_probe {
struct legacy_controller {
@@ -21593,9 +21607,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_legacy.c linux-2.6.38.1-new/drivers/a
struct legacy_data *ld = &legacy_data[probe->slot];
struct ata_host *host = NULL;
struct ata_port *ap;
-diff -urNp linux-2.6.38.1/drivers/ata/pata_macio.c linux-2.6.38.1-new/drivers/ata/pata_macio.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_macio.c linux-2.6.38.1/drivers/ata/pata_macio.c
--- linux-2.6.38.1/drivers/ata/pata_macio.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_macio.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_macio.c 2011-03-21 18:31:35.000000000 -0400
@@ -918,9 +918,8 @@ static struct scsi_host_template pata_ma
.slave_configure = pata_macio_slave_config,
};
@@ -21607,9 +21621,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_macio.c linux-2.6.38.1-new/drivers/at
.freeze = pata_macio_freeze,
.set_piomode = pata_macio_set_timings,
.set_dmamode = pata_macio_set_timings,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_marvell.c linux-2.6.38.1-new/drivers/ata/pata_marvell.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_marvell.c linux-2.6.38.1/drivers/ata/pata_marvell.c
--- linux-2.6.38.1/drivers/ata/pata_marvell.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_marvell.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_marvell.c 2011-03-21 18:31:35.000000000 -0400
@@ -100,7 +100,7 @@ static struct scsi_host_template marvell
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21619,9 +21633,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_marvell.c linux-2.6.38.1-new/drivers/
.inherits = &ata_bmdma_port_ops,
.cable_detect = marvell_cable_detect,
.prereset = marvell_pre_reset,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_mpc52xx.c linux-2.6.38.1-new/drivers/ata/pata_mpc52xx.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_mpc52xx.c linux-2.6.38.1/drivers/ata/pata_mpc52xx.c
--- linux-2.6.38.1/drivers/ata/pata_mpc52xx.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_mpc52xx.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_mpc52xx.c 2011-03-21 18:31:35.000000000 -0400
@@ -609,7 +609,7 @@ static struct scsi_host_template mpc52xx
ATA_PIO_SHT(DRV_NAME),
};
@@ -21631,9 +21645,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_mpc52xx.c linux-2.6.38.1-new/drivers/
.inherits = &ata_bmdma_port_ops,
.sff_dev_select = mpc52xx_ata_dev_select,
.set_piomode = mpc52xx_ata_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_mpiix.c linux-2.6.38.1-new/drivers/ata/pata_mpiix.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_mpiix.c linux-2.6.38.1/drivers/ata/pata_mpiix.c
--- linux-2.6.38.1/drivers/ata/pata_mpiix.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_mpiix.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_mpiix.c 2011-03-21 18:31:35.000000000 -0400
@@ -140,7 +140,7 @@ static struct scsi_host_template mpiix_s
ATA_PIO_SHT(DRV_NAME),
};
@@ -21643,9 +21657,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_mpiix.c linux-2.6.38.1-new/drivers/at
.inherits = &ata_sff_port_ops,
.qc_issue = mpiix_qc_issue,
.cable_detect = ata_cable_40wire,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_netcell.c linux-2.6.38.1-new/drivers/ata/pata_netcell.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_netcell.c linux-2.6.38.1/drivers/ata/pata_netcell.c
--- linux-2.6.38.1/drivers/ata/pata_netcell.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_netcell.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_netcell.c 2011-03-21 18:31:35.000000000 -0400
@@ -34,7 +34,7 @@ static struct scsi_host_template netcell
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21655,9 +21669,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_netcell.c linux-2.6.38.1-new/drivers/
.inherits = &ata_bmdma_port_ops,
.cable_detect = ata_cable_80wire,
.read_id = netcell_read_id,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_ninja32.c linux-2.6.38.1-new/drivers/ata/pata_ninja32.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_ninja32.c linux-2.6.38.1/drivers/ata/pata_ninja32.c
--- linux-2.6.38.1/drivers/ata/pata_ninja32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_ninja32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_ninja32.c 2011-03-21 18:31:35.000000000 -0400
@@ -81,7 +81,7 @@ static struct scsi_host_template ninja32
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21667,9 +21681,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_ninja32.c linux-2.6.38.1-new/drivers/
.inherits = &ata_bmdma_port_ops,
.sff_dev_select = ninja32_dev_select,
.cable_detect = ata_cable_40wire,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_ns87410.c linux-2.6.38.1-new/drivers/ata/pata_ns87410.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_ns87410.c linux-2.6.38.1/drivers/ata/pata_ns87410.c
--- linux-2.6.38.1/drivers/ata/pata_ns87410.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_ns87410.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_ns87410.c 2011-03-21 18:31:35.000000000 -0400
@@ -132,7 +132,7 @@ static struct scsi_host_template ns87410
ATA_PIO_SHT(DRV_NAME),
};
@@ -21679,9 +21693,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_ns87410.c linux-2.6.38.1-new/drivers/
.inherits = &ata_sff_port_ops,
.qc_issue = ns87410_qc_issue,
.cable_detect = ata_cable_40wire,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_ns87415.c linux-2.6.38.1-new/drivers/ata/pata_ns87415.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_ns87415.c linux-2.6.38.1/drivers/ata/pata_ns87415.c
--- linux-2.6.38.1/drivers/ata/pata_ns87415.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_ns87415.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_ns87415.c 2011-03-21 18:31:35.000000000 -0400
@@ -299,7 +299,7 @@ static u8 ns87560_bmdma_status(struct at
}
#endif /* 87560 SuperIO Support */
@@ -21700,9 +21714,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_ns87415.c linux-2.6.38.1-new/drivers/
.inherits = &ns87415_pata_ops,
.sff_tf_read = ns87560_tf_read,
.sff_check_status = ns87560_check_status,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_octeon_cf.c linux-2.6.38.1-new/drivers/ata/pata_octeon_cf.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_octeon_cf.c linux-2.6.38.1/drivers/ata/pata_octeon_cf.c
--- linux-2.6.38.1/drivers/ata/pata_octeon_cf.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_octeon_cf.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_octeon_cf.c 2011-03-21 18:31:35.000000000 -0400
@@ -780,7 +780,7 @@ static unsigned int octeon_cf_qc_issue(s
return 0;
}
@@ -21712,9 +21726,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_octeon_cf.c linux-2.6.38.1-new/driver
.inherits = &ata_sff_port_ops,
.check_atapi_dma = octeon_cf_check_atapi_dma,
.qc_prep = ata_noop_qc_prep,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_oldpiix.c linux-2.6.38.1-new/drivers/ata/pata_oldpiix.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_oldpiix.c linux-2.6.38.1/drivers/ata/pata_oldpiix.c
--- linux-2.6.38.1/drivers/ata/pata_oldpiix.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_oldpiix.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_oldpiix.c 2011-03-21 18:31:35.000000000 -0400
@@ -208,7 +208,7 @@ static struct scsi_host_template oldpiix
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21724,9 +21738,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_oldpiix.c linux-2.6.38.1-new/drivers/
.inherits = &ata_bmdma_port_ops,
.qc_issue = oldpiix_qc_issue,
.cable_detect = ata_cable_40wire,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_opti.c linux-2.6.38.1-new/drivers/ata/pata_opti.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_opti.c linux-2.6.38.1/drivers/ata/pata_opti.c
--- linux-2.6.38.1/drivers/ata/pata_opti.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_opti.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_opti.c 2011-03-21 18:31:35.000000000 -0400
@@ -152,7 +152,7 @@ static struct scsi_host_template opti_sh
ATA_PIO_SHT(DRV_NAME),
};
@@ -21736,9 +21750,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_opti.c linux-2.6.38.1-new/drivers/ata
.inherits = &ata_sff_port_ops,
.cable_detect = ata_cable_40wire,
.set_piomode = opti_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_optidma.c linux-2.6.38.1-new/drivers/ata/pata_optidma.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_optidma.c linux-2.6.38.1/drivers/ata/pata_optidma.c
--- linux-2.6.38.1/drivers/ata/pata_optidma.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_optidma.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_optidma.c 2011-03-21 18:31:35.000000000 -0400
@@ -337,7 +337,7 @@ static struct scsi_host_template optidma
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21757,9 +21771,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_optidma.c linux-2.6.38.1-new/drivers/
.inherits = &optidma_port_ops,
.set_piomode = optiplus_set_pio_mode,
.set_dmamode = optiplus_set_dma_mode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_palmld.c linux-2.6.38.1-new/drivers/ata/pata_palmld.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_palmld.c linux-2.6.38.1/drivers/ata/pata_palmld.c
--- linux-2.6.38.1/drivers/ata/pata_palmld.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_palmld.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_palmld.c 2011-03-21 18:31:35.000000000 -0400
@@ -37,7 +37,7 @@ static struct scsi_host_template palmld_
ATA_PIO_SHT(DRV_NAME),
};
@@ -21769,9 +21783,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_palmld.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_sff_port_ops,
.sff_data_xfer = ata_sff_data_xfer_noirq,
.cable_detect = ata_cable_40wire,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_pcmcia.c linux-2.6.38.1-new/drivers/ata/pata_pcmcia.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_pcmcia.c linux-2.6.38.1/drivers/ata/pata_pcmcia.c
--- linux-2.6.38.1/drivers/ata/pata_pcmcia.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_pcmcia.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_pcmcia.c 2011-03-21 18:31:35.000000000 -0400
@@ -151,14 +151,14 @@ static struct scsi_host_template pcmcia_
ATA_PIO_SHT(DRV_NAME),
};
@@ -21798,9 +21812,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_pcmcia.c linux-2.6.38.1-new/drivers/a
/* Set up attributes in order to probe card and get resources */
pdev->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_SET_IO |
-diff -urNp linux-2.6.38.1/drivers/ata/pata_pdc2027x.c linux-2.6.38.1-new/drivers/ata/pata_pdc2027x.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_pdc2027x.c linux-2.6.38.1/drivers/ata/pata_pdc2027x.c
--- linux-2.6.38.1/drivers/ata/pata_pdc2027x.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_pdc2027x.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_pdc2027x.c 2011-03-21 18:31:35.000000000 -0400
@@ -132,14 +132,14 @@ static struct scsi_host_template pdc2027
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21818,9 +21832,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_pdc2027x.c linux-2.6.38.1-new/drivers
.inherits = &pdc2027x_pata100_ops,
.mode_filter = pdc2027x_mode_filter,
.set_piomode = pdc2027x_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_pdc202xx_old.c linux-2.6.38.1-new/drivers/ata/pata_pdc202xx_old.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_pdc202xx_old.c linux-2.6.38.1/drivers/ata/pata_pdc202xx_old.c
--- linux-2.6.38.1/drivers/ata/pata_pdc202xx_old.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_pdc202xx_old.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_pdc202xx_old.c 2011-03-21 18:31:35.000000000 -0400
@@ -295,7 +295,7 @@ static struct scsi_host_template pdc202x
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21839,9 +21853,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_pdc202xx_old.c linux-2.6.38.1-new/dri
.inherits = &pdc2024x_port_ops,
.check_atapi_dma = pdc2026x_check_atapi_dma,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_piccolo.c linux-2.6.38.1-new/drivers/ata/pata_piccolo.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_piccolo.c linux-2.6.38.1/drivers/ata/pata_piccolo.c
--- linux-2.6.38.1/drivers/ata/pata_piccolo.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_piccolo.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_piccolo.c 2011-03-21 18:31:35.000000000 -0400
@@ -67,7 +67,7 @@ static struct scsi_host_template tosh_sh
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21851,9 +21865,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_piccolo.c linux-2.6.38.1-new/drivers/
.inherits = &ata_bmdma_port_ops,
.cable_detect = ata_cable_unknown,
.set_piomode = tosh_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_platform.c linux-2.6.38.1-new/drivers/ata/pata_platform.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_platform.c linux-2.6.38.1/drivers/ata/pata_platform.c
--- linux-2.6.38.1/drivers/ata/pata_platform.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_platform.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_platform.c 2011-03-21 18:31:35.000000000 -0400
@@ -48,7 +48,7 @@ static struct scsi_host_template pata_pl
ATA_PIO_SHT(DRV_NAME),
};
@@ -21863,9 +21877,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_platform.c linux-2.6.38.1-new/drivers
.inherits = &ata_sff_port_ops,
.sff_data_xfer = ata_sff_data_xfer_noirq,
.cable_detect = ata_cable_unknown,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_pxa.c linux-2.6.38.1-new/drivers/ata/pata_pxa.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_pxa.c linux-2.6.38.1/drivers/ata/pata_pxa.c
--- linux-2.6.38.1/drivers/ata/pata_pxa.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_pxa.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_pxa.c 2011-03-21 18:31:35.000000000 -0400
@@ -198,7 +198,7 @@ static struct scsi_host_template pxa_ata
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21875,9 +21889,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_pxa.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ata_bmdma_port_ops,
.cable_detect = ata_cable_40wire,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_qdi.c linux-2.6.38.1-new/drivers/ata/pata_qdi.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_qdi.c linux-2.6.38.1/drivers/ata/pata_qdi.c
--- linux-2.6.38.1/drivers/ata/pata_qdi.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_qdi.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_qdi.c 2011-03-21 18:31:35.000000000 -0400
@@ -157,7 +157,7 @@ static struct scsi_host_template qdi_sht
ATA_PIO_SHT(DRV_NAME),
};
@@ -21896,9 +21910,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_qdi.c linux-2.6.38.1-new/drivers/ata/
.inherits = &qdi6500_port_ops,
.set_piomode = qdi6580_set_piomode,
};
-diff -urNp linux-2.6.38.1/drivers/ata/pata_radisys.c linux-2.6.38.1-new/drivers/ata/pata_radisys.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_radisys.c linux-2.6.38.1/drivers/ata/pata_radisys.c
--- linux-2.6.38.1/drivers/ata/pata_radisys.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_radisys.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_radisys.c 2011-03-21 18:31:35.000000000 -0400
@@ -187,7 +187,7 @@ static struct scsi_host_template radisys
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21908,9 +21922,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_radisys.c linux-2.6.38.1-new/drivers/
.inherits = &ata_bmdma_port_ops,
.qc_issue = radisys_qc_issue,
.cable_detect = ata_cable_unknown,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_rb532_cf.c linux-2.6.38.1-new/drivers/ata/pata_rb532_cf.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_rb532_cf.c linux-2.6.38.1/drivers/ata/pata_rb532_cf.c
--- linux-2.6.38.1/drivers/ata/pata_rb532_cf.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_rb532_cf.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_rb532_cf.c 2011-03-21 18:31:35.000000000 -0400
@@ -69,7 +69,7 @@ static irqreturn_t rb532_pata_irq_handle
return IRQ_HANDLED;
}
@@ -21920,9 +21934,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_rb532_cf.c linux-2.6.38.1-new/drivers
.inherits = &ata_sff_port_ops,
.sff_data_xfer = ata_sff_data_xfer32,
};
-diff -urNp linux-2.6.38.1/drivers/ata/pata_rdc.c linux-2.6.38.1-new/drivers/ata/pata_rdc.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_rdc.c linux-2.6.38.1/drivers/ata/pata_rdc.c
--- linux-2.6.38.1/drivers/ata/pata_rdc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_rdc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_rdc.c 2011-03-21 18:31:35.000000000 -0400
@@ -273,7 +273,7 @@ static void rdc_set_dmamode(struct ata_p
pci_write_config_byte(dev, 0x48, udma_enable);
}
@@ -21932,9 +21946,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_rdc.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ata_bmdma32_port_ops,
.cable_detect = rdc_pata_cable_detect,
.set_piomode = rdc_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_rz1000.c linux-2.6.38.1-new/drivers/ata/pata_rz1000.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_rz1000.c linux-2.6.38.1/drivers/ata/pata_rz1000.c
--- linux-2.6.38.1/drivers/ata/pata_rz1000.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_rz1000.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_rz1000.c 2011-03-21 18:31:35.000000000 -0400
@@ -54,7 +54,7 @@ static struct scsi_host_template rz1000_
ATA_PIO_SHT(DRV_NAME),
};
@@ -21944,9 +21958,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_rz1000.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_sff_port_ops,
.cable_detect = ata_cable_40wire,
.set_mode = rz1000_set_mode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_samsung_cf.c linux-2.6.38.1-new/drivers/ata/pata_samsung_cf.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_samsung_cf.c linux-2.6.38.1/drivers/ata/pata_samsung_cf.c
--- linux-2.6.38.1/drivers/ata/pata_samsung_cf.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_samsung_cf.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_samsung_cf.c 2011-03-21 18:31:35.000000000 -0400
@@ -399,7 +399,7 @@ static struct scsi_host_template pata_s3
ATA_PIO_SHT(DRV_NAME),
};
@@ -21965,9 +21979,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_samsung_cf.c linux-2.6.38.1-new/drive
.inherits = &ata_sff_port_ops,
.set_piomode = pata_s3c_set_piomode,
};
-diff -urNp linux-2.6.38.1/drivers/ata/pata_sc1200.c linux-2.6.38.1-new/drivers/ata/pata_sc1200.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_sc1200.c linux-2.6.38.1/drivers/ata/pata_sc1200.c
--- linux-2.6.38.1/drivers/ata/pata_sc1200.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_sc1200.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_sc1200.c 2011-03-21 18:31:35.000000000 -0400
@@ -207,7 +207,7 @@ static struct scsi_host_template sc1200_
.sg_tablesize = LIBATA_DUMB_MAX_PRD,
};
@@ -21977,9 +21991,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_sc1200.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma_port_ops,
.qc_prep = ata_bmdma_dumb_qc_prep,
.qc_issue = sc1200_qc_issue,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_scc.c linux-2.6.38.1-new/drivers/ata/pata_scc.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_scc.c linux-2.6.38.1/drivers/ata/pata_scc.c
--- linux-2.6.38.1/drivers/ata/pata_scc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_scc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_scc.c 2011-03-21 18:31:35.000000000 -0400
@@ -926,7 +926,7 @@ static struct scsi_host_template scc_sht
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -21989,9 +22003,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_scc.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ata_bmdma_port_ops,
.set_piomode = scc_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_sch.c linux-2.6.38.1-new/drivers/ata/pata_sch.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_sch.c linux-2.6.38.1/drivers/ata/pata_sch.c
--- linux-2.6.38.1/drivers/ata/pata_sch.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_sch.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_sch.c 2011-03-21 18:31:35.000000000 -0400
@@ -75,7 +75,7 @@ static struct scsi_host_template sch_sht
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -22001,9 +22015,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_sch.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ata_bmdma_port_ops,
.cable_detect = ata_cable_unknown,
.set_piomode = sch_set_piomode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_serverworks.c linux-2.6.38.1-new/drivers/ata/pata_serverworks.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_serverworks.c linux-2.6.38.1/drivers/ata/pata_serverworks.c
--- linux-2.6.38.1/drivers/ata/pata_serverworks.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_serverworks.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_serverworks.c 2011-03-21 18:31:35.000000000 -0400
@@ -300,7 +300,7 @@ static struct scsi_host_template serverw
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -22022,9 +22036,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_serverworks.c linux-2.6.38.1-new/driv
.inherits = &serverworks_osb4_port_ops,
.mode_filter = serverworks_csb_filter,
};
-diff -urNp linux-2.6.38.1/drivers/ata/pata_sil680.c linux-2.6.38.1-new/drivers/ata/pata_sil680.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_sil680.c linux-2.6.38.1/drivers/ata/pata_sil680.c
--- linux-2.6.38.1/drivers/ata/pata_sil680.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_sil680.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_sil680.c 2011-03-21 18:31:35.000000000 -0400
@@ -225,8 +225,7 @@ static struct scsi_host_template sil680_
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -22035,9 +22049,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_sil680.c linux-2.6.38.1-new/drivers/a
.inherits = &ata_bmdma32_port_ops,
.sff_exec_command = sil680_sff_exec_command,
.sff_irq_check = sil680_sff_irq_check,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_sis.c linux-2.6.38.1-new/drivers/ata/pata_sis.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_sis.c linux-2.6.38.1/drivers/ata/pata_sis.c
--- linux-2.6.38.1/drivers/ata/pata_sis.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_sis.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_sis.c 2011-03-21 18:31:35.000000000 -0400
@@ -503,47 +503,47 @@ static struct scsi_host_template sis_sht
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -22093,9 +22107,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_sis.c linux-2.6.38.1-new/drivers/ata/
.inherits = &sis_base_ops,
.set_piomode = sis_old_set_piomode,
.set_dmamode = sis_old_set_dmamode,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_sl82c105.c linux-2.6.38.1-new/drivers/ata/pata_sl82c105.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_sl82c105.c linux-2.6.38.1/drivers/ata/pata_sl82c105.c
--- linux-2.6.38.1/drivers/ata/pata_sl82c105.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_sl82c105.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_sl82c105.c 2011-03-21 18:31:35.000000000 -0400
@@ -241,7 +241,7 @@ static struct scsi_host_template sl82c10
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -22105,9 +22119,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_sl82c105.c linux-2.6.38.1-new/drivers
.inherits = &ata_bmdma_port_ops,
.qc_defer = sl82c105_qc_defer,
.bmdma_start = sl82c105_bmdma_start,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_triflex.c linux-2.6.38.1-new/drivers/ata/pata_triflex.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_triflex.c linux-2.6.38.1/drivers/ata/pata_triflex.c
--- linux-2.6.38.1/drivers/ata/pata_triflex.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_triflex.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_triflex.c 2011-03-21 18:31:35.000000000 -0400
@@ -178,7 +178,7 @@ static struct scsi_host_template triflex
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -22117,9 +22131,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_triflex.c linux-2.6.38.1-new/drivers/
.inherits = &ata_bmdma_port_ops,
.bmdma_start = triflex_bmdma_start,
.bmdma_stop = triflex_bmdma_stop,
-diff -urNp linux-2.6.38.1/drivers/ata/pata_via.c linux-2.6.38.1-new/drivers/ata/pata_via.c
+diff -urNp linux-2.6.38.1/drivers/ata/pata_via.c linux-2.6.38.1/drivers/ata/pata_via.c
--- linux-2.6.38.1/drivers/ata/pata_via.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pata_via.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pata_via.c 2011-03-21 18:31:35.000000000 -0400
@@ -441,7 +441,7 @@ static struct scsi_host_template via_sht
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -22138,9 +22152,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pata_via.c linux-2.6.38.1-new/drivers/ata/
.inherits = &via_port_ops,
.sff_data_xfer = ata_sff_data_xfer_noirq,
};
-diff -urNp linux-2.6.38.1/drivers/ata/pdc_adma.c linux-2.6.38.1-new/drivers/ata/pdc_adma.c
+diff -urNp linux-2.6.38.1/drivers/ata/pdc_adma.c linux-2.6.38.1/drivers/ata/pdc_adma.c
--- linux-2.6.38.1/drivers/ata/pdc_adma.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/pdc_adma.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/pdc_adma.c 2011-03-21 18:31:35.000000000 -0400
@@ -146,7 +146,7 @@ static struct scsi_host_template adma_at
.dma_boundary = ADMA_DMA_BOUNDARY,
};
@@ -22150,9 +22164,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/pdc_adma.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ata_sff_port_ops,
.lost_interrupt = ATA_OP_NULL,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_dwc_460ex.c linux-2.6.38.1-new/drivers/ata/sata_dwc_460ex.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_dwc_460ex.c linux-2.6.38.1/drivers/ata/sata_dwc_460ex.c
--- linux-2.6.38.1/drivers/ata/sata_dwc_460ex.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_dwc_460ex.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_dwc_460ex.c 2011-03-21 18:31:35.000000000 -0400
@@ -1560,7 +1560,7 @@ static struct scsi_host_template sata_dw
.dma_boundary = ATA_DMA_BOUNDARY,
};
@@ -22162,9 +22176,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_dwc_460ex.c linux-2.6.38.1-new/driver
.inherits = &ata_sff_port_ops,
.error_handler = sata_dwc_error_handler,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_fsl.c linux-2.6.38.1-new/drivers/ata/sata_fsl.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_fsl.c linux-2.6.38.1/drivers/ata/sata_fsl.c
--- linux-2.6.38.1/drivers/ata/sata_fsl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_fsl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_fsl.c 2011-03-21 18:31:35.000000000 -0400
@@ -1258,7 +1258,7 @@ static struct scsi_host_template sata_fs
.dma_boundary = ATA_DMA_BOUNDARY,
};
@@ -22174,9 +22188,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_fsl.c linux-2.6.38.1-new/drivers/ata/
.inherits = &sata_pmp_port_ops,
.qc_defer = ata_std_qc_defer,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_inic162x.c linux-2.6.38.1-new/drivers/ata/sata_inic162x.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_inic162x.c linux-2.6.38.1/drivers/ata/sata_inic162x.c
--- linux-2.6.38.1/drivers/ata/sata_inic162x.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_inic162x.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_inic162x.c 2011-03-21 18:31:35.000000000 -0400
@@ -705,7 +705,7 @@ static int inic_port_start(struct ata_po
return 0;
}
@@ -22186,9 +22200,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_inic162x.c linux-2.6.38.1-new/drivers
.inherits = &sata_port_ops,
.check_atapi_dma = inic_check_atapi_dma,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_mv.c linux-2.6.38.1-new/drivers/ata/sata_mv.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_mv.c linux-2.6.38.1/drivers/ata/sata_mv.c
--- linux-2.6.38.1/drivers/ata/sata_mv.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_mv.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_mv.c 2011-03-21 18:31:35.000000000 -0400
@@ -663,7 +663,7 @@ static struct scsi_host_template mv6_sht
.dma_boundary = MV_DMA_BOUNDARY,
};
@@ -22216,9 +22230,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_mv.c linux-2.6.38.1-new/drivers/ata/s
.inherits = &mv6_ops,
.dev_config = ATA_OP_NULL,
.qc_prep = mv_qc_prep_iie,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_nv.c linux-2.6.38.1-new/drivers/ata/sata_nv.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_nv.c linux-2.6.38.1/drivers/ata/sata_nv.c
--- linux-2.6.38.1/drivers/ata/sata_nv.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_nv.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_nv.c 2011-03-21 18:31:35.000000000 -0400
@@ -465,7 +465,7 @@ static struct scsi_host_template nv_swnc
* cases. Define nv_hardreset() which only kicks in for post-boot
* probing and use it for all variants.
@@ -22261,9 +22275,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_nv.c linux-2.6.38.1-new/drivers/ata/s
.inherits = &nv_generic_ops,
.qc_defer = ata_std_qc_defer,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_promise.c linux-2.6.38.1-new/drivers/ata/sata_promise.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_promise.c linux-2.6.38.1/drivers/ata/sata_promise.c
--- linux-2.6.38.1/drivers/ata/sata_promise.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_promise.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_promise.c 2011-03-21 18:31:35.000000000 -0400
@@ -196,7 +196,7 @@ static const struct ata_port_operations
.error_handler = pdc_error_handler,
};
@@ -22290,9 +22304,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_promise.c linux-2.6.38.1-new/drivers/
.inherits = &pdc_common_ops,
.cable_detect = pdc_pata_cable_detect,
.freeze = pdc_freeze,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_qstor.c linux-2.6.38.1-new/drivers/ata/sata_qstor.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_qstor.c linux-2.6.38.1/drivers/ata/sata_qstor.c
--- linux-2.6.38.1/drivers/ata/sata_qstor.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_qstor.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_qstor.c 2011-03-21 18:31:35.000000000 -0400
@@ -131,7 +131,7 @@ static struct scsi_host_template qs_ata_
.dma_boundary = QS_DMA_BOUNDARY,
};
@@ -22302,9 +22316,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_qstor.c linux-2.6.38.1-new/drivers/at
.inherits = &ata_sff_port_ops,
.check_atapi_dma = qs_check_atapi_dma,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_sil24.c linux-2.6.38.1-new/drivers/ata/sata_sil24.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_sil24.c linux-2.6.38.1/drivers/ata/sata_sil24.c
--- linux-2.6.38.1/drivers/ata/sata_sil24.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_sil24.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_sil24.c 2011-03-21 18:31:35.000000000 -0400
@@ -389,7 +389,7 @@ static struct scsi_host_template sil24_s
.dma_boundary = ATA_DMA_BOUNDARY,
};
@@ -22314,9 +22328,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_sil24.c linux-2.6.38.1-new/drivers/at
.inherits = &sata_pmp_port_ops,
.qc_defer = sil24_qc_defer,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_sil.c linux-2.6.38.1-new/drivers/ata/sata_sil.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_sil.c linux-2.6.38.1/drivers/ata/sata_sil.c
--- linux-2.6.38.1/drivers/ata/sata_sil.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_sil.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_sil.c 2011-03-21 18:31:35.000000000 -0400
@@ -182,7 +182,7 @@ static struct scsi_host_template sil_sht
.sg_tablesize = ATA_MAX_PRD
};
@@ -22326,9 +22340,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_sil.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ata_bmdma32_port_ops,
.dev_config = sil_dev_config,
.set_mode = sil_set_mode,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_sis.c linux-2.6.38.1-new/drivers/ata/sata_sis.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_sis.c linux-2.6.38.1/drivers/ata/sata_sis.c
--- linux-2.6.38.1/drivers/ata/sata_sis.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_sis.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_sis.c 2011-03-21 18:31:35.000000000 -0400
@@ -89,7 +89,7 @@ static struct scsi_host_template sis_sht
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -22338,9 +22352,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_sis.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ata_bmdma_port_ops,
.scr_read = sis_scr_read,
.scr_write = sis_scr_write,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_svw.c linux-2.6.38.1-new/drivers/ata/sata_svw.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_svw.c linux-2.6.38.1/drivers/ata/sata_svw.c
--- linux-2.6.38.1/drivers/ata/sata_svw.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_svw.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_svw.c 2011-03-21 18:31:35.000000000 -0400
@@ -344,7 +344,7 @@ static struct scsi_host_template k2_sata
};
@@ -22350,9 +22364,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_svw.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ata_bmdma_port_ops,
.sff_tf_load = k2_sata_tf_load,
.sff_tf_read = k2_sata_tf_read,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_sx4.c linux-2.6.38.1-new/drivers/ata/sata_sx4.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_sx4.c linux-2.6.38.1/drivers/ata/sata_sx4.c
--- linux-2.6.38.1/drivers/ata/sata_sx4.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_sx4.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_sx4.c 2011-03-21 18:31:35.000000000 -0400
@@ -249,7 +249,7 @@ static struct scsi_host_template pdc_sat
};
@@ -22362,9 +22376,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_sx4.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ata_sff_port_ops,
.check_atapi_dma = pdc_check_atapi_dma,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_uli.c linux-2.6.38.1-new/drivers/ata/sata_uli.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_uli.c linux-2.6.38.1/drivers/ata/sata_uli.c
--- linux-2.6.38.1/drivers/ata/sata_uli.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_uli.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_uli.c 2011-03-21 18:31:35.000000000 -0400
@@ -80,7 +80,7 @@ static struct scsi_host_template uli_sht
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -22374,9 +22388,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_uli.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ata_bmdma_port_ops,
.scr_read = uli_scr_read,
.scr_write = uli_scr_write,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_via.c linux-2.6.38.1-new/drivers/ata/sata_via.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_via.c linux-2.6.38.1/drivers/ata/sata_via.c
--- linux-2.6.38.1/drivers/ata/sata_via.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_via.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_via.c 2011-03-21 18:31:35.000000000 -0400
@@ -115,32 +115,32 @@ static struct scsi_host_template svia_sh
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -22415,9 +22429,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_via.c linux-2.6.38.1-new/drivers/ata/
.inherits = &svia_base_ops,
.hardreset = sata_std_hardreset,
.scr_read = vt8251_scr_read,
-diff -urNp linux-2.6.38.1/drivers/ata/sata_vsc.c linux-2.6.38.1-new/drivers/ata/sata_vsc.c
+diff -urNp linux-2.6.38.1/drivers/ata/sata_vsc.c linux-2.6.38.1/drivers/ata/sata_vsc.c
--- linux-2.6.38.1/drivers/ata/sata_vsc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ata/sata_vsc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ata/sata_vsc.c 2011-03-21 18:31:35.000000000 -0400
@@ -300,7 +300,7 @@ static struct scsi_host_template vsc_sat
};
@@ -22427,9 +22441,9 @@ diff -urNp linux-2.6.38.1/drivers/ata/sata_vsc.c linux-2.6.38.1-new/drivers/ata/
.inherits = &ata_bmdma_port_ops,
/* The IRQ handling is not quite standard SFF behaviour so we
cannot use the default lost interrupt handler */
-diff -urNp linux-2.6.38.1/drivers/atm/adummy.c linux-2.6.38.1-new/drivers/atm/adummy.c
+diff -urNp linux-2.6.38.1/drivers/atm/adummy.c linux-2.6.38.1/drivers/atm/adummy.c
--- linux-2.6.38.1/drivers/atm/adummy.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/adummy.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/adummy.c 2011-03-21 18:31:35.000000000 -0400
@@ -114,7 +114,7 @@ adummy_send(struct atm_vcc *vcc, struct
vcc->pop(vcc, skb);
else
@@ -22439,9 +22453,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/adummy.c linux-2.6.38.1-new/drivers/atm/ad
return 0;
}
-diff -urNp linux-2.6.38.1/drivers/atm/ambassador.c linux-2.6.38.1-new/drivers/atm/ambassador.c
+diff -urNp linux-2.6.38.1/drivers/atm/ambassador.c linux-2.6.38.1/drivers/atm/ambassador.c
--- linux-2.6.38.1/drivers/atm/ambassador.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/ambassador.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/ambassador.c 2011-03-21 18:31:35.000000000 -0400
@@ -454,7 +454,7 @@ static void tx_complete (amb_dev * dev,
PRINTD (DBG_FLOW|DBG_TX, "tx_complete %p %p", dev, tx);
@@ -22478,9 +22492,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/ambassador.c linux-2.6.38.1-new/drivers/at
return -ENOMEM; // ?
}
-diff -urNp linux-2.6.38.1/drivers/atm/atmtcp.c linux-2.6.38.1-new/drivers/atm/atmtcp.c
+diff -urNp linux-2.6.38.1/drivers/atm/atmtcp.c linux-2.6.38.1/drivers/atm/atmtcp.c
--- linux-2.6.38.1/drivers/atm/atmtcp.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/atmtcp.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/atmtcp.c 2011-03-21 18:31:35.000000000 -0400
@@ -207,7 +207,7 @@ static int atmtcp_v_send(struct atm_vcc
if (vcc->pop) vcc->pop(vcc,skb);
else dev_kfree_skb(skb);
@@ -22530,9 +22544,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/atmtcp.c linux-2.6.38.1-new/drivers/atm/at
done:
if (vcc->pop) vcc->pop(vcc,skb);
else dev_kfree_skb(skb);
-diff -urNp linux-2.6.38.1/drivers/atm/eni.c linux-2.6.38.1-new/drivers/atm/eni.c
+diff -urNp linux-2.6.38.1/drivers/atm/eni.c linux-2.6.38.1/drivers/atm/eni.c
--- linux-2.6.38.1/drivers/atm/eni.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/eni.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/eni.c 2011-03-21 18:31:35.000000000 -0400
@@ -526,7 +526,7 @@ static int rx_aal0(struct atm_vcc *vcc)
DPRINTK(DEV_LABEL "(itf %d): trashing empty cell\n",
vcc->dev->number);
@@ -22578,9 +22592,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/eni.c linux-2.6.38.1-new/drivers/atm/eni.c
wake_up(&eni_dev->tx_wait);
dma_complete++;
}
-diff -urNp linux-2.6.38.1/drivers/atm/firestream.c linux-2.6.38.1-new/drivers/atm/firestream.c
+diff -urNp linux-2.6.38.1/drivers/atm/firestream.c linux-2.6.38.1/drivers/atm/firestream.c
--- linux-2.6.38.1/drivers/atm/firestream.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/firestream.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/firestream.c 2011-03-21 18:31:35.000000000 -0400
@@ -749,7 +749,7 @@ static void process_txdone_queue (struct
}
}
@@ -22614,9 +22628,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/firestream.c linux-2.6.38.1-new/drivers/at
break;
default: /* Hmm. Haven't written the code to handle the others yet... -- REW */
printk (KERN_WARNING "Don't know what to do with RX status %x: %s.\n",
-diff -urNp linux-2.6.38.1/drivers/atm/fore200e.c linux-2.6.38.1-new/drivers/atm/fore200e.c
+diff -urNp linux-2.6.38.1/drivers/atm/fore200e.c linux-2.6.38.1/drivers/atm/fore200e.c
--- linux-2.6.38.1/drivers/atm/fore200e.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/fore200e.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/fore200e.c 2011-03-21 18:31:35.000000000 -0400
@@ -933,9 +933,9 @@ fore200e_tx_irq(struct fore200e* fore200
#endif
/* check error condition */
@@ -22673,9 +22687,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/fore200e.c linux-2.6.38.1-new/drivers/atm/
fore200e->tx_sat++;
DPRINTK(2, "tx queue of device %s is saturated, PDU dropped - heartbeat is %08x\n",
-diff -urNp linux-2.6.38.1/drivers/atm/he.c linux-2.6.38.1-new/drivers/atm/he.c
+diff -urNp linux-2.6.38.1/drivers/atm/he.c linux-2.6.38.1/drivers/atm/he.c
--- linux-2.6.38.1/drivers/atm/he.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/he.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/he.c 2011-03-21 18:31:35.000000000 -0400
@@ -1709,7 +1709,7 @@ he_service_rbrq(struct he_dev *he_dev, i
if (RBRQ_HBUF_ERR(he_dev->rbrq_head)) {
@@ -22757,9 +22771,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/he.c linux-2.6.38.1-new/drivers/atm/he.c
return 0;
}
-diff -urNp linux-2.6.38.1/drivers/atm/horizon.c linux-2.6.38.1-new/drivers/atm/horizon.c
+diff -urNp linux-2.6.38.1/drivers/atm/horizon.c linux-2.6.38.1/drivers/atm/horizon.c
--- linux-2.6.38.1/drivers/atm/horizon.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/horizon.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/horizon.c 2011-03-21 18:31:35.000000000 -0400
@@ -1034,7 +1034,7 @@ static void rx_schedule (hrz_dev * dev,
{
struct atm_vcc * vcc = ATM_SKB(skb)->vcc;
@@ -22778,9 +22792,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/horizon.c linux-2.6.38.1-new/drivers/atm/h
// free the skb
hrz_kfree_skb (skb);
-diff -urNp linux-2.6.38.1/drivers/atm/idt77252.c linux-2.6.38.1-new/drivers/atm/idt77252.c
+diff -urNp linux-2.6.38.1/drivers/atm/idt77252.c linux-2.6.38.1/drivers/atm/idt77252.c
--- linux-2.6.38.1/drivers/atm/idt77252.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/idt77252.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/idt77252.c 2011-03-21 18:31:35.000000000 -0400
@@ -811,7 +811,7 @@ drain_scq(struct idt77252_dev *card, str
else
dev_kfree_skb(skb);
@@ -22935,9 +22949,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/idt77252.c linux-2.6.38.1-new/drivers/atm/
return -ENOMEM;
}
atomic_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc);
-diff -urNp linux-2.6.38.1/drivers/atm/iphase.c linux-2.6.38.1-new/drivers/atm/iphase.c
+diff -urNp linux-2.6.38.1/drivers/atm/iphase.c linux-2.6.38.1/drivers/atm/iphase.c
--- linux-2.6.38.1/drivers/atm/iphase.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/iphase.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/iphase.c 2011-03-21 18:31:35.000000000 -0400
@@ -1124,7 +1124,7 @@ static int rx_pkt(struct atm_dev *dev)
status = (u_short) (buf_desc_ptr->desc_mode);
if (status & (RX_CER | RX_PTE | RX_OFL))
@@ -23034,9 +23048,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/iphase.c linux-2.6.38.1-new/drivers/atm/ip
if (iavcc->vc_desc_cnt > 10) {
vcc->tx_quota = vcc->tx_quota * 3 / 4;
printk("Tx1: vcc->tx_quota = %d \n", (u32)vcc->tx_quota );
-diff -urNp linux-2.6.38.1/drivers/atm/lanai.c linux-2.6.38.1-new/drivers/atm/lanai.c
+diff -urNp linux-2.6.38.1/drivers/atm/lanai.c linux-2.6.38.1/drivers/atm/lanai.c
--- linux-2.6.38.1/drivers/atm/lanai.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/lanai.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/lanai.c 2011-03-21 18:31:35.000000000 -0400
@@ -1303,7 +1303,7 @@ static void lanai_send_one_aal5(struct l
vcc_tx_add_aal5_trailer(lvcc, skb->len, 0, 0);
lanai_endtx(lanai, lvcc);
@@ -23091,9 +23105,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/lanai.c linux-2.6.38.1-new/drivers/atm/lan
lvcc->stats.x.aal5.service_rxcrc++;
lvcc->rx.buf.ptr = &lvcc->rx.buf.start[SERVICE_GET_END(s) * 4];
cardvcc_write(lvcc, SERVICE_GET_END(s), vcc_rxreadptr);
-diff -urNp linux-2.6.38.1/drivers/atm/nicstar.c linux-2.6.38.1-new/drivers/atm/nicstar.c
+diff -urNp linux-2.6.38.1/drivers/atm/nicstar.c linux-2.6.38.1/drivers/atm/nicstar.c
--- linux-2.6.38.1/drivers/atm/nicstar.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/nicstar.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/nicstar.c 2011-03-21 18:31:35.000000000 -0400
@@ -1654,7 +1654,7 @@ static int ns_send(struct atm_vcc *vcc,
if ((vc = (vc_map *) vcc->dev_data) == NULL) {
printk("nicstar%d: vcc->dev_data == NULL on ns_send().\n",
@@ -23295,9 +23309,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/nicstar.c linux-2.6.38.1-new/drivers/atm/n
}
}
-diff -urNp linux-2.6.38.1/drivers/atm/solos-pci.c linux-2.6.38.1-new/drivers/atm/solos-pci.c
+diff -urNp linux-2.6.38.1/drivers/atm/solos-pci.c linux-2.6.38.1/drivers/atm/solos-pci.c
--- linux-2.6.38.1/drivers/atm/solos-pci.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/solos-pci.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/solos-pci.c 2011-03-21 18:31:35.000000000 -0400
@@ -717,7 +717,7 @@ void solos_bh(unsigned long card_arg)
}
atm_charge(vcc, skb->truesize);
@@ -23316,9 +23330,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/solos-pci.c linux-2.6.38.1-new/drivers/atm
solos_pop(vcc, oldskb);
} else
dev_kfree_skb_irq(oldskb);
-diff -urNp linux-2.6.38.1/drivers/atm/suni.c linux-2.6.38.1-new/drivers/atm/suni.c
+diff -urNp linux-2.6.38.1/drivers/atm/suni.c linux-2.6.38.1/drivers/atm/suni.c
--- linux-2.6.38.1/drivers/atm/suni.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/suni.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/suni.c 2011-03-21 18:31:35.000000000 -0400
@@ -50,8 +50,8 @@ static DEFINE_SPINLOCK(sunis_lock);
@@ -23330,9 +23344,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/suni.c linux-2.6.38.1-new/drivers/atm/suni
static void suni_hz(unsigned long from_timer)
-diff -urNp linux-2.6.38.1/drivers/atm/uPD98402.c linux-2.6.38.1-new/drivers/atm/uPD98402.c
+diff -urNp linux-2.6.38.1/drivers/atm/uPD98402.c linux-2.6.38.1/drivers/atm/uPD98402.c
--- linux-2.6.38.1/drivers/atm/uPD98402.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/uPD98402.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/uPD98402.c 2011-03-21 18:31:35.000000000 -0400
@@ -42,7 +42,7 @@ static int fetch_stats(struct atm_dev *d
struct sonet_stats tmp;
int error = 0;
@@ -23377,9 +23391,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/uPD98402.c linux-2.6.38.1-new/drivers/atm/
return 0;
}
-diff -urNp linux-2.6.38.1/drivers/atm/zatm.c linux-2.6.38.1-new/drivers/atm/zatm.c
+diff -urNp linux-2.6.38.1/drivers/atm/zatm.c linux-2.6.38.1/drivers/atm/zatm.c
--- linux-2.6.38.1/drivers/atm/zatm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/atm/zatm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/atm/zatm.c 2011-03-21 18:31:35.000000000 -0400
@@ -459,7 +459,7 @@ printk("dummy: 0x%08lx, 0x%08lx\n",dummy
}
if (!size) {
@@ -23407,9 +23421,9 @@ diff -urNp linux-2.6.38.1/drivers/atm/zatm.c linux-2.6.38.1-new/drivers/atm/zatm
wake_up(&zatm_vcc->tx_wait);
}
-diff -urNp linux-2.6.38.1/drivers/block/cciss.c linux-2.6.38.1-new/drivers/block/cciss.c
+diff -urNp linux-2.6.38.1/drivers/block/cciss.c linux-2.6.38.1/drivers/block/cciss.c
--- linux-2.6.38.1/drivers/block/cciss.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/block/cciss.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/block/cciss.c 2011-03-21 18:31:35.000000000 -0400
@@ -1112,6 +1112,8 @@ static int cciss_ioctl32_passthru(struct
int err;
u32 cp;
@@ -23419,9 +23433,9 @@ diff -urNp linux-2.6.38.1/drivers/block/cciss.c linux-2.6.38.1-new/drivers/block
err = 0;
err |=
copy_from_user(&arg64.LUN_info, &arg32->LUN_info,
-diff -urNp linux-2.6.38.1/drivers/char/agp/frontend.c linux-2.6.38.1-new/drivers/char/agp/frontend.c
+diff -urNp linux-2.6.38.1/drivers/char/agp/frontend.c linux-2.6.38.1/drivers/char/agp/frontend.c
--- linux-2.6.38.1/drivers/char/agp/frontend.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/agp/frontend.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/agp/frontend.c 2011-03-21 18:31:35.000000000 -0400
@@ -817,7 +817,7 @@ static int agpioc_reserve_wrap(struct ag
if (copy_from_user(&reserve, arg, sizeof(struct agp_region)))
return -EFAULT;
@@ -23431,9 +23445,9 @@ diff -urNp linux-2.6.38.1/drivers/char/agp/frontend.c linux-2.6.38.1-new/drivers
return -EFAULT;
client = agp_find_client_by_pid(reserve.pid);
-diff -urNp linux-2.6.38.1/drivers/char/agp/intel-agp.c linux-2.6.38.1-new/drivers/char/agp/intel-agp.c
+diff -urNp linux-2.6.38.1/drivers/char/agp/intel-agp.c linux-2.6.38.1/drivers/char/agp/intel-agp.c
--- linux-2.6.38.1/drivers/char/agp/intel-agp.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/agp/intel-agp.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/agp/intel-agp.c 2011-03-21 18:31:35.000000000 -0400
@@ -903,7 +903,7 @@ static struct pci_device_id agp_intel_pc
ID(PCI_DEVICE_ID_INTEL_SANDYBRIDGE_HB),
ID(PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_HB),
@@ -23443,9 +23457,9 @@ diff -urNp linux-2.6.38.1/drivers/char/agp/intel-agp.c linux-2.6.38.1-new/driver
};
MODULE_DEVICE_TABLE(pci, agp_intel_pci_table);
-diff -urNp linux-2.6.38.1/drivers/char/hpet.c linux-2.6.38.1-new/drivers/char/hpet.c
+diff -urNp linux-2.6.38.1/drivers/char/hpet.c linux-2.6.38.1/drivers/char/hpet.c
--- linux-2.6.38.1/drivers/char/hpet.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/hpet.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/hpet.c 2011-03-21 18:31:35.000000000 -0400
@@ -553,7 +553,7 @@ static inline unsigned long hpet_time_di
}
@@ -23464,9 +23478,9 @@ diff -urNp linux-2.6.38.1/drivers/char/hpet.c linux-2.6.38.1-new/drivers/char/hp
static int __init hpet_init(void)
{
-diff -urNp linux-2.6.38.1/drivers/char/ipmi/ipmi_msghandler.c linux-2.6.38.1-new/drivers/char/ipmi/ipmi_msghandler.c
+diff -urNp linux-2.6.38.1/drivers/char/ipmi/ipmi_msghandler.c linux-2.6.38.1/drivers/char/ipmi/ipmi_msghandler.c
--- linux-2.6.38.1/drivers/char/ipmi/ipmi_msghandler.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/ipmi/ipmi_msghandler.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/ipmi/ipmi_msghandler.c 2011-03-21 18:31:35.000000000 -0400
@@ -414,7 +414,7 @@ struct ipmi_smi {
struct proc_dir_entry *proc_dir;
char proc_dir_name[10];
@@ -23497,9 +23511,9 @@ diff -urNp linux-2.6.38.1/drivers/char/ipmi/ipmi_msghandler.c linux-2.6.38.1-new
intf->proc_dir = NULL;
-diff -urNp linux-2.6.38.1/drivers/char/ipmi/ipmi_si_intf.c linux-2.6.38.1-new/drivers/char/ipmi/ipmi_si_intf.c
+diff -urNp linux-2.6.38.1/drivers/char/ipmi/ipmi_si_intf.c linux-2.6.38.1/drivers/char/ipmi/ipmi_si_intf.c
--- linux-2.6.38.1/drivers/char/ipmi/ipmi_si_intf.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/ipmi/ipmi_si_intf.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/ipmi/ipmi_si_intf.c 2011-03-21 18:31:35.000000000 -0400
@@ -285,7 +285,7 @@ struct smi_info {
unsigned char slave_addr;
@@ -23530,9 +23544,9 @@ diff -urNp linux-2.6.38.1/drivers/char/ipmi/ipmi_si_intf.c linux-2.6.38.1-new/dr
new_smi->interrupt_disabled = 1;
atomic_set(&new_smi->stop_operation, 0);
-diff -urNp linux-2.6.38.1/drivers/char/mem.c linux-2.6.38.1-new/drivers/char/mem.c
+diff -urNp linux-2.6.38.1/drivers/char/mem.c linux-2.6.38.1/drivers/char/mem.c
--- linux-2.6.38.1/drivers/char/mem.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/mem.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/mem.c 2011-03-21 18:31:35.000000000 -0400
@@ -18,6 +18,7 @@
#include <linux/raw.h>
#include <linux/tty.h>
@@ -23700,9 +23714,9 @@ diff -urNp linux-2.6.38.1/drivers/char/mem.c linux-2.6.38.1-new/drivers/char/mem
};
static int memory_open(struct inode *inode, struct file *filp)
-diff -urNp linux-2.6.38.1/drivers/char/nvram.c linux-2.6.38.1-new/drivers/char/nvram.c
+diff -urNp linux-2.6.38.1/drivers/char/nvram.c linux-2.6.38.1/drivers/char/nvram.c
--- linux-2.6.38.1/drivers/char/nvram.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/nvram.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/nvram.c 2011-03-21 18:31:35.000000000 -0400
@@ -246,7 +246,7 @@ static ssize_t nvram_read(struct file *f
spin_unlock_irq(&rtc_lock);
@@ -23724,9 +23738,9 @@ diff -urNp linux-2.6.38.1/drivers/char/nvram.c linux-2.6.38.1-new/drivers/char/n
};
static int __init nvram_init(void)
-diff -urNp linux-2.6.38.1/drivers/char/pcmcia/ipwireless/tty.c linux-2.6.38.1-new/drivers/char/pcmcia/ipwireless/tty.c
+diff -urNp linux-2.6.38.1/drivers/char/pcmcia/ipwireless/tty.c linux-2.6.38.1/drivers/char/pcmcia/ipwireless/tty.c
--- linux-2.6.38.1/drivers/char/pcmcia/ipwireless/tty.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/pcmcia/ipwireless/tty.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/pcmcia/ipwireless/tty.c 2011-03-21 18:31:35.000000000 -0400
@@ -29,6 +29,7 @@
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
@@ -23849,9 +23863,9 @@ diff -urNp linux-2.6.38.1/drivers/char/pcmcia/ipwireless/tty.c linux-2.6.38.1-ne
do_ipw_close(ttyj);
ipwireless_disassociate_network_ttys(network,
ttyj->channel_idx);
-diff -urNp linux-2.6.38.1/drivers/char/random.c linux-2.6.38.1-new/drivers/char/random.c
+diff -urNp linux-2.6.38.1/drivers/char/random.c linux-2.6.38.1/drivers/char/random.c
--- linux-2.6.38.1/drivers/char/random.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/random.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/random.c 2011-03-21 18:31:35.000000000 -0400
@@ -254,8 +254,13 @@
/*
* Configuration information
@@ -23902,9 +23916,9 @@ diff -urNp linux-2.6.38.1/drivers/char/random.c linux-2.6.38.1-new/drivers/char/
static int max_write_thresh = INPUT_POOL_WORDS * 32;
static char sysctl_bootid[16];
-diff -urNp linux-2.6.38.1/drivers/char/sonypi.c linux-2.6.38.1-new/drivers/char/sonypi.c
+diff -urNp linux-2.6.38.1/drivers/char/sonypi.c linux-2.6.38.1/drivers/char/sonypi.c
--- linux-2.6.38.1/drivers/char/sonypi.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/sonypi.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/sonypi.c 2011-03-21 18:31:35.000000000 -0400
@@ -55,6 +55,7 @@
#include <asm/uaccess.h>
#include <asm/io.h>
@@ -23943,9 +23957,9 @@ diff -urNp linux-2.6.38.1/drivers/char/sonypi.c linux-2.6.38.1-new/drivers/char/
mutex_unlock(&sonypi_device.lock);
return 0;
-diff -urNp linux-2.6.38.1/drivers/char/tpm/tpm_bios.c linux-2.6.38.1-new/drivers/char/tpm/tpm_bios.c
+diff -urNp linux-2.6.38.1/drivers/char/tpm/tpm_bios.c linux-2.6.38.1/drivers/char/tpm/tpm_bios.c
--- linux-2.6.38.1/drivers/char/tpm/tpm_bios.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/tpm/tpm_bios.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/tpm/tpm_bios.c 2011-03-21 18:31:35.000000000 -0400
@@ -173,7 +173,7 @@ static void *tpm_bios_measurements_start
event = addr;
@@ -23986,9 +24000,9 @@ diff -urNp linux-2.6.38.1/drivers/char/tpm/tpm_bios.c linux-2.6.38.1-new/drivers
memcpy(log->bios_event_log, virt, len);
-diff -urNp linux-2.6.38.1/drivers/char/tpm/tpm.c linux-2.6.38.1-new/drivers/char/tpm/tpm.c
+diff -urNp linux-2.6.38.1/drivers/char/tpm/tpm.c linux-2.6.38.1/drivers/char/tpm/tpm.c
--- linux-2.6.38.1/drivers/char/tpm/tpm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/char/tpm/tpm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/char/tpm/tpm.c 2011-03-21 18:31:35.000000000 -0400
@@ -411,7 +411,7 @@ static ssize_t tpm_transmit(struct tpm_c
chip->vendor.req_complete_val)
goto out_recv;
@@ -23998,9 +24012,9 @@ diff -urNp linux-2.6.38.1/drivers/char/tpm/tpm.c linux-2.6.38.1-new/drivers/char
dev_err(chip->dev, "Operation Canceled\n");
rc = -ECANCELED;
goto out;
-diff -urNp linux-2.6.38.1/drivers/cpuidle/sysfs.c linux-2.6.38.1-new/drivers/cpuidle/sysfs.c
+diff -urNp linux-2.6.38.1/drivers/cpuidle/sysfs.c linux-2.6.38.1/drivers/cpuidle/sysfs.c
--- linux-2.6.38.1/drivers/cpuidle/sysfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/cpuidle/sysfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/cpuidle/sysfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -300,7 +300,7 @@ static struct kobj_type ktype_state_cpui
.release = cpuidle_state_sysfs_release,
};
@@ -24010,9 +24024,9 @@ diff -urNp linux-2.6.38.1/drivers/cpuidle/sysfs.c linux-2.6.38.1-new/drivers/cpu
{
kobject_put(&device->kobjs[i]->kobj);
wait_for_completion(&device->kobjs[i]->kobj_unregister);
-diff -urNp linux-2.6.38.1/drivers/edac/edac_core.h linux-2.6.38.1-new/drivers/edac/edac_core.h
+diff -urNp linux-2.6.38.1/drivers/edac/edac_core.h linux-2.6.38.1/drivers/edac/edac_core.h
--- linux-2.6.38.1/drivers/edac/edac_core.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/edac/edac_core.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/edac/edac_core.h 2011-03-21 18:31:35.000000000 -0400
@@ -88,11 +88,11 @@ extern int edac_debug_level;
#else /* !CONFIG_EDAC_DEBUG */
@@ -24030,9 +24044,9 @@ diff -urNp linux-2.6.38.1/drivers/edac/edac_core.h linux-2.6.38.1-new/drivers/ed
#endif /* !CONFIG_EDAC_DEBUG */
-diff -urNp linux-2.6.38.1/drivers/edac/edac_mc_sysfs.c linux-2.6.38.1-new/drivers/edac/edac_mc_sysfs.c
+diff -urNp linux-2.6.38.1/drivers/edac/edac_mc_sysfs.c linux-2.6.38.1/drivers/edac/edac_mc_sysfs.c
--- linux-2.6.38.1/drivers/edac/edac_mc_sysfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/edac/edac_mc_sysfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/edac/edac_mc_sysfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -761,7 +761,7 @@ static void edac_inst_grp_release(struct
}
@@ -24042,9 +24056,9 @@ diff -urNp linux-2.6.38.1/drivers/edac/edac_mc_sysfs.c linux-2.6.38.1-new/driver
.show = inst_grp_show,
.store = inst_grp_store
};
-diff -urNp linux-2.6.38.1/drivers/firewire/core-cdev.c linux-2.6.38.1-new/drivers/firewire/core-cdev.c
+diff -urNp linux-2.6.38.1/drivers/firewire/core-cdev.c linux-2.6.38.1/drivers/firewire/core-cdev.c
--- linux-2.6.38.1/drivers/firewire/core-cdev.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/firewire/core-cdev.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/firewire/core-cdev.c 2011-03-21 18:31:35.000000000 -0400
@@ -1329,8 +1329,7 @@ static int init_iso_resource(struct clie
int ret;
@@ -24055,9 +24069,9 @@ diff -urNp linux-2.6.38.1/drivers/firewire/core-cdev.c linux-2.6.38.1-new/driver
return -EINVAL;
r = kmalloc(sizeof(*r), GFP_KERNEL);
-diff -urNp linux-2.6.38.1/drivers/firmware/dmi_scan.c linux-2.6.38.1-new/drivers/firmware/dmi_scan.c
+diff -urNp linux-2.6.38.1/drivers/firmware/dmi_scan.c linux-2.6.38.1/drivers/firmware/dmi_scan.c
--- linux-2.6.38.1/drivers/firmware/dmi_scan.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/firmware/dmi_scan.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/firmware/dmi_scan.c 2011-03-21 18:31:35.000000000 -0400
@@ -449,11 +449,6 @@ void __init dmi_scan_machine(void)
}
}
@@ -24070,9 +24084,9 @@ diff -urNp linux-2.6.38.1/drivers/firmware/dmi_scan.c linux-2.6.38.1-new/drivers
p = dmi_ioremap(0xF0000, 0x10000);
if (p == NULL)
goto error;
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_crtc_helper.c linux-2.6.38.1-new/drivers/gpu/drm/drm_crtc_helper.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_crtc_helper.c linux-2.6.38.1/drivers/gpu/drm/drm_crtc_helper.c
--- linux-2.6.38.1/drivers/gpu/drm/drm_crtc_helper.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/drm_crtc_helper.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/drm_crtc_helper.c 2011-03-21 18:31:35.000000000 -0400
@@ -276,7 +276,7 @@ static bool drm_encoder_crtc_ok(struct d
struct drm_crtc *tmp;
int crtc_mask = 1;
@@ -24082,9 +24096,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_crtc_helper.c linux-2.6.38.1-new/d
dev = crtc->dev;
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_drv.c linux-2.6.38.1-new/drivers/gpu/drm/drm_drv.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_drv.c linux-2.6.38.1/drivers/gpu/drm/drm_drv.c
--- linux-2.6.38.1/drivers/gpu/drm/drm_drv.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/drm_drv.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/drm_drv.c 2011-03-21 18:31:35.000000000 -0400
@@ -425,7 +425,7 @@ long drm_ioctl(struct file *filp,
dev = file_priv->minor->dev;
@@ -24094,9 +24108,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_drv.c linux-2.6.38.1-new/drivers/g
++file_priv->ioctl_count;
DRM_DEBUG("pid=%d, cmd=0x%02x, nr=0x%02x, dev 0x%lx, auth=%d\n",
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_fops.c linux-2.6.38.1-new/drivers/gpu/drm/drm_fops.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_fops.c linux-2.6.38.1/drivers/gpu/drm/drm_fops.c
--- linux-2.6.38.1/drivers/gpu/drm/drm_fops.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/drm_fops.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/drm_fops.c 2011-03-21 18:31:35.000000000 -0400
@@ -70,7 +70,7 @@ static int drm_setup(struct drm_device *
}
@@ -24146,9 +24160,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_fops.c linux-2.6.38.1-new/drivers/
if (atomic_read(&dev->ioctl_count)) {
DRM_ERROR("Device busy: %d\n",
atomic_read(&dev->ioctl_count));
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_global.c linux-2.6.38.1-new/drivers/gpu/drm/drm_global.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_global.c linux-2.6.38.1/drivers/gpu/drm/drm_global.c
--- linux-2.6.38.1/drivers/gpu/drm/drm_global.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/drm_global.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/drm_global.c 2011-03-21 18:31:35.000000000 -0400
@@ -36,7 +36,7 @@
struct drm_global_item {
struct mutex mutex;
@@ -24206,9 +24220,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_global.c linux-2.6.38.1-new/driver
ref->release(ref);
item->object = NULL;
}
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_info.c linux-2.6.38.1-new/drivers/gpu/drm/drm_info.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_info.c linux-2.6.38.1/drivers/gpu/drm/drm_info.c
--- linux-2.6.38.1/drivers/gpu/drm/drm_info.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/drm_info.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/drm_info.c 2011-03-21 18:31:35.000000000 -0400
@@ -86,10 +86,14 @@ int drm_vm_info(struct seq_file *m, void
struct drm_local_map *map;
struct drm_map_list *r_list;
@@ -24249,9 +24263,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_info.c linux-2.6.38.1-new/drivers/
#if defined(__i386__)
pgprot = pgprot_val(vma->vm_page_prot);
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_ioctl.c linux-2.6.38.1-new/drivers/gpu/drm/drm_ioctl.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_ioctl.c linux-2.6.38.1/drivers/gpu/drm/drm_ioctl.c
--- linux-2.6.38.1/drivers/gpu/drm/drm_ioctl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/drm_ioctl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/drm_ioctl.c 2011-03-21 18:31:35.000000000 -0400
@@ -353,7 +353,7 @@ int drm_getstats(struct drm_device *dev,
stats->data[i].value =
(file_priv->master->lock.hw_lock ? file_priv->master->lock.hw_lock->lock : 0);
@@ -24261,9 +24275,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_ioctl.c linux-2.6.38.1-new/drivers
stats->data[i].type = dev->types[i];
}
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_lock.c linux-2.6.38.1-new/drivers/gpu/drm/drm_lock.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_lock.c linux-2.6.38.1/drivers/gpu/drm/drm_lock.c
--- linux-2.6.38.1/drivers/gpu/drm/drm_lock.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/drm_lock.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/drm_lock.c 2011-03-21 18:31:35.000000000 -0400
@@ -89,7 +89,7 @@ int drm_lock(struct drm_device *dev, voi
if (drm_lock_take(&master->lock, lock->context)) {
master->lock.file_priv = file_priv;
@@ -24282,9 +24296,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/drm_lock.c linux-2.6.38.1-new/drivers/
if (drm_lock_free(&master->lock, lock->context)) {
/* FIXME: Should really bail out here. */
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/i810/i810_dma.c linux-2.6.38.1-new/drivers/gpu/drm/i810/i810_dma.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/i810/i810_dma.c linux-2.6.38.1/drivers/gpu/drm/i810/i810_dma.c
--- linux-2.6.38.1/drivers/gpu/drm/i810/i810_dma.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/i810/i810_dma.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/i810/i810_dma.c 2011-03-21 18:31:35.000000000 -0400
@@ -953,8 +953,8 @@ static int i810_dma_vertex(struct drm_de
dma->buflist[vertex->idx],
vertex->discard, vertex->used);
@@ -24307,9 +24321,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/i810/i810_dma.c linux-2.6.38.1-new/dri
sarea_priv->last_enqueue = dev_priv->counter - 1;
sarea_priv->last_dispatch = (int)hw_status[5];
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7017.c linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo_ch7017.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7017.c linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7017.c
--- linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7017.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo_ch7017.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7017.c 2011-03-21 18:31:35.000000000 -0400
@@ -390,7 +390,7 @@ static void ch7017_destroy(struct intel_
}
}
@@ -24319,9 +24333,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7017.c linux-2.6.38.1-new/d
.init = ch7017_init,
.detect = ch7017_detect,
.mode_valid = ch7017_mode_valid,
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7xxx.c linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo_ch7xxx.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7xxx.c linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7xxx.c
--- linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7xxx.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo_ch7xxx.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7xxx.c 2011-03-21 18:31:35.000000000 -0400
@@ -320,7 +320,7 @@ static void ch7xxx_destroy(struct intel_
}
}
@@ -24331,9 +24345,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ch7xxx.c linux-2.6.38.1-new/d
.init = ch7xxx_init,
.detect = ch7xxx_detect,
.mode_valid = ch7xxx_mode_valid,
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo.h linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo.h
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo.h linux-2.6.38.1/drivers/gpu/drm/i915/dvo.h
--- linux-2.6.38.1/drivers/gpu/drm/i915/dvo.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/i915/dvo.h 2011-03-21 18:31:35.000000000 -0400
@@ -122,23 +122,23 @@ struct intel_dvo_dev_ops {
*
* \return singly-linked list of modes or NULL if no modes found.
@@ -24366,9 +24380,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo.h linux-2.6.38.1-new/drivers/
+extern const struct intel_dvo_dev_ops ch7017_ops;
#endif /* _INTEL_DVO_H */
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ivch.c linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo_ivch.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ivch.c linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ivch.c
--- linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ivch.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo_ivch.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ivch.c 2011-03-21 18:31:35.000000000 -0400
@@ -410,7 +410,7 @@ static void ivch_destroy(struct intel_dv
}
}
@@ -24378,9 +24392,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_ivch.c linux-2.6.38.1-new/dri
.init = ivch_init,
.dpms = ivch_dpms,
.mode_valid = ivch_mode_valid,
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_sil164.c linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo_sil164.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_sil164.c linux-2.6.38.1/drivers/gpu/drm/i915/dvo_sil164.c
--- linux-2.6.38.1/drivers/gpu/drm/i915/dvo_sil164.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo_sil164.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/i915/dvo_sil164.c 2011-03-21 18:31:35.000000000 -0400
@@ -252,7 +252,7 @@ static void sil164_destroy(struct intel_
}
}
@@ -24390,9 +24404,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_sil164.c linux-2.6.38.1-new/d
.init = sil164_init,
.detect = sil164_detect,
.mode_valid = sil164_mode_valid,
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_tfp410.c linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo_tfp410.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_tfp410.c linux-2.6.38.1/drivers/gpu/drm/i915/dvo_tfp410.c
--- linux-2.6.38.1/drivers/gpu/drm/i915/dvo_tfp410.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/i915/dvo_tfp410.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/i915/dvo_tfp410.c 2011-03-21 18:31:35.000000000 -0400
@@ -293,7 +293,7 @@ static void tfp410_destroy(struct intel_
}
}
@@ -24402,9 +24416,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/dvo_tfp410.c linux-2.6.38.1-new/d
.init = tfp410_init,
.detect = tfp410_detect,
.mode_valid = tfp410_mode_valid,
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/i915_dma.c linux-2.6.38.1-new/drivers/gpu/drm/i915/i915_dma.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/i915_dma.c linux-2.6.38.1/drivers/gpu/drm/i915/i915_dma.c
--- linux-2.6.38.1/drivers/gpu/drm/i915/i915_dma.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/i915/i915_dma.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/i915/i915_dma.c 2011-03-21 18:31:35.000000000 -0400
@@ -1159,7 +1159,7 @@ static bool i915_switcheroo_can_switch(s
bool can_switch;
@@ -24414,9 +24428,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/i915_dma.c linux-2.6.38.1-new/dri
spin_unlock(&dev->count_lock);
return can_switch;
}
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/i915_drv.c linux-2.6.38.1-new/drivers/gpu/drm/i915/i915_drv.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/i915_drv.c linux-2.6.38.1/drivers/gpu/drm/i915/i915_drv.c
--- linux-2.6.38.1/drivers/gpu/drm/i915/i915_drv.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/i915/i915_drv.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/i915/i915_drv.c 2011-03-21 18:31:35.000000000 -0400
@@ -673,7 +673,7 @@ static const struct dev_pm_ops i915_pm_o
.restore = i915_pm_resume,
};
@@ -24426,9 +24440,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/i915/i915_drv.c linux-2.6.38.1-new/dri
.fault = i915_gem_fault,
.open = drm_gem_vm_open,
.close = drm_gem_vm_close,
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/nouveau/nouveau_state.c linux-2.6.38.1-new/drivers/gpu/drm/nouveau/nouveau_state.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/nouveau/nouveau_state.c linux-2.6.38.1/drivers/gpu/drm/nouveau/nouveau_state.c
--- linux-2.6.38.1/drivers/gpu/drm/nouveau/nouveau_state.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/nouveau/nouveau_state.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/nouveau/nouveau_state.c 2011-03-21 18:31:35.000000000 -0400
@@ -621,7 +621,7 @@ static bool nouveau_switcheroo_can_switc
bool can_switch;
@@ -24438,9 +24452,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/nouveau/nouveau_state.c linux-2.6.38.1
spin_unlock(&dev->count_lock);
return can_switch;
}
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/mkregtable.c linux-2.6.38.1-new/drivers/gpu/drm/radeon/mkregtable.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/mkregtable.c linux-2.6.38.1/drivers/gpu/drm/radeon/mkregtable.c
--- linux-2.6.38.1/drivers/gpu/drm/radeon/mkregtable.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/radeon/mkregtable.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/radeon/mkregtable.c 2011-03-21 18:31:35.000000000 -0400
@@ -637,14 +637,14 @@ static int parser_auth(struct table *t,
regex_t mask_rex;
regmatch_t match[4];
@@ -24458,9 +24472,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/mkregtable.c linux-2.6.38.1-new
if (regcomp
(&mask_rex, "(0x[0-9a-fA-F]*) *([_a-zA-Z0-9]*)", REG_EXTENDED)) {
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_device.c linux-2.6.38.1-new/drivers/gpu/drm/radeon/radeon_device.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_device.c linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_device.c
--- linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_device.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/radeon/radeon_device.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_device.c 2011-03-21 18:31:35.000000000 -0400
@@ -673,7 +673,7 @@ static bool radeon_switcheroo_can_switch
bool can_switch;
@@ -24470,9 +24484,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_device.c linux-2.6.38.1-
spin_unlock(&dev->count_lock);
return can_switch;
}
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_state.c linux-2.6.38.1-new/drivers/gpu/drm/radeon/radeon_state.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_state.c linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_state.c
--- linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_state.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/radeon/radeon_state.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_state.c 2011-03-21 18:31:35.000000000 -0400
@@ -2168,7 +2168,7 @@ static int radeon_cp_clear(struct drm_de
if (sarea_priv->nbox > RADEON_NR_SAREA_CLIPRECTS)
sarea_priv->nbox = RADEON_NR_SAREA_CLIPRECTS;
@@ -24491,9 +24505,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_state.c linux-2.6.38.1-n
DRM_DEBUG("pid=%d\n", DRM_CURRENTPID);
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_ttm.c linux-2.6.38.1-new/drivers/gpu/drm/radeon/radeon_ttm.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_ttm.c linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_ttm.c
--- linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_ttm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/radeon/radeon_ttm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_ttm.c 2011-03-21 18:31:35.000000000 -0400
@@ -603,8 +603,9 @@ void radeon_ttm_set_active_vram_size(str
man->size = size >> PAGE_SHIFT;
}
@@ -24554,9 +24568,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/radeon/radeon_ttm.c linux-2.6.38.1-new
vma->vm_ops = &radeon_ttm_vm_ops;
return 0;
}
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo.c linux-2.6.38.1-new/drivers/gpu/drm/ttm/ttm_bo.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo.c linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo.c
--- linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/ttm/ttm_bo.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo.c 2011-03-21 18:31:35.000000000 -0400
@@ -40,7 +40,7 @@
#include <asm/atomic.h>
@@ -24566,9 +24580,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo.c linux-2.6.38.1-new/driver
#define TTM_BO_HASH_ORDER 13
static int ttm_bo_setup_vm(struct ttm_buffer_object *bo);
-diff -urNp linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo_vm.c linux-2.6.38.1-new/drivers/gpu/drm/ttm/ttm_bo_vm.c
+diff -urNp linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo_vm.c linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo_vm.c
--- linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo_vm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/gpu/drm/ttm/ttm_bo_vm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo_vm.c 2011-03-21 18:31:35.000000000 -0400
@@ -69,11 +69,11 @@ static struct ttm_buffer_object *ttm_bo_
return best_bo;
}
@@ -24626,9 +24640,9 @@ diff -urNp linux-2.6.38.1/drivers/gpu/drm/ttm/ttm_bo_vm.c linux-2.6.38.1-new/dri
static const struct vm_operations_struct ttm_bo_vm_ops = {
.fault = ttm_bo_vm_fault,
-diff -urNp linux-2.6.38.1/drivers/hid/usbhid/hiddev.c linux-2.6.38.1-new/drivers/hid/usbhid/hiddev.c
+diff -urNp linux-2.6.38.1/drivers/hid/usbhid/hiddev.c linux-2.6.38.1/drivers/hid/usbhid/hiddev.c
--- linux-2.6.38.1/drivers/hid/usbhid/hiddev.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/hid/usbhid/hiddev.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/hid/usbhid/hiddev.c 2011-03-21 18:31:35.000000000 -0400
@@ -613,7 +613,7 @@ static long hiddev_ioctl(struct file *fi
break;
@@ -24638,9 +24652,9 @@ diff -urNp linux-2.6.38.1/drivers/hid/usbhid/hiddev.c linux-2.6.38.1-new/drivers
break;
for (i = 0; i < hid->maxcollection; i++)
-diff -urNp linux-2.6.38.1/drivers/hwmon/k8temp.c linux-2.6.38.1-new/drivers/hwmon/k8temp.c
+diff -urNp linux-2.6.38.1/drivers/hwmon/k8temp.c linux-2.6.38.1/drivers/hwmon/k8temp.c
--- linux-2.6.38.1/drivers/hwmon/k8temp.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/hwmon/k8temp.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/hwmon/k8temp.c 2011-03-21 18:31:35.000000000 -0400
@@ -138,7 +138,7 @@ static DEVICE_ATTR(name, S_IRUGO, show_n
static const struct pci_device_id k8temp_ids[] = {
@@ -24650,9 +24664,9 @@ diff -urNp linux-2.6.38.1/drivers/hwmon/k8temp.c linux-2.6.38.1-new/drivers/hwmo
};
MODULE_DEVICE_TABLE(pci, k8temp_ids);
-diff -urNp linux-2.6.38.1/drivers/hwmon/sis5595.c linux-2.6.38.1-new/drivers/hwmon/sis5595.c
+diff -urNp linux-2.6.38.1/drivers/hwmon/sis5595.c linux-2.6.38.1/drivers/hwmon/sis5595.c
--- linux-2.6.38.1/drivers/hwmon/sis5595.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/hwmon/sis5595.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/hwmon/sis5595.c 2011-03-21 18:31:35.000000000 -0400
@@ -701,7 +701,7 @@ static struct sis5595_data *sis5595_upda
static const struct pci_device_id sis5595_pci_ids[] = {
@@ -24662,9 +24676,9 @@ diff -urNp linux-2.6.38.1/drivers/hwmon/sis5595.c linux-2.6.38.1-new/drivers/hwm
};
MODULE_DEVICE_TABLE(pci, sis5595_pci_ids);
-diff -urNp linux-2.6.38.1/drivers/hwmon/via686a.c linux-2.6.38.1-new/drivers/hwmon/via686a.c
+diff -urNp linux-2.6.38.1/drivers/hwmon/via686a.c linux-2.6.38.1/drivers/hwmon/via686a.c
--- linux-2.6.38.1/drivers/hwmon/via686a.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/hwmon/via686a.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/hwmon/via686a.c 2011-03-21 18:31:35.000000000 -0400
@@ -779,7 +779,7 @@ static struct via686a_data *via686a_upda
static const struct pci_device_id via686a_pci_ids[] = {
@@ -24674,9 +24688,9 @@ diff -urNp linux-2.6.38.1/drivers/hwmon/via686a.c linux-2.6.38.1-new/drivers/hwm
};
MODULE_DEVICE_TABLE(pci, via686a_pci_ids);
-diff -urNp linux-2.6.38.1/drivers/hwmon/vt8231.c linux-2.6.38.1-new/drivers/hwmon/vt8231.c
+diff -urNp linux-2.6.38.1/drivers/hwmon/vt8231.c linux-2.6.38.1/drivers/hwmon/vt8231.c
--- linux-2.6.38.1/drivers/hwmon/vt8231.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/hwmon/vt8231.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/hwmon/vt8231.c 2011-03-21 18:31:35.000000000 -0400
@@ -701,7 +701,7 @@ static struct platform_driver vt8231_dri
static const struct pci_device_id vt8231_pci_ids[] = {
@@ -24686,9 +24700,9 @@ diff -urNp linux-2.6.38.1/drivers/hwmon/vt8231.c linux-2.6.38.1-new/drivers/hwmo
};
MODULE_DEVICE_TABLE(pci, vt8231_pci_ids);
-diff -urNp linux-2.6.38.1/drivers/hwmon/w83791d.c linux-2.6.38.1-new/drivers/hwmon/w83791d.c
+diff -urNp linux-2.6.38.1/drivers/hwmon/w83791d.c linux-2.6.38.1/drivers/hwmon/w83791d.c
--- linux-2.6.38.1/drivers/hwmon/w83791d.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/hwmon/w83791d.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/hwmon/w83791d.c 2011-03-21 18:31:35.000000000 -0400
@@ -329,8 +329,8 @@ static int w83791d_detect(struct i2c_cli
struct i2c_board_info *info);
static int w83791d_remove(struct i2c_client *client);
@@ -24700,9 +24714,9 @@ diff -urNp linux-2.6.38.1/drivers/hwmon/w83791d.c linux-2.6.38.1-new/drivers/hwm
static struct w83791d_data *w83791d_update_device(struct device *dev);
#ifdef DEBUG
-diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-i801.c linux-2.6.38.1-new/drivers/i2c/busses/i2c-i801.c
+diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-i801.c linux-2.6.38.1/drivers/i2c/busses/i2c-i801.c
--- linux-2.6.38.1/drivers/i2c/busses/i2c-i801.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/i2c/busses/i2c-i801.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/i2c/busses/i2c-i801.c 2011-03-21 18:31:35.000000000 -0400
@@ -621,7 +621,7 @@ static const struct pci_device_id i801_i
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF0) },
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF1) },
@@ -24712,9 +24726,9 @@ diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-i801.c linux-2.6.38.1-new/drive
};
MODULE_DEVICE_TABLE(pci, i801_ids);
-diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-piix4.c linux-2.6.38.1-new/drivers/i2c/busses/i2c-piix4.c
+diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-piix4.c linux-2.6.38.1/drivers/i2c/busses/i2c-piix4.c
--- linux-2.6.38.1/drivers/i2c/busses/i2c-piix4.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/i2c/busses/i2c-piix4.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/i2c/busses/i2c-piix4.c 2011-03-21 18:31:35.000000000 -0400
@@ -124,7 +124,7 @@ static struct dmi_system_id __devinitdat
.ident = "IBM",
.matches = { DMI_MATCH(DMI_SYS_VENDOR, "IBM"), },
@@ -24733,9 +24747,9 @@ diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-piix4.c linux-2.6.38.1-new/driv
};
MODULE_DEVICE_TABLE (pci, piix4_ids);
-diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-sis630.c linux-2.6.38.1-new/drivers/i2c/busses/i2c-sis630.c
+diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-sis630.c linux-2.6.38.1/drivers/i2c/busses/i2c-sis630.c
--- linux-2.6.38.1/drivers/i2c/busses/i2c-sis630.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/i2c/busses/i2c-sis630.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/i2c/busses/i2c-sis630.c 2011-03-21 18:31:35.000000000 -0400
@@ -471,7 +471,7 @@ static struct i2c_adapter sis630_adapter
static const struct pci_device_id sis630_ids[] __devinitconst = {
{ PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) },
@@ -24745,9 +24759,9 @@ diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-sis630.c linux-2.6.38.1-new/dri
};
MODULE_DEVICE_TABLE (pci, sis630_ids);
-diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-sis96x.c linux-2.6.38.1-new/drivers/i2c/busses/i2c-sis96x.c
+diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-sis96x.c linux-2.6.38.1/drivers/i2c/busses/i2c-sis96x.c
--- linux-2.6.38.1/drivers/i2c/busses/i2c-sis96x.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/i2c/busses/i2c-sis96x.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/i2c/busses/i2c-sis96x.c 2011-03-21 18:31:35.000000000 -0400
@@ -247,7 +247,7 @@ static struct i2c_adapter sis96x_adapter
static const struct pci_device_id sis96x_ids[] = {
@@ -24757,9 +24771,9 @@ diff -urNp linux-2.6.38.1/drivers/i2c/busses/i2c-sis96x.c linux-2.6.38.1-new/dri
};
MODULE_DEVICE_TABLE (pci, sis96x_ids);
-diff -urNp linux-2.6.38.1/drivers/ide/ide-cd.c linux-2.6.38.1-new/drivers/ide/ide-cd.c
+diff -urNp linux-2.6.38.1/drivers/ide/ide-cd.c linux-2.6.38.1/drivers/ide/ide-cd.c
--- linux-2.6.38.1/drivers/ide/ide-cd.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/ide/ide-cd.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/ide/ide-cd.c 2011-03-21 18:31:35.000000000 -0400
@@ -776,7 +776,7 @@ static void cdrom_do_block_pc(ide_drive_
alignment = queue_dma_alignment(q) | q->dma_pad_mask;
if ((unsigned long)buf & alignment
@@ -24769,9 +24783,9 @@ diff -urNp linux-2.6.38.1/drivers/ide/ide-cd.c linux-2.6.38.1-new/drivers/ide/id
drive->dma = 0;
}
}
-diff -urNp linux-2.6.38.1/drivers/infiniband/core/cm.c linux-2.6.38.1-new/drivers/infiniband/core/cm.c
+diff -urNp linux-2.6.38.1/drivers/infiniband/core/cm.c linux-2.6.38.1/drivers/infiniband/core/cm.c
--- linux-2.6.38.1/drivers/infiniband/core/cm.c 2011-03-23 17:20:07.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/infiniband/core/cm.c 2011-03-23 17:21:50.000000000 -0400
++++ linux-2.6.38.1/drivers/infiniband/core/cm.c 2011-03-23 17:21:50.000000000 -0400
@@ -113,7 +113,7 @@ static char const counter_group_names[CM
struct cm_counter_group {
@@ -24911,9 +24925,9 @@ diff -urNp linux-2.6.38.1/drivers/infiniband/core/cm.c linux-2.6.38.1-new/driver
}
static const struct sysfs_ops cm_counter_ops = {
-diff -urNp linux-2.6.38.1/drivers/infiniband/hw/qib/qib.h linux-2.6.38.1-new/drivers/infiniband/hw/qib/qib.h
+diff -urNp linux-2.6.38.1/drivers/infiniband/hw/qib/qib.h linux-2.6.38.1/drivers/infiniband/hw/qib/qib.h
--- linux-2.6.38.1/drivers/infiniband/hw/qib/qib.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/infiniband/hw/qib/qib.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/infiniband/hw/qib/qib.h 2011-03-21 18:31:35.000000000 -0400
@@ -51,6 +51,7 @@
#include <linux/completion.h>
#include <linux/kref.h>
@@ -24922,9 +24936,9 @@ diff -urNp linux-2.6.38.1/drivers/infiniband/hw/qib/qib.h linux-2.6.38.1-new/dri
#include "qib_common.h"
#include "qib_verbs.h"
-diff -urNp linux-2.6.38.1/drivers/input/keyboard/atkbd.c linux-2.6.38.1-new/drivers/input/keyboard/atkbd.c
+diff -urNp linux-2.6.38.1/drivers/input/keyboard/atkbd.c linux-2.6.38.1/drivers/input/keyboard/atkbd.c
--- linux-2.6.38.1/drivers/input/keyboard/atkbd.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/input/keyboard/atkbd.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/input/keyboard/atkbd.c 2011-03-21 18:31:35.000000000 -0400
@@ -1250,7 +1250,7 @@ static struct serio_device_id atkbd_seri
.id = SERIO_ANY,
.extra = SERIO_ANY,
@@ -24934,9 +24948,9 @@ diff -urNp linux-2.6.38.1/drivers/input/keyboard/atkbd.c linux-2.6.38.1-new/driv
};
MODULE_DEVICE_TABLE(serio, atkbd_serio_ids);
-diff -urNp linux-2.6.38.1/drivers/input/mouse/lifebook.c linux-2.6.38.1-new/drivers/input/mouse/lifebook.c
+diff -urNp linux-2.6.38.1/drivers/input/mouse/lifebook.c linux-2.6.38.1/drivers/input/mouse/lifebook.c
--- linux-2.6.38.1/drivers/input/mouse/lifebook.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/input/mouse/lifebook.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/input/mouse/lifebook.c 2011-03-21 18:31:35.000000000 -0400
@@ -123,7 +123,7 @@ static const struct dmi_system_id __init
DMI_MATCH(DMI_PRODUCT_NAME, "LifeBook B142"),
},
@@ -24946,9 +24960,9 @@ diff -urNp linux-2.6.38.1/drivers/input/mouse/lifebook.c linux-2.6.38.1-new/driv
};
void __init lifebook_module_init(void)
-diff -urNp linux-2.6.38.1/drivers/input/mouse/psmouse-base.c linux-2.6.38.1-new/drivers/input/mouse/psmouse-base.c
+diff -urNp linux-2.6.38.1/drivers/input/mouse/psmouse-base.c linux-2.6.38.1/drivers/input/mouse/psmouse-base.c
--- linux-2.6.38.1/drivers/input/mouse/psmouse-base.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/input/mouse/psmouse-base.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/input/mouse/psmouse-base.c 2011-03-21 18:31:35.000000000 -0400
@@ -1462,7 +1462,7 @@ static struct serio_device_id psmouse_se
.id = SERIO_ANY,
.extra = SERIO_ANY,
@@ -24958,9 +24972,9 @@ diff -urNp linux-2.6.38.1/drivers/input/mouse/psmouse-base.c linux-2.6.38.1-new/
};
MODULE_DEVICE_TABLE(serio, psmouse_serio_ids);
-diff -urNp linux-2.6.38.1/drivers/input/mouse/synaptics.c linux-2.6.38.1-new/drivers/input/mouse/synaptics.c
+diff -urNp linux-2.6.38.1/drivers/input/mouse/synaptics.c linux-2.6.38.1/drivers/input/mouse/synaptics.c
--- linux-2.6.38.1/drivers/input/mouse/synaptics.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/input/mouse/synaptics.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/input/mouse/synaptics.c 2011-03-21 18:31:35.000000000 -0400
@@ -559,7 +559,7 @@ static void synaptics_process_packet(str
break;
case 2:
@@ -24989,9 +25003,9 @@ diff -urNp linux-2.6.38.1/drivers/input/mouse/synaptics.c linux-2.6.38.1-new/dri
#endif
};
-diff -urNp linux-2.6.38.1/drivers/input/mousedev.c linux-2.6.38.1-new/drivers/input/mousedev.c
+diff -urNp linux-2.6.38.1/drivers/input/mousedev.c linux-2.6.38.1/drivers/input/mousedev.c
--- linux-2.6.38.1/drivers/input/mousedev.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/input/mousedev.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/input/mousedev.c 2011-03-21 18:31:35.000000000 -0400
@@ -764,7 +764,7 @@ static ssize_t mousedev_read(struct file
spin_unlock_irq(&client->packet_lock);
@@ -25010,9 +25024,9 @@ diff -urNp linux-2.6.38.1/drivers/input/mousedev.c linux-2.6.38.1-new/drivers/in
};
static int psaux_registered;
#endif
-diff -urNp linux-2.6.38.1/drivers/input/serio/i8042-x86ia64io.h linux-2.6.38.1-new/drivers/input/serio/i8042-x86ia64io.h
+diff -urNp linux-2.6.38.1/drivers/input/serio/i8042-x86ia64io.h linux-2.6.38.1/drivers/input/serio/i8042-x86ia64io.h
--- linux-2.6.38.1/drivers/input/serio/i8042-x86ia64io.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/input/serio/i8042-x86ia64io.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/input/serio/i8042-x86ia64io.h 2011-03-21 18:31:35.000000000 -0400
@@ -183,7 +183,7 @@ static const struct dmi_system_id __init
DMI_MATCH(DMI_PRODUCT_VERSION, "Rev 1"),
},
@@ -25067,9 +25081,9 @@ diff -urNp linux-2.6.38.1/drivers/input/serio/i8042-x86ia64io.h linux-2.6.38.1-n
};
#endif /* CONFIG_X86 */
-diff -urNp linux-2.6.38.1/drivers/input/serio/serio_raw.c linux-2.6.38.1-new/drivers/input/serio/serio_raw.c
+diff -urNp linux-2.6.38.1/drivers/input/serio/serio_raw.c linux-2.6.38.1/drivers/input/serio/serio_raw.c
--- linux-2.6.38.1/drivers/input/serio/serio_raw.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/input/serio/serio_raw.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/input/serio/serio_raw.c 2011-03-21 18:31:35.000000000 -0400
@@ -376,7 +376,7 @@ static struct serio_device_id serio_raw_
.id = SERIO_ANY,
.extra = SERIO_ANY,
@@ -25079,9 +25093,9 @@ diff -urNp linux-2.6.38.1/drivers/input/serio/serio_raw.c linux-2.6.38.1-new/dri
};
MODULE_DEVICE_TABLE(serio, serio_raw_serio_ids);
-diff -urNp linux-2.6.38.1/drivers/isdn/gigaset/common.c linux-2.6.38.1-new/drivers/isdn/gigaset/common.c
+diff -urNp linux-2.6.38.1/drivers/isdn/gigaset/common.c linux-2.6.38.1/drivers/isdn/gigaset/common.c
--- linux-2.6.38.1/drivers/isdn/gigaset/common.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/isdn/gigaset/common.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/isdn/gigaset/common.c 2011-03-21 18:31:35.000000000 -0400
@@ -723,7 +723,7 @@ struct cardstate *gigaset_initcs(struct
cs->commands_pending = 0;
cs->cur_at_seq = 0;
@@ -25091,9 +25105,9 @@ diff -urNp linux-2.6.38.1/drivers/isdn/gigaset/common.c linux-2.6.38.1-new/drive
cs->dev = NULL;
cs->tty = NULL;
cs->tty_dev = NULL;
-diff -urNp linux-2.6.38.1/drivers/isdn/gigaset/gigaset.h linux-2.6.38.1-new/drivers/isdn/gigaset/gigaset.h
+diff -urNp linux-2.6.38.1/drivers/isdn/gigaset/gigaset.h linux-2.6.38.1/drivers/isdn/gigaset/gigaset.h
--- linux-2.6.38.1/drivers/isdn/gigaset/gigaset.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/isdn/gigaset/gigaset.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/isdn/gigaset/gigaset.h 2011-03-21 18:31:35.000000000 -0400
@@ -35,6 +35,7 @@
#include <linux/tty_driver.h>
#include <linux/list.h>
@@ -25111,9 +25125,9 @@ diff -urNp linux-2.6.38.1/drivers/isdn/gigaset/gigaset.h linux-2.6.38.1-new/driv
struct tty_struct *tty;
struct tasklet_struct if_wake_tasklet;
unsigned control_state;
-diff -urNp linux-2.6.38.1/drivers/isdn/gigaset/interface.c linux-2.6.38.1-new/drivers/isdn/gigaset/interface.c
+diff -urNp linux-2.6.38.1/drivers/isdn/gigaset/interface.c linux-2.6.38.1/drivers/isdn/gigaset/interface.c
--- linux-2.6.38.1/drivers/isdn/gigaset/interface.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/isdn/gigaset/interface.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/isdn/gigaset/interface.c 2011-03-21 18:31:35.000000000 -0400
@@ -160,9 +160,7 @@ static int if_open(struct tty_struct *tt
return -ERESTARTSYS;
tty->driver_data = cs;
@@ -25201,9 +25215,9 @@ diff -urNp linux-2.6.38.1/drivers/isdn/gigaset/interface.c linux-2.6.38.1-new/dr
dev_warn(cs->dev, "%s: device not opened\n", __func__);
goto out;
}
-diff -urNp linux-2.6.38.1/drivers/isdn/hardware/avm/b1.c linux-2.6.38.1-new/drivers/isdn/hardware/avm/b1.c
+diff -urNp linux-2.6.38.1/drivers/isdn/hardware/avm/b1.c linux-2.6.38.1/drivers/isdn/hardware/avm/b1.c
--- linux-2.6.38.1/drivers/isdn/hardware/avm/b1.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/isdn/hardware/avm/b1.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/isdn/hardware/avm/b1.c 2011-03-21 18:31:35.000000000 -0400
@@ -176,7 +176,7 @@ int b1_load_t4file(avmcard *card, capilo
}
if (left) {
@@ -25222,9 +25236,9 @@ diff -urNp linux-2.6.38.1/drivers/isdn/hardware/avm/b1.c linux-2.6.38.1-new/driv
return -EFAULT;
} else {
memcpy(buf, dp, left);
-diff -urNp linux-2.6.38.1/drivers/isdn/icn/icn.c linux-2.6.38.1-new/drivers/isdn/icn/icn.c
+diff -urNp linux-2.6.38.1/drivers/isdn/icn/icn.c linux-2.6.38.1/drivers/isdn/icn/icn.c
--- linux-2.6.38.1/drivers/isdn/icn/icn.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/isdn/icn/icn.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/isdn/icn/icn.c 2011-03-21 18:31:35.000000000 -0400
@@ -1045,7 +1045,7 @@ icn_writecmd(const u_char * buf, int len
if (count > len)
count = len;
@@ -25234,9 +25248,9 @@ diff -urNp linux-2.6.38.1/drivers/isdn/icn/icn.c linux-2.6.38.1-new/drivers/isdn
return -EFAULT;
} else
memcpy(msg, buf, count);
-diff -urNp linux-2.6.38.1/drivers/leds/leds-lp5521.c linux-2.6.38.1-new/drivers/leds/leds-lp5521.c
+diff -urNp linux-2.6.38.1/drivers/leds/leds-lp5521.c linux-2.6.38.1/drivers/leds/leds-lp5521.c
--- linux-2.6.38.1/drivers/leds/leds-lp5521.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/leds/leds-lp5521.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/leds/leds-lp5521.c 2011-03-21 18:31:35.000000000 -0400
@@ -534,7 +534,7 @@ static ssize_t lp5521_selftest(struct de
}
@@ -25268,9 +25282,9 @@ diff -urNp linux-2.6.38.1/drivers/leds/leds-lp5521.c linux-2.6.38.1-new/drivers/
static DEVICE_ATTR(selftest, S_IRUGO, lp5521_selftest, NULL);
static struct attribute *lp5521_attributes[] = {
-diff -urNp linux-2.6.38.1/drivers/leds/leds-lp5523.c linux-2.6.38.1-new/drivers/leds/leds-lp5523.c
+diff -urNp linux-2.6.38.1/drivers/leds/leds-lp5523.c linux-2.6.38.1/drivers/leds/leds-lp5523.c
--- linux-2.6.38.1/drivers/leds/leds-lp5523.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/leds/leds-lp5523.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/leds/leds-lp5523.c 2011-03-21 18:31:35.000000000 -0400
@@ -713,7 +713,7 @@ static ssize_t store_current(struct devi
}
@@ -25311,9 +25325,9 @@ diff -urNp linux-2.6.38.1/drivers/leds/leds-lp5523.c linux-2.6.38.1-new/drivers/
static DEVICE_ATTR(selftest, S_IRUGO, lp5523_selftest, NULL);
static struct attribute *lp5523_attributes[] = {
-diff -urNp linux-2.6.38.1/drivers/lguest/core.c linux-2.6.38.1-new/drivers/lguest/core.c
+diff -urNp linux-2.6.38.1/drivers/lguest/core.c linux-2.6.38.1/drivers/lguest/core.c
--- linux-2.6.38.1/drivers/lguest/core.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/lguest/core.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/lguest/core.c 2011-03-21 18:31:35.000000000 -0400
@@ -92,9 +92,17 @@ static __init int map_switcher(void)
* it's worked so far. The end address needs +1 because __get_vm_area
* allocates an extra guard page, so we need space for that.
@@ -25341,9 +25355,9 @@ diff -urNp linux-2.6.38.1/drivers/lguest/core.c linux-2.6.38.1-new/drivers/lgues
end_switcher_text - start_switcher_text);
printk(KERN_INFO "lguest: mapped switcher at %p\n",
-diff -urNp linux-2.6.38.1/drivers/lguest/x86/core.c linux-2.6.38.1-new/drivers/lguest/x86/core.c
+diff -urNp linux-2.6.38.1/drivers/lguest/x86/core.c linux-2.6.38.1/drivers/lguest/x86/core.c
--- linux-2.6.38.1/drivers/lguest/x86/core.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/lguest/x86/core.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/lguest/x86/core.c 2011-03-21 18:31:35.000000000 -0400
@@ -59,7 +59,7 @@ static struct {
/* Offset from where switcher.S was compiled to where we've copied it */
static unsigned long switcher_offset(void)
@@ -25385,9 +25399,9 @@ diff -urNp linux-2.6.38.1/drivers/lguest/x86/core.c linux-2.6.38.1-new/drivers/l
lguest_entry.segment = LGUEST_CS;
/*
-diff -urNp linux-2.6.38.1/drivers/lguest/x86/switcher_32.S linux-2.6.38.1-new/drivers/lguest/x86/switcher_32.S
+diff -urNp linux-2.6.38.1/drivers/lguest/x86/switcher_32.S linux-2.6.38.1/drivers/lguest/x86/switcher_32.S
--- linux-2.6.38.1/drivers/lguest/x86/switcher_32.S 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/lguest/x86/switcher_32.S 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/lguest/x86/switcher_32.S 2011-03-21 18:31:35.000000000 -0400
@@ -87,6 +87,7 @@
#include <asm/page.h>
#include <asm/segment.h>
@@ -25446,9 +25460,9 @@ diff -urNp linux-2.6.38.1/drivers/lguest/x86/switcher_32.S linux-2.6.38.1-new/dr
// Every interrupt can come to us here
// But we must truly tell each apart.
-diff -urNp linux-2.6.38.1/drivers/md/bitmap.c linux-2.6.38.1-new/drivers/md/bitmap.c
+diff -urNp linux-2.6.38.1/drivers/md/bitmap.c linux-2.6.38.1/drivers/md/bitmap.c
--- linux-2.6.38.1/drivers/md/bitmap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/md/bitmap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/md/bitmap.c 2011-03-21 18:31:35.000000000 -0400
@@ -55,7 +55,7 @@
# if DEBUG > 0
# define PRINTK(x...) printk(KERN_DEBUG x)
@@ -25458,9 +25472,9 @@ diff -urNp linux-2.6.38.1/drivers/md/bitmap.c linux-2.6.38.1-new/drivers/md/bitm
# endif
#endif
-diff -urNp linux-2.6.38.1/drivers/md/dm-ioctl.c linux-2.6.38.1-new/drivers/md/dm-ioctl.c
+diff -urNp linux-2.6.38.1/drivers/md/dm-ioctl.c linux-2.6.38.1/drivers/md/dm-ioctl.c
--- linux-2.6.38.1/drivers/md/dm-ioctl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/md/dm-ioctl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/md/dm-ioctl.c 2011-03-21 18:31:35.000000000 -0400
@@ -1541,7 +1541,7 @@ static int validate_params(uint cmd, str
cmd == DM_LIST_VERSIONS_CMD)
return 0;
@@ -25470,9 +25484,9 @@ diff -urNp linux-2.6.38.1/drivers/md/dm-ioctl.c linux-2.6.38.1-new/drivers/md/dm
if (!*param->name) {
DMWARN("name not supplied when creating device");
return -EINVAL;
-diff -urNp linux-2.6.38.1/drivers/md/dm-table.c linux-2.6.38.1-new/drivers/md/dm-table.c
+diff -urNp linux-2.6.38.1/drivers/md/dm-table.c linux-2.6.38.1/drivers/md/dm-table.c
--- linux-2.6.38.1/drivers/md/dm-table.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/md/dm-table.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/md/dm-table.c 2011-03-21 18:31:35.000000000 -0400
@@ -372,7 +372,7 @@ static int device_area_is_invalid(struct
if (!dev_size)
return 0;
@@ -25482,9 +25496,9 @@ diff -urNp linux-2.6.38.1/drivers/md/dm-table.c linux-2.6.38.1-new/drivers/md/dm
DMWARN("%s: %s too small for target: "
"start=%llu, len=%llu, dev_size=%llu",
dm_device_name(ti->table->md), bdevname(bdev, b),
-diff -urNp linux-2.6.38.1/drivers/md/md.c linux-2.6.38.1-new/drivers/md/md.c
+diff -urNp linux-2.6.38.1/drivers/md/md.c linux-2.6.38.1/drivers/md/md.c
--- linux-2.6.38.1/drivers/md/md.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/md/md.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/md/md.c 2011-03-21 18:31:35.000000000 -0400
@@ -1889,7 +1889,7 @@ static int bind_rdev_to_array(mdk_rdev_t
ko = &part_to_dev(rdev->bdev->bd_part)->kobj;
@@ -25539,9 +25553,9 @@ diff -urNp linux-2.6.38.1/drivers/md/md.c linux-2.6.38.1-new/drivers/md/md.c
spares++;
md_new_event(mddev);
set_bit(MD_CHANGE_DEVS, &mddev->flags);
-diff -urNp linux-2.6.38.1/drivers/md/md.h linux-2.6.38.1-new/drivers/md/md.h
+diff -urNp linux-2.6.38.1/drivers/md/md.h linux-2.6.38.1/drivers/md/md.h
--- linux-2.6.38.1/drivers/md/md.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/md/md.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/md/md.h 2011-03-21 18:31:35.000000000 -0400
@@ -360,7 +360,7 @@ static inline void rdev_dec_pending(mdk_
static inline void md_sync_acct(struct block_device *bdev, unsigned long nr_sectors)
@@ -25551,9 +25565,9 @@ diff -urNp linux-2.6.38.1/drivers/md/md.h linux-2.6.38.1-new/drivers/md/md.h
}
struct mdk_personality
-diff -urNp linux-2.6.38.1/drivers/media/dvb/dvb-core/dvbdev.c linux-2.6.38.1-new/drivers/media/dvb/dvb-core/dvbdev.c
+diff -urNp linux-2.6.38.1/drivers/media/dvb/dvb-core/dvbdev.c linux-2.6.38.1/drivers/media/dvb/dvb-core/dvbdev.c
--- linux-2.6.38.1/drivers/media/dvb/dvb-core/dvbdev.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/media/dvb/dvb-core/dvbdev.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/media/dvb/dvb-core/dvbdev.c 2011-03-21 18:31:35.000000000 -0400
@@ -192,7 +192,7 @@ int dvb_register_device(struct dvb_adapt
const struct dvb_device *template, void *priv, int type)
{
@@ -25563,9 +25577,9 @@ diff -urNp linux-2.6.38.1/drivers/media/dvb/dvb-core/dvbdev.c linux-2.6.38.1-new
struct device *clsdev;
int minor;
int id;
-diff -urNp linux-2.6.38.1/drivers/media/radio/radio-cadet.c linux-2.6.38.1-new/drivers/media/radio/radio-cadet.c
+diff -urNp linux-2.6.38.1/drivers/media/radio/radio-cadet.c linux-2.6.38.1/drivers/media/radio/radio-cadet.c
--- linux-2.6.38.1/drivers/media/radio/radio-cadet.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/media/radio/radio-cadet.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/media/radio/radio-cadet.c 2011-03-21 18:31:35.000000000 -0400
@@ -349,7 +349,7 @@ static ssize_t cadet_read(struct file *f
readbuf[i++] = dev->rdsbuf[dev->rdsout++];
mutex_unlock(&dev->lock);
@@ -25575,9 +25589,9 @@ diff -urNp linux-2.6.38.1/drivers/media/radio/radio-cadet.c linux-2.6.38.1-new/d
return -EFAULT;
return i;
}
-diff -urNp linux-2.6.38.1/drivers/media/rc/ir-lirc-codec.c linux-2.6.38.1-new/drivers/media/rc/ir-lirc-codec.c
+diff -urNp linux-2.6.38.1/drivers/media/rc/ir-lirc-codec.c linux-2.6.38.1/drivers/media/rc/ir-lirc-codec.c
--- linux-2.6.38.1/drivers/media/rc/ir-lirc-codec.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/media/rc/ir-lirc-codec.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/media/rc/ir-lirc-codec.c 2011-03-21 18:31:35.000000000 -0400
@@ -277,7 +277,7 @@ static void ir_lirc_close(void *data)
return;
}
@@ -25587,9 +25601,9 @@ diff -urNp linux-2.6.38.1/drivers/media/rc/ir-lirc-codec.c linux-2.6.38.1-new/dr
.owner = THIS_MODULE,
.write = ir_lirc_transmit_ir,
.unlocked_ioctl = ir_lirc_ioctl,
-diff -urNp linux-2.6.38.1/drivers/media/rc/lirc_dev.c linux-2.6.38.1-new/drivers/media/rc/lirc_dev.c
+diff -urNp linux-2.6.38.1/drivers/media/rc/lirc_dev.c linux-2.6.38.1/drivers/media/rc/lirc_dev.c
--- linux-2.6.38.1/drivers/media/rc/lirc_dev.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/media/rc/lirc_dev.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/media/rc/lirc_dev.c 2011-03-21 18:31:35.000000000 -0400
@@ -151,7 +151,7 @@ static int lirc_thread(void *irctl)
}
@@ -25599,9 +25613,9 @@ diff -urNp linux-2.6.38.1/drivers/media/rc/lirc_dev.c linux-2.6.38.1-new/drivers
.owner = THIS_MODULE,
.read = lirc_dev_fop_read,
.write = lirc_dev_fop_write,
-diff -urNp linux-2.6.38.1/drivers/media/video/sn9c102/sn9c102_core.c linux-2.6.38.1-new/drivers/media/video/sn9c102/sn9c102_core.c
+diff -urNp linux-2.6.38.1/drivers/media/video/sn9c102/sn9c102_core.c linux-2.6.38.1/drivers/media/video/sn9c102/sn9c102_core.c
--- linux-2.6.38.1/drivers/media/video/sn9c102/sn9c102_core.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/media/video/sn9c102/sn9c102_core.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/media/video/sn9c102/sn9c102_core.c 2011-03-21 18:31:35.000000000 -0400
@@ -1430,9 +1430,9 @@ static DEVICE_ATTR(i2c_reg, S_IRUGO | S_
sn9c102_show_i2c_reg, sn9c102_store_i2c_reg);
static DEVICE_ATTR(i2c_val, S_IRUGO | S_IWUSR,
@@ -25615,9 +25629,9 @@ diff -urNp linux-2.6.38.1/drivers/media/video/sn9c102/sn9c102_core.c linux-2.6.3
static DEVICE_ATTR(frame_header, S_IRUGO, sn9c102_show_frame_header, NULL);
-diff -urNp linux-2.6.38.1/drivers/message/fusion/mptbase.c linux-2.6.38.1-new/drivers/message/fusion/mptbase.c
+diff -urNp linux-2.6.38.1/drivers/message/fusion/mptbase.c linux-2.6.38.1/drivers/message/fusion/mptbase.c
--- linux-2.6.38.1/drivers/message/fusion/mptbase.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/message/fusion/mptbase.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/message/fusion/mptbase.c 2011-03-21 18:31:35.000000000 -0400
@@ -6683,8 +6683,13 @@ static int mpt_iocinfo_proc_show(struct
seq_printf(m, " MaxChainDepth = 0x%02x frames\n", ioc->facts.MaxChainDepth);
seq_printf(m, " MinBlockSize = 0x%02x bytes\n", 4*ioc->facts.BlockSize);
@@ -25632,9 +25646,9 @@ diff -urNp linux-2.6.38.1/drivers/message/fusion/mptbase.c linux-2.6.38.1-new/dr
/*
* Rounding UP to nearest 4-kB boundary here...
*/
-diff -urNp linux-2.6.38.1/drivers/message/fusion/mptdebug.h linux-2.6.38.1-new/drivers/message/fusion/mptdebug.h
+diff -urNp linux-2.6.38.1/drivers/message/fusion/mptdebug.h linux-2.6.38.1/drivers/message/fusion/mptdebug.h
--- linux-2.6.38.1/drivers/message/fusion/mptdebug.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/message/fusion/mptdebug.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/message/fusion/mptdebug.h 2011-03-21 18:31:35.000000000 -0400
@@ -71,7 +71,7 @@
CMD; \
}
@@ -25644,9 +25658,9 @@ diff -urNp linux-2.6.38.1/drivers/message/fusion/mptdebug.h linux-2.6.38.1-new/d
#endif
-diff -urNp linux-2.6.38.1/drivers/message/fusion/mptsas.c linux-2.6.38.1-new/drivers/message/fusion/mptsas.c
+diff -urNp linux-2.6.38.1/drivers/message/fusion/mptsas.c linux-2.6.38.1/drivers/message/fusion/mptsas.c
--- linux-2.6.38.1/drivers/message/fusion/mptsas.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/message/fusion/mptsas.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/message/fusion/mptsas.c 2011-03-21 18:31:35.000000000 -0400
@@ -439,6 +439,23 @@ mptsas_is_end_device(struct mptsas_devin
return 0;
}
@@ -25695,9 +25709,9 @@ diff -urNp linux-2.6.38.1/drivers/message/fusion/mptsas.c linux-2.6.38.1-new/dri
static inline struct sas_port *
mptsas_get_port(struct mptsas_phyinfo *phy_info)
{
-diff -urNp linux-2.6.38.1/drivers/message/fusion/mptscsih.c linux-2.6.38.1-new/drivers/message/fusion/mptscsih.c
+diff -urNp linux-2.6.38.1/drivers/message/fusion/mptscsih.c linux-2.6.38.1/drivers/message/fusion/mptscsih.c
--- linux-2.6.38.1/drivers/message/fusion/mptscsih.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/message/fusion/mptscsih.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/message/fusion/mptscsih.c 2011-03-21 18:31:35.000000000 -0400
@@ -1268,15 +1268,16 @@ mptscsih_info(struct Scsi_Host *SChost)
h = shost_priv(SChost);
@@ -25723,9 +25737,9 @@ diff -urNp linux-2.6.38.1/drivers/message/fusion/mptscsih.c linux-2.6.38.1-new/d
return h->info_kbuf;
}
-diff -urNp linux-2.6.38.1/drivers/message/i2o/i2o_proc.c linux-2.6.38.1-new/drivers/message/i2o/i2o_proc.c
+diff -urNp linux-2.6.38.1/drivers/message/i2o/i2o_proc.c linux-2.6.38.1/drivers/message/i2o/i2o_proc.c
--- linux-2.6.38.1/drivers/message/i2o/i2o_proc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/message/i2o/i2o_proc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/message/i2o/i2o_proc.c 2011-03-21 18:31:35.000000000 -0400
@@ -255,13 +255,6 @@ static char *scsi_devices[] = {
"Array Controller Device"
};
@@ -25812,9 +25826,9 @@ diff -urNp linux-2.6.38.1/drivers/message/i2o/i2o_proc.c linux-2.6.38.1-new/driv
return 0;
}
-diff -urNp linux-2.6.38.1/drivers/mfd/ab3100-core.c linux-2.6.38.1-new/drivers/mfd/ab3100-core.c
+diff -urNp linux-2.6.38.1/drivers/mfd/ab3100-core.c linux-2.6.38.1/drivers/mfd/ab3100-core.c
--- linux-2.6.38.1/drivers/mfd/ab3100-core.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/mfd/ab3100-core.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/mfd/ab3100-core.c 2011-03-21 18:31:35.000000000 -0400
@@ -613,7 +613,7 @@ static void ab3100_setup_debugfs(struct
ab3100_get_priv.ab3100 = ab3100;
ab3100_get_priv.mode = false;
@@ -25833,9 +25847,9 @@ diff -urNp linux-2.6.38.1/drivers/mfd/ab3100-core.c linux-2.6.38.1-new/drivers/m
&ab3100_get_set_reg_fops);
if (!ab3100_set_reg_file) {
err = -ENOMEM;
-diff -urNp linux-2.6.38.1/drivers/mfd/ab3550-core.c linux-2.6.38.1-new/drivers/mfd/ab3550-core.c
+diff -urNp linux-2.6.38.1/drivers/mfd/ab3550-core.c linux-2.6.38.1/drivers/mfd/ab3550-core.c
--- linux-2.6.38.1/drivers/mfd/ab3550-core.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/mfd/ab3550-core.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/mfd/ab3550-core.c 2011-03-21 18:31:35.000000000 -0400
@@ -1053,17 +1053,17 @@ static inline void ab3550_setup_debugfs(
goto exit_destroy_dir;
@@ -25857,9 +25871,9 @@ diff -urNp linux-2.6.38.1/drivers/mfd/ab3550-core.c linux-2.6.38.1-new/drivers/m
if (!ab3550_val_file)
goto exit_destroy_address;
-diff -urNp linux-2.6.38.1/drivers/mfd/ab8500-debugfs.c linux-2.6.38.1-new/drivers/mfd/ab8500-debugfs.c
+diff -urNp linux-2.6.38.1/drivers/mfd/ab8500-debugfs.c linux-2.6.38.1/drivers/mfd/ab8500-debugfs.c
--- linux-2.6.38.1/drivers/mfd/ab8500-debugfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/mfd/ab8500-debugfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/mfd/ab8500-debugfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -585,18 +585,18 @@ static int __devinit ab8500_debug_probe(
goto exit_destroy_dir;
@@ -25882,9 +25896,9 @@ diff -urNp linux-2.6.38.1/drivers/mfd/ab8500-debugfs.c linux-2.6.38.1-new/driver
if (!ab8500_val_file)
goto exit_destroy_address;
-diff -urNp linux-2.6.38.1/drivers/mfd/janz-cmodio.c linux-2.6.38.1-new/drivers/mfd/janz-cmodio.c
+diff -urNp linux-2.6.38.1/drivers/mfd/janz-cmodio.c linux-2.6.38.1/drivers/mfd/janz-cmodio.c
--- linux-2.6.38.1/drivers/mfd/janz-cmodio.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/mfd/janz-cmodio.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/mfd/janz-cmodio.c 2011-03-21 18:31:35.000000000 -0400
@@ -13,6 +13,7 @@
#include <linux/kernel.h>
@@ -25893,9 +25907,9 @@ diff -urNp linux-2.6.38.1/drivers/mfd/janz-cmodio.c linux-2.6.38.1-new/drivers/m
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
-diff -urNp linux-2.6.38.1/drivers/misc/ep93xx_pwm.c linux-2.6.38.1-new/drivers/misc/ep93xx_pwm.c
+diff -urNp linux-2.6.38.1/drivers/misc/ep93xx_pwm.c linux-2.6.38.1/drivers/misc/ep93xx_pwm.c
--- linux-2.6.38.1/drivers/misc/ep93xx_pwm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/misc/ep93xx_pwm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/misc/ep93xx_pwm.c 2011-03-21 18:31:35.000000000 -0400
@@ -249,11 +249,11 @@ static ssize_t ep93xx_pwm_set_invert(str
static DEVICE_ATTR(min_freq, S_IRUGO, ep93xx_pwm_get_min_freq, NULL);
@@ -25911,9 +25925,9 @@ diff -urNp linux-2.6.38.1/drivers/misc/ep93xx_pwm.c linux-2.6.38.1-new/drivers/m
ep93xx_pwm_get_invert, ep93xx_pwm_set_invert);
static struct attribute *ep93xx_pwm_attrs[] = {
-diff -urNp linux-2.6.38.1/drivers/misc/kgdbts.c linux-2.6.38.1-new/drivers/misc/kgdbts.c
+diff -urNp linux-2.6.38.1/drivers/misc/kgdbts.c linux-2.6.38.1/drivers/misc/kgdbts.c
--- linux-2.6.38.1/drivers/misc/kgdbts.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/misc/kgdbts.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/misc/kgdbts.c 2011-03-21 18:31:35.000000000 -0400
@@ -118,7 +118,7 @@
} while (0)
#define MAX_CONFIG_LEN 40
@@ -25932,9 +25946,9 @@ diff -urNp linux-2.6.38.1/drivers/misc/kgdbts.c linux-2.6.38.1-new/drivers/misc/
.name = "kgdbts",
.read_char = kgdbts_get_char,
.write_char = kgdbts_put_char,
-diff -urNp linux-2.6.38.1/drivers/misc/sgi-gru/gruhandles.c linux-2.6.38.1-new/drivers/misc/sgi-gru/gruhandles.c
+diff -urNp linux-2.6.38.1/drivers/misc/sgi-gru/gruhandles.c linux-2.6.38.1/drivers/misc/sgi-gru/gruhandles.c
--- linux-2.6.38.1/drivers/misc/sgi-gru/gruhandles.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/misc/sgi-gru/gruhandles.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/misc/sgi-gru/gruhandles.c 2011-03-21 18:31:35.000000000 -0400
@@ -44,8 +44,8 @@ static void update_mcs_stats(enum mcs_op
unsigned long nsec;
@@ -25946,9 +25960,9 @@ diff -urNp linux-2.6.38.1/drivers/misc/sgi-gru/gruhandles.c linux-2.6.38.1-new/d
if (mcs_op_statistics[op].max < nsec)
mcs_op_statistics[op].max = nsec;
}
-diff -urNp linux-2.6.38.1/drivers/misc/sgi-gru/gruprocfs.c linux-2.6.38.1-new/drivers/misc/sgi-gru/gruprocfs.c
+diff -urNp linux-2.6.38.1/drivers/misc/sgi-gru/gruprocfs.c linux-2.6.38.1/drivers/misc/sgi-gru/gruprocfs.c
--- linux-2.6.38.1/drivers/misc/sgi-gru/gruprocfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/misc/sgi-gru/gruprocfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/misc/sgi-gru/gruprocfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -32,9 +32,9 @@
#define printstat(s, f) printstat_val(s, &gru_stats.f, #f)
@@ -25972,9 +25986,9 @@ diff -urNp linux-2.6.38.1/drivers/misc/sgi-gru/gruprocfs.c linux-2.6.38.1-new/dr
max = mcs_op_statistics[op].max;
seq_printf(s, "%-20s%12ld%12ld%12ld\n", id[op], count,
count ? total / count : 0, max);
-diff -urNp linux-2.6.38.1/drivers/misc/sgi-gru/grutables.h linux-2.6.38.1-new/drivers/misc/sgi-gru/grutables.h
+diff -urNp linux-2.6.38.1/drivers/misc/sgi-gru/grutables.h linux-2.6.38.1/drivers/misc/sgi-gru/grutables.h
--- linux-2.6.38.1/drivers/misc/sgi-gru/grutables.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/misc/sgi-gru/grutables.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/misc/sgi-gru/grutables.h 2011-03-21 18:31:35.000000000 -0400
@@ -167,82 +167,82 @@ extern unsigned int gru_max_gids;
* GRU statistics.
*/
@@ -26154,9 +26168,9 @@ diff -urNp linux-2.6.38.1/drivers/misc/sgi-gru/grutables.h linux-2.6.38.1-new/dr
} while (0)
#ifdef CONFIG_SGI_GRU_DEBUG
-diff -urNp linux-2.6.38.1/drivers/mtd/devices/doc2000.c linux-2.6.38.1-new/drivers/mtd/devices/doc2000.c
+diff -urNp linux-2.6.38.1/drivers/mtd/devices/doc2000.c linux-2.6.38.1/drivers/mtd/devices/doc2000.c
--- linux-2.6.38.1/drivers/mtd/devices/doc2000.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/mtd/devices/doc2000.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/mtd/devices/doc2000.c 2011-03-21 18:31:35.000000000 -0400
@@ -776,7 +776,7 @@ static int doc_write(struct mtd_info *mt
/* The ECC will not be calculated correctly if less than 512 is written */
@@ -26166,9 +26180,9 @@ diff -urNp linux-2.6.38.1/drivers/mtd/devices/doc2000.c linux-2.6.38.1-new/drive
printk(KERN_WARNING
"ECC needs a full sector write (adr: %lx size %lx)\n",
(long) to, (long) len);
-diff -urNp linux-2.6.38.1/drivers/mtd/devices/doc2001.c linux-2.6.38.1-new/drivers/mtd/devices/doc2001.c
+diff -urNp linux-2.6.38.1/drivers/mtd/devices/doc2001.c linux-2.6.38.1/drivers/mtd/devices/doc2001.c
--- linux-2.6.38.1/drivers/mtd/devices/doc2001.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/mtd/devices/doc2001.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/mtd/devices/doc2001.c 2011-03-21 18:31:35.000000000 -0400
@@ -393,7 +393,7 @@ static int doc_read (struct mtd_info *mt
struct Nand *mychip = &this->chips[from >> (this->chipshift)];
@@ -26178,9 +26192,9 @@ diff -urNp linux-2.6.38.1/drivers/mtd/devices/doc2001.c linux-2.6.38.1-new/drive
return -EINVAL;
/* Don't allow a single read to cross a 512-byte block boundary */
-diff -urNp linux-2.6.38.1/drivers/mtd/nand/denali.c linux-2.6.38.1-new/drivers/mtd/nand/denali.c
+diff -urNp linux-2.6.38.1/drivers/mtd/nand/denali.c linux-2.6.38.1/drivers/mtd/nand/denali.c
--- linux-2.6.38.1/drivers/mtd/nand/denali.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/mtd/nand/denali.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/mtd/nand/denali.c 2011-03-21 18:31:35.000000000 -0400
@@ -25,6 +25,7 @@
#include <linux/pci.h>
#include <linux/mtd/mtd.h>
@@ -26189,9 +26203,9 @@ diff -urNp linux-2.6.38.1/drivers/mtd/nand/denali.c linux-2.6.38.1-new/drivers/m
#include "denali.h"
-diff -urNp linux-2.6.38.1/drivers/mtd/ubi/build.c linux-2.6.38.1-new/drivers/mtd/ubi/build.c
+diff -urNp linux-2.6.38.1/drivers/mtd/ubi/build.c linux-2.6.38.1/drivers/mtd/ubi/build.c
--- linux-2.6.38.1/drivers/mtd/ubi/build.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/mtd/ubi/build.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/mtd/ubi/build.c 2011-03-21 18:31:35.000000000 -0400
@@ -1285,7 +1285,7 @@ module_exit(ubi_exit);
static int __init bytes_str_to_int(const char *str)
{
@@ -26231,9 +26245,9 @@ diff -urNp linux-2.6.38.1/drivers/mtd/ubi/build.c linux-2.6.38.1-new/drivers/mtd
}
/**
-diff -urNp linux-2.6.38.1/drivers/net/e1000e/82571.c linux-2.6.38.1-new/drivers/net/e1000e/82571.c
+diff -urNp linux-2.6.38.1/drivers/net/e1000e/82571.c linux-2.6.38.1/drivers/net/e1000e/82571.c
--- linux-2.6.38.1/drivers/net/e1000e/82571.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/e1000e/82571.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/e1000e/82571.c 2011-03-21 18:31:35.000000000 -0400
@@ -239,7 +239,7 @@ static s32 e1000_init_mac_params_82571(s
{
struct e1000_hw *hw = &adapter->hw;
@@ -26288,9 +26302,9 @@ diff -urNp linux-2.6.38.1/drivers/net/e1000e/82571.c linux-2.6.38.1-new/drivers/
.acquire = e1000_acquire_nvm_82571,
.read = e1000e_read_nvm_eerd,
.release = e1000_release_nvm_82571,
-diff -urNp linux-2.6.38.1/drivers/net/e1000e/e1000.h linux-2.6.38.1-new/drivers/net/e1000e/e1000.h
+diff -urNp linux-2.6.38.1/drivers/net/e1000e/e1000.h linux-2.6.38.1/drivers/net/e1000e/e1000.h
--- linux-2.6.38.1/drivers/net/e1000e/e1000.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/e1000e/e1000.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/e1000e/e1000.h 2011-03-21 18:31:35.000000000 -0400
@@ -408,9 +408,9 @@ struct e1000_info {
u32 pba;
u32 max_hw_frame_size;
@@ -26304,9 +26318,9 @@ diff -urNp linux-2.6.38.1/drivers/net/e1000e/e1000.h linux-2.6.38.1-new/drivers/
};
/* hardware capability, feature, and workaround flags */
-diff -urNp linux-2.6.38.1/drivers/net/e1000e/es2lan.c linux-2.6.38.1-new/drivers/net/e1000e/es2lan.c
+diff -urNp linux-2.6.38.1/drivers/net/e1000e/es2lan.c linux-2.6.38.1/drivers/net/e1000e/es2lan.c
--- linux-2.6.38.1/drivers/net/e1000e/es2lan.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/e1000e/es2lan.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/e1000e/es2lan.c 2011-03-21 18:31:35.000000000 -0400
@@ -205,7 +205,7 @@ static s32 e1000_init_mac_params_80003es
{
struct e1000_hw *hw = &adapter->hw;
@@ -26343,9 +26357,9 @@ diff -urNp linux-2.6.38.1/drivers/net/e1000e/es2lan.c linux-2.6.38.1-new/drivers
.acquire = e1000_acquire_nvm_80003es2lan,
.read = e1000e_read_nvm_eerd,
.release = e1000_release_nvm_80003es2lan,
-diff -urNp linux-2.6.38.1/drivers/net/e1000e/hw.h linux-2.6.38.1-new/drivers/net/e1000e/hw.h
+diff -urNp linux-2.6.38.1/drivers/net/e1000e/hw.h linux-2.6.38.1/drivers/net/e1000e/hw.h
--- linux-2.6.38.1/drivers/net/e1000e/hw.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/e1000e/hw.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/e1000e/hw.h 2011-03-21 18:31:35.000000000 -0400
@@ -801,16 +801,17 @@ struct e1000_phy_operations {
/* Function pointers for the NVM. */
@@ -26387,9 +26401,9 @@ diff -urNp linux-2.6.38.1/drivers/net/e1000e/hw.h linux-2.6.38.1-new/drivers/net
struct e1000_nvm_operations ops;
enum e1000_nvm_type type;
-diff -urNp linux-2.6.38.1/drivers/net/e1000e/ich8lan.c linux-2.6.38.1-new/drivers/net/e1000e/ich8lan.c
+diff -urNp linux-2.6.38.1/drivers/net/e1000e/ich8lan.c linux-2.6.38.1/drivers/net/e1000e/ich8lan.c
--- linux-2.6.38.1/drivers/net/e1000e/ich8lan.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/e1000e/ich8lan.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/e1000e/ich8lan.c 2011-03-21 18:31:35.000000000 -0400
@@ -3840,7 +3840,7 @@ static void e1000_clear_hw_cntrs_ich8lan
}
}
@@ -26417,9 +26431,9 @@ diff -urNp linux-2.6.38.1/drivers/net/e1000e/ich8lan.c linux-2.6.38.1-new/driver
.acquire = e1000_acquire_nvm_ich8lan,
.read = e1000_read_nvm_ich8lan,
.release = e1000_release_nvm_ich8lan,
-diff -urNp linux-2.6.38.1/drivers/net/igb/e1000_82575.c linux-2.6.38.1-new/drivers/net/igb/e1000_82575.c
+diff -urNp linux-2.6.38.1/drivers/net/igb/e1000_82575.c linux-2.6.38.1/drivers/net/igb/e1000_82575.c
--- linux-2.6.38.1/drivers/net/igb/e1000_82575.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/igb/e1000_82575.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/igb/e1000_82575.c 2011-03-21 18:31:35.000000000 -0400
@@ -1747,7 +1747,7 @@ u16 igb_rxpbs_adjust_82580(u32 data)
return ret_val;
}
@@ -26445,9 +26459,9 @@ diff -urNp linux-2.6.38.1/drivers/net/igb/e1000_82575.c linux-2.6.38.1-new/drive
.acquire = igb_acquire_nvm_82575,
.read = igb_read_nvm_eerd,
.release = igb_release_nvm_82575,
-diff -urNp linux-2.6.38.1/drivers/net/igb/e1000_hw.h linux-2.6.38.1-new/drivers/net/igb/e1000_hw.h
+diff -urNp linux-2.6.38.1/drivers/net/igb/e1000_hw.h linux-2.6.38.1/drivers/net/igb/e1000_hw.h
--- linux-2.6.38.1/drivers/net/igb/e1000_hw.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/igb/e1000_hw.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/igb/e1000_hw.h 2011-03-21 18:31:35.000000000 -0400
@@ -327,22 +327,23 @@ struct e1000_phy_operations {
};
@@ -26495,9 +26509,9 @@ diff -urNp linux-2.6.38.1/drivers/net/igb/e1000_hw.h linux-2.6.38.1-new/drivers/
struct e1000_nvm_operations ops;
enum e1000_nvm_type type;
-diff -urNp linux-2.6.38.1/drivers/net/igbvf/vf.h linux-2.6.38.1-new/drivers/net/igbvf/vf.h
+diff -urNp linux-2.6.38.1/drivers/net/igbvf/vf.h linux-2.6.38.1/drivers/net/igbvf/vf.h
--- linux-2.6.38.1/drivers/net/igbvf/vf.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/igbvf/vf.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/igbvf/vf.h 2011-03-21 18:31:35.000000000 -0400
@@ -191,6 +191,7 @@ struct e1000_mac_operations {
};
@@ -26506,9 +26520,9 @@ diff -urNp linux-2.6.38.1/drivers/net/igbvf/vf.h linux-2.6.38.1-new/drivers/net/
struct e1000_mac_operations ops;
u8 addr[6];
u8 perm_addr[6];
-diff -urNp linux-2.6.38.1/drivers/net/irda/vlsi_ir.c linux-2.6.38.1-new/drivers/net/irda/vlsi_ir.c
+diff -urNp linux-2.6.38.1/drivers/net/irda/vlsi_ir.c linux-2.6.38.1/drivers/net/irda/vlsi_ir.c
--- linux-2.6.38.1/drivers/net/irda/vlsi_ir.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/irda/vlsi_ir.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/irda/vlsi_ir.c 2011-03-21 18:31:35.000000000 -0400
@@ -907,13 +907,12 @@ static netdev_tx_t vlsi_hard_start_xmit(
/* no race - tx-ring already empty */
vlsi_set_baud(idev, iobase);
@@ -26525,9 +26539,9 @@ diff -urNp linux-2.6.38.1/drivers/net/irda/vlsi_ir.c linux-2.6.38.1-new/drivers/
spin_unlock_irqrestore(&idev->lock, flags);
dev_kfree_skb_any(skb);
return NETDEV_TX_OK;
-diff -urNp linux-2.6.38.1/drivers/net/pcnet32.c linux-2.6.38.1-new/drivers/net/pcnet32.c
+diff -urNp linux-2.6.38.1/drivers/net/pcnet32.c linux-2.6.38.1/drivers/net/pcnet32.c
--- linux-2.6.38.1/drivers/net/pcnet32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/pcnet32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/pcnet32.c 2011-03-21 18:31:35.000000000 -0400
@@ -82,7 +82,7 @@ static int cards_found;
/*
* VLB I/O addresses
@@ -26537,9 +26551,9 @@ diff -urNp linux-2.6.38.1/drivers/net/pcnet32.c linux-2.6.38.1-new/drivers/net/p
{ 0x300, 0x320, 0x340, 0x360, 0 };
static int pcnet32_debug;
-diff -urNp linux-2.6.38.1/drivers/net/ppp_generic.c linux-2.6.38.1-new/drivers/net/ppp_generic.c
+diff -urNp linux-2.6.38.1/drivers/net/ppp_generic.c linux-2.6.38.1/drivers/net/ppp_generic.c
--- linux-2.6.38.1/drivers/net/ppp_generic.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/ppp_generic.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/ppp_generic.c 2011-03-21 18:31:35.000000000 -0400
@@ -986,7 +986,6 @@ ppp_net_ioctl(struct net_device *dev, st
void __user *addr = (void __user *) ifr->ifr_ifru.ifru_data;
struct ppp_stats stats;
@@ -26558,9 +26572,9 @@ diff -urNp linux-2.6.38.1/drivers/net/ppp_generic.c linux-2.6.38.1-new/drivers/n
break;
err = 0;
break;
-diff -urNp linux-2.6.38.1/drivers/net/tg3.h linux-2.6.38.1-new/drivers/net/tg3.h
+diff -urNp linux-2.6.38.1/drivers/net/tg3.h linux-2.6.38.1/drivers/net/tg3.h
--- linux-2.6.38.1/drivers/net/tg3.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/tg3.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/tg3.h 2011-03-21 18:31:35.000000000 -0400
@@ -131,6 +131,7 @@
#define CHIPREV_ID_5750_A0 0x4000
#define CHIPREV_ID_5750_A1 0x4001
@@ -26569,9 +26583,9 @@ diff -urNp linux-2.6.38.1/drivers/net/tg3.h linux-2.6.38.1-new/drivers/net/tg3.h
#define CHIPREV_ID_5750_C2 0x4202
#define CHIPREV_ID_5752_A0_HW 0x5000
#define CHIPREV_ID_5752_A0 0x6000
-diff -urNp linux-2.6.38.1/drivers/net/tulip/de4x5.c linux-2.6.38.1-new/drivers/net/tulip/de4x5.c
+diff -urNp linux-2.6.38.1/drivers/net/tulip/de4x5.c linux-2.6.38.1/drivers/net/tulip/de4x5.c
--- linux-2.6.38.1/drivers/net/tulip/de4x5.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/tulip/de4x5.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/tulip/de4x5.c 2011-03-21 18:31:35.000000000 -0400
@@ -5401,7 +5401,7 @@ de4x5_ioctl(struct net_device *dev, stru
for (i=0; i<ETH_ALEN; i++) {
tmp.addr[i] = dev->dev_addr[i];
@@ -26590,9 +26604,9 @@ diff -urNp linux-2.6.38.1/drivers/net/tulip/de4x5.c linux-2.6.38.1-new/drivers/n
return -EFAULT;
break;
}
-diff -urNp linux-2.6.38.1/drivers/net/usb/hso.c linux-2.6.38.1-new/drivers/net/usb/hso.c
+diff -urNp linux-2.6.38.1/drivers/net/usb/hso.c linux-2.6.38.1/drivers/net/usb/hso.c
--- linux-2.6.38.1/drivers/net/usb/hso.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/usb/hso.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/usb/hso.c 2011-03-21 18:31:35.000000000 -0400
@@ -71,7 +71,7 @@
#include <asm/byteorder.h>
#include <linux/serial_core.h>
@@ -26689,9 +26703,9 @@ diff -urNp linux-2.6.38.1/drivers/net/usb/hso.c linux-2.6.38.1-new/drivers/net/u
result =
hso_start_serial_device(serial_table[i], GFP_NOIO);
hso_kick_transmit(dev2ser(serial_table[i]));
-diff -urNp linux-2.6.38.1/drivers/net/wireless/b43/debugfs.c linux-2.6.38.1-new/drivers/net/wireless/b43/debugfs.c
+diff -urNp linux-2.6.38.1/drivers/net/wireless/b43/debugfs.c linux-2.6.38.1/drivers/net/wireless/b43/debugfs.c
--- linux-2.6.38.1/drivers/net/wireless/b43/debugfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/wireless/b43/debugfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/wireless/b43/debugfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -43,7 +43,7 @@ static struct dentry *rootdir;
struct b43_debugfs_fops {
ssize_t (*read)(struct b43_wldev *dev, char *buf, size_t bufsize);
@@ -26701,9 +26715,9 @@ diff -urNp linux-2.6.38.1/drivers/net/wireless/b43/debugfs.c linux-2.6.38.1-new/
/* Offset of struct b43_dfs_file in struct b43_dfsentry */
size_t file_struct_offset;
};
-diff -urNp linux-2.6.38.1/drivers/net/wireless/b43legacy/debugfs.c linux-2.6.38.1-new/drivers/net/wireless/b43legacy/debugfs.c
+diff -urNp linux-2.6.38.1/drivers/net/wireless/b43legacy/debugfs.c linux-2.6.38.1/drivers/net/wireless/b43legacy/debugfs.c
--- linux-2.6.38.1/drivers/net/wireless/b43legacy/debugfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/wireless/b43legacy/debugfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/wireless/b43legacy/debugfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -44,7 +44,7 @@ static struct dentry *rootdir;
struct b43legacy_debugfs_fops {
ssize_t (*read)(struct b43legacy_wldev *dev, char *buf, size_t bufsize);
@@ -26713,9 +26727,9 @@ diff -urNp linux-2.6.38.1/drivers/net/wireless/b43legacy/debugfs.c linux-2.6.38.
/* Offset of struct b43legacy_dfs_file in struct b43legacy_dfsentry */
size_t file_struct_offset;
/* Take wl->irq_lock before calling read/write? */
-diff -urNp linux-2.6.38.1/drivers/net/wireless/iwlwifi/iwl-debug.h linux-2.6.38.1-new/drivers/net/wireless/iwlwifi/iwl-debug.h
+diff -urNp linux-2.6.38.1/drivers/net/wireless/iwlwifi/iwl-debug.h linux-2.6.38.1/drivers/net/wireless/iwlwifi/iwl-debug.h
--- linux-2.6.38.1/drivers/net/wireless/iwlwifi/iwl-debug.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/wireless/iwlwifi/iwl-debug.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/wireless/iwlwifi/iwl-debug.h 2011-03-21 18:31:35.000000000 -0400
@@ -68,8 +68,8 @@ do {
} while (0)
@@ -26727,9 +26741,9 @@ diff -urNp linux-2.6.38.1/drivers/net/wireless/iwlwifi/iwl-debug.h linux-2.6.38.
static inline void iwl_print_hex_dump(struct iwl_priv *priv, int level,
const void *p, u32 len)
{}
-diff -urNp linux-2.6.38.1/drivers/net/wireless/libertas/debugfs.c linux-2.6.38.1-new/drivers/net/wireless/libertas/debugfs.c
+diff -urNp linux-2.6.38.1/drivers/net/wireless/libertas/debugfs.c linux-2.6.38.1/drivers/net/wireless/libertas/debugfs.c
--- linux-2.6.38.1/drivers/net/wireless/libertas/debugfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/wireless/libertas/debugfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/wireless/libertas/debugfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -702,7 +702,7 @@ out_unlock:
struct lbs_debugfs_files {
const char *name;
@@ -26739,9 +26753,9 @@ diff -urNp linux-2.6.38.1/drivers/net/wireless/libertas/debugfs.c linux-2.6.38.1
};
static const struct lbs_debugfs_files debugfs_files[] = {
-diff -urNp linux-2.6.38.1/drivers/net/wireless/rndis_wlan.c linux-2.6.38.1-new/drivers/net/wireless/rndis_wlan.c
+diff -urNp linux-2.6.38.1/drivers/net/wireless/rndis_wlan.c linux-2.6.38.1/drivers/net/wireless/rndis_wlan.c
--- linux-2.6.38.1/drivers/net/wireless/rndis_wlan.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/net/wireless/rndis_wlan.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/net/wireless/rndis_wlan.c 2011-03-21 18:31:35.000000000 -0400
@@ -1277,7 +1277,7 @@ static int set_rts_threshold(struct usbn
netdev_dbg(usbdev->net, "%s(): %i\n", __func__, rts_threshold);
@@ -26751,9 +26765,9 @@ diff -urNp linux-2.6.38.1/drivers/net/wireless/rndis_wlan.c linux-2.6.38.1-new/d
rts_threshold = 2347;
tmp = cpu_to_le32(rts_threshold);
-diff -urNp linux-2.6.38.1/drivers/oprofile/buffer_sync.c linux-2.6.38.1-new/drivers/oprofile/buffer_sync.c
+diff -urNp linux-2.6.38.1/drivers/oprofile/buffer_sync.c linux-2.6.38.1/drivers/oprofile/buffer_sync.c
--- linux-2.6.38.1/drivers/oprofile/buffer_sync.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/oprofile/buffer_sync.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/oprofile/buffer_sync.c 2011-03-21 18:31:35.000000000 -0400
@@ -342,7 +342,7 @@ static void add_data(struct op_entry *en
if (cookie == NO_COOKIE)
offset = pc;
@@ -26789,9 +26803,9 @@ diff -urNp linux-2.6.38.1/drivers/oprofile/buffer_sync.c linux-2.6.38.1-new/driv
}
}
release_mm(mm);
-diff -urNp linux-2.6.38.1/drivers/oprofile/event_buffer.c linux-2.6.38.1-new/drivers/oprofile/event_buffer.c
+diff -urNp linux-2.6.38.1/drivers/oprofile/event_buffer.c linux-2.6.38.1/drivers/oprofile/event_buffer.c
--- linux-2.6.38.1/drivers/oprofile/event_buffer.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/oprofile/event_buffer.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/oprofile/event_buffer.c 2011-03-21 18:31:35.000000000 -0400
@@ -53,7 +53,7 @@ void add_event_entry(unsigned long value
}
@@ -26801,9 +26815,9 @@ diff -urNp linux-2.6.38.1/drivers/oprofile/event_buffer.c linux-2.6.38.1-new/dri
return;
}
-diff -urNp linux-2.6.38.1/drivers/oprofile/oprof.c linux-2.6.38.1-new/drivers/oprofile/oprof.c
+diff -urNp linux-2.6.38.1/drivers/oprofile/oprof.c linux-2.6.38.1/drivers/oprofile/oprof.c
--- linux-2.6.38.1/drivers/oprofile/oprof.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/oprofile/oprof.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/oprofile/oprof.c 2011-03-21 18:31:35.000000000 -0400
@@ -110,7 +110,7 @@ static void switch_worker(struct work_st
if (oprofile_ops.switch_events())
return;
@@ -26813,9 +26827,9 @@ diff -urNp linux-2.6.38.1/drivers/oprofile/oprof.c linux-2.6.38.1-new/drivers/op
start_switch_worker();
}
-diff -urNp linux-2.6.38.1/drivers/oprofile/oprofilefs.c linux-2.6.38.1-new/drivers/oprofile/oprofilefs.c
+diff -urNp linux-2.6.38.1/drivers/oprofile/oprofilefs.c linux-2.6.38.1/drivers/oprofile/oprofilefs.c
--- linux-2.6.38.1/drivers/oprofile/oprofilefs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/oprofile/oprofilefs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/oprofile/oprofilefs.c 2011-03-21 18:31:35.000000000 -0400
@@ -186,7 +186,7 @@ static const struct file_operations atom
@@ -26825,9 +26839,9 @@ diff -urNp linux-2.6.38.1/drivers/oprofile/oprofilefs.c linux-2.6.38.1-new/drive
{
return __oprofilefs_create_file(sb, root, name,
&atomic_ro_fops, 0444, val);
-diff -urNp linux-2.6.38.1/drivers/oprofile/oprofile_stats.c linux-2.6.38.1-new/drivers/oprofile/oprofile_stats.c
+diff -urNp linux-2.6.38.1/drivers/oprofile/oprofile_stats.c linux-2.6.38.1/drivers/oprofile/oprofile_stats.c
--- linux-2.6.38.1/drivers/oprofile/oprofile_stats.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/oprofile/oprofile_stats.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/oprofile/oprofile_stats.c 2011-03-21 18:31:35.000000000 -0400
@@ -30,11 +30,11 @@ void oprofile_reset_stats(void)
cpu_buf->sample_invalid_eip = 0;
}
@@ -26845,9 +26859,9 @@ diff -urNp linux-2.6.38.1/drivers/oprofile/oprofile_stats.c linux-2.6.38.1-new/d
}
-diff -urNp linux-2.6.38.1/drivers/oprofile/oprofile_stats.h linux-2.6.38.1-new/drivers/oprofile/oprofile_stats.h
+diff -urNp linux-2.6.38.1/drivers/oprofile/oprofile_stats.h linux-2.6.38.1/drivers/oprofile/oprofile_stats.h
--- linux-2.6.38.1/drivers/oprofile/oprofile_stats.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/oprofile/oprofile_stats.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/oprofile/oprofile_stats.h 2011-03-21 18:31:35.000000000 -0400
@@ -13,11 +13,11 @@
#include <asm/atomic.h>
@@ -26865,9 +26879,9 @@ diff -urNp linux-2.6.38.1/drivers/oprofile/oprofile_stats.h linux-2.6.38.1-new/d
};
extern struct oprofile_stat_struct oprofile_stats;
-diff -urNp linux-2.6.38.1/drivers/parport/procfs.c linux-2.6.38.1-new/drivers/parport/procfs.c
+diff -urNp linux-2.6.38.1/drivers/parport/procfs.c linux-2.6.38.1/drivers/parport/procfs.c
--- linux-2.6.38.1/drivers/parport/procfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/parport/procfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/parport/procfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -64,7 +64,7 @@ static int do_active_device(ctl_table *t
*ppos += len;
@@ -26886,9 +26900,9 @@ diff -urNp linux-2.6.38.1/drivers/parport/procfs.c linux-2.6.38.1-new/drivers/pa
}
#endif /* IEEE1284.3 support. */
-diff -urNp linux-2.6.38.1/drivers/pci/hotplug/acpiphp_glue.c linux-2.6.38.1-new/drivers/pci/hotplug/acpiphp_glue.c
+diff -urNp linux-2.6.38.1/drivers/pci/hotplug/acpiphp_glue.c linux-2.6.38.1/drivers/pci/hotplug/acpiphp_glue.c
--- linux-2.6.38.1/drivers/pci/hotplug/acpiphp_glue.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pci/hotplug/acpiphp_glue.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pci/hotplug/acpiphp_glue.c 2011-03-21 18:31:35.000000000 -0400
@@ -110,7 +110,7 @@ static int post_dock_fixups(struct notif
}
@@ -26898,9 +26912,9 @@ diff -urNp linux-2.6.38.1/drivers/pci/hotplug/acpiphp_glue.c linux-2.6.38.1-new/
.handler = handle_hotplug_event_func,
};
-diff -urNp linux-2.6.38.1/drivers/pci/hotplug/cpqphp_nvram.c linux-2.6.38.1-new/drivers/pci/hotplug/cpqphp_nvram.c
+diff -urNp linux-2.6.38.1/drivers/pci/hotplug/cpqphp_nvram.c linux-2.6.38.1/drivers/pci/hotplug/cpqphp_nvram.c
--- linux-2.6.38.1/drivers/pci/hotplug/cpqphp_nvram.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pci/hotplug/cpqphp_nvram.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pci/hotplug/cpqphp_nvram.c 2011-03-21 18:31:35.000000000 -0400
@@ -428,9 +428,13 @@ static u32 store_HRT (void __iomem *rom_
void compaq_nvram_init (void __iomem *rom_start)
@@ -26915,9 +26929,9 @@ diff -urNp linux-2.6.38.1/drivers/pci/hotplug/cpqphp_nvram.c linux-2.6.38.1-new/
dbg("int15 entry = %p\n", compaq_int15_entry_point);
/* initialize our int15 lock */
-diff -urNp linux-2.6.38.1/drivers/pci/intel-iommu.c linux-2.6.38.1-new/drivers/pci/intel-iommu.c
+diff -urNp linux-2.6.38.1/drivers/pci/intel-iommu.c linux-2.6.38.1/drivers/pci/intel-iommu.c
--- linux-2.6.38.1/drivers/pci/intel-iommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pci/intel-iommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pci/intel-iommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -2934,7 +2934,7 @@ static int intel_mapping_error(struct de
return !dma_addr;
}
@@ -26927,9 +26941,9 @@ diff -urNp linux-2.6.38.1/drivers/pci/intel-iommu.c linux-2.6.38.1-new/drivers/p
.alloc_coherent = intel_alloc_coherent,
.free_coherent = intel_free_coherent,
.map_sg = intel_map_sg,
-diff -urNp linux-2.6.38.1/drivers/pci/pcie/aspm.c linux-2.6.38.1-new/drivers/pci/pcie/aspm.c
+diff -urNp linux-2.6.38.1/drivers/pci/pcie/aspm.c linux-2.6.38.1/drivers/pci/pcie/aspm.c
--- linux-2.6.38.1/drivers/pci/pcie/aspm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pci/pcie/aspm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pci/pcie/aspm.c 2011-03-21 18:31:35.000000000 -0400
@@ -27,9 +27,9 @@
#define MODULE_PARAM_PREFIX "pcie_aspm."
@@ -26943,9 +26957,9 @@ diff -urNp linux-2.6.38.1/drivers/pci/pcie/aspm.c linux-2.6.38.1-new/drivers/pci
#define ASPM_STATE_L0S (ASPM_STATE_L0S_UP | ASPM_STATE_L0S_DW)
#define ASPM_STATE_ALL (ASPM_STATE_L0S | ASPM_STATE_L1)
-diff -urNp linux-2.6.38.1/drivers/pci/pcie/portdrv_pci.c linux-2.6.38.1-new/drivers/pci/pcie/portdrv_pci.c
+diff -urNp linux-2.6.38.1/drivers/pci/pcie/portdrv_pci.c linux-2.6.38.1/drivers/pci/pcie/portdrv_pci.c
--- linux-2.6.38.1/drivers/pci/pcie/portdrv_pci.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pci/pcie/portdrv_pci.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pci/pcie/portdrv_pci.c 2011-03-21 18:31:35.000000000 -0400
@@ -307,7 +307,7 @@ static void pcie_portdrv_err_resume(stru
static const struct pci_device_id port_pci_ids[] = { {
/* handle any PCI-Express port */
@@ -26955,9 +26969,9 @@ diff -urNp linux-2.6.38.1/drivers/pci/pcie/portdrv_pci.c linux-2.6.38.1-new/driv
};
MODULE_DEVICE_TABLE(pci, port_pci_ids);
-diff -urNp linux-2.6.38.1/drivers/pci/probe.c linux-2.6.38.1-new/drivers/pci/probe.c
+diff -urNp linux-2.6.38.1/drivers/pci/probe.c linux-2.6.38.1/drivers/pci/probe.c
--- linux-2.6.38.1/drivers/pci/probe.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pci/probe.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pci/probe.c 2011-03-21 18:31:35.000000000 -0400
@@ -62,14 +62,14 @@ static ssize_t pci_bus_show_cpuaffinity(
return ret;
}
@@ -26984,9 +26998,9 @@ diff -urNp linux-2.6.38.1/drivers/pci/probe.c linux-2.6.38.1-new/drivers/pci/pro
if (!dev->mmio_always_on) {
pci_read_config_word(dev, PCI_COMMAND, &orig_cmd);
-diff -urNp linux-2.6.38.1/drivers/pci/proc.c linux-2.6.38.1-new/drivers/pci/proc.c
+diff -urNp linux-2.6.38.1/drivers/pci/proc.c linux-2.6.38.1/drivers/pci/proc.c
--- linux-2.6.38.1/drivers/pci/proc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pci/proc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pci/proc.c 2011-03-21 18:31:35.000000000 -0400
@@ -476,7 +476,16 @@ static const struct file_operations proc
static int __init pci_proc_init(void)
{
@@ -27004,9 +27018,9 @@ diff -urNp linux-2.6.38.1/drivers/pci/proc.c linux-2.6.38.1-new/drivers/pci/proc
proc_create("devices", 0, proc_bus_pci_dir,
&proc_bus_pci_dev_operations);
proc_initialized = 1;
-diff -urNp linux-2.6.38.1/drivers/pcmcia/ti113x.h linux-2.6.38.1-new/drivers/pcmcia/ti113x.h
+diff -urNp linux-2.6.38.1/drivers/pcmcia/ti113x.h linux-2.6.38.1/drivers/pcmcia/ti113x.h
--- linux-2.6.38.1/drivers/pcmcia/ti113x.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pcmcia/ti113x.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pcmcia/ti113x.h 2011-03-21 18:31:35.000000000 -0400
@@ -936,7 +936,7 @@ static struct pci_device_id ene_tune_tbl
DEVID(PCI_VENDOR_ID_MOTOROLA, 0x3410, 0xECC0, PCI_ANY_ID,
ENE_TEST_C9_TLTENABLE | ENE_TEST_C9_PFENABLE, ENE_TEST_C9_TLTENABLE),
@@ -27016,9 +27030,9 @@ diff -urNp linux-2.6.38.1/drivers/pcmcia/ti113x.h linux-2.6.38.1-new/drivers/pcm
};
static void ene_tune_bridge(struct pcmcia_socket *sock, struct pci_bus *bus)
-diff -urNp linux-2.6.38.1/drivers/pcmcia/yenta_socket.c linux-2.6.38.1-new/drivers/pcmcia/yenta_socket.c
+diff -urNp linux-2.6.38.1/drivers/pcmcia/yenta_socket.c linux-2.6.38.1/drivers/pcmcia/yenta_socket.c
--- linux-2.6.38.1/drivers/pcmcia/yenta_socket.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pcmcia/yenta_socket.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pcmcia/yenta_socket.c 2011-03-21 18:31:35.000000000 -0400
@@ -1426,7 +1426,7 @@ static struct pci_device_id yenta_table[
/* match any cardbus bridge */
@@ -27028,9 +27042,9 @@ diff -urNp linux-2.6.38.1/drivers/pcmcia/yenta_socket.c linux-2.6.38.1-new/drive
};
MODULE_DEVICE_TABLE(pci, yenta_table);
-diff -urNp linux-2.6.38.1/drivers/platform/x86/asus-laptop.c linux-2.6.38.1-new/drivers/platform/x86/asus-laptop.c
+diff -urNp linux-2.6.38.1/drivers/platform/x86/asus-laptop.c linux-2.6.38.1/drivers/platform/x86/asus-laptop.c
--- linux-2.6.38.1/drivers/platform/x86/asus-laptop.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/platform/x86/asus-laptop.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/platform/x86/asus-laptop.c 2011-03-21 18:31:35.000000000 -0400
@@ -243,7 +243,6 @@ struct asus_laptop {
struct asus_led gled;
struct asus_led kled;
@@ -27039,9 +27053,9 @@ diff -urNp linux-2.6.38.1/drivers/platform/x86/asus-laptop.c linux-2.6.38.1-new/
int wireless_status;
bool have_rsts;
int lcd_state;
-diff -urNp linux-2.6.38.1/drivers/pnp/pnpbios/bioscalls.c linux-2.6.38.1-new/drivers/pnp/pnpbios/bioscalls.c
+diff -urNp linux-2.6.38.1/drivers/pnp/pnpbios/bioscalls.c linux-2.6.38.1/drivers/pnp/pnpbios/bioscalls.c
--- linux-2.6.38.1/drivers/pnp/pnpbios/bioscalls.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pnp/pnpbios/bioscalls.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pnp/pnpbios/bioscalls.c 2011-03-21 18:31:35.000000000 -0400
@@ -59,7 +59,7 @@ do { \
set_desc_limit(&gdt[(selname) >> 3], (size) - 1); \
} while(0)
@@ -27098,9 +27112,9 @@ diff -urNp linux-2.6.38.1/drivers/pnp/pnpbios/bioscalls.c linux-2.6.38.1-new/dri
+
+ pax_close_kernel();
}
-diff -urNp linux-2.6.38.1/drivers/pnp/quirks.c linux-2.6.38.1-new/drivers/pnp/quirks.c
+diff -urNp linux-2.6.38.1/drivers/pnp/quirks.c linux-2.6.38.1/drivers/pnp/quirks.c
--- linux-2.6.38.1/drivers/pnp/quirks.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pnp/quirks.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pnp/quirks.c 2011-03-21 18:31:35.000000000 -0400
@@ -322,7 +322,7 @@ static struct pnp_fixup pnp_fixups[] = {
/* PnP resources that might overlap PCI BARs */
{"PNP0c01", quirk_system_pci_resources},
@@ -27110,9 +27124,9 @@ diff -urNp linux-2.6.38.1/drivers/pnp/quirks.c linux-2.6.38.1-new/drivers/pnp/qu
};
void pnp_fixup_device(struct pnp_dev *dev)
-diff -urNp linux-2.6.38.1/drivers/pnp/resource.c linux-2.6.38.1-new/drivers/pnp/resource.c
+diff -urNp linux-2.6.38.1/drivers/pnp/resource.c linux-2.6.38.1/drivers/pnp/resource.c
--- linux-2.6.38.1/drivers/pnp/resource.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/pnp/resource.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/pnp/resource.c 2011-03-21 18:31:35.000000000 -0400
@@ -360,7 +360,7 @@ int pnp_check_irq(struct pnp_dev *dev, s
return 1;
@@ -27131,9 +27145,9 @@ diff -urNp linux-2.6.38.1/drivers/pnp/resource.c linux-2.6.38.1-new/drivers/pnp/
return 0;
/* check if the resource is reserved */
-diff -urNp linux-2.6.38.1/drivers/rtc/rtc-dev.c linux-2.6.38.1-new/drivers/rtc/rtc-dev.c
+diff -urNp linux-2.6.38.1/drivers/rtc/rtc-dev.c linux-2.6.38.1/drivers/rtc/rtc-dev.c
--- linux-2.6.38.1/drivers/rtc/rtc-dev.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/rtc/rtc-dev.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/rtc/rtc-dev.c 2011-03-21 18:31:35.000000000 -0400
@@ -14,6 +14,7 @@
#include <linux/module.h>
#include <linux/rtc.h>
@@ -27151,9 +27165,9 @@ diff -urNp linux-2.6.38.1/drivers/rtc/rtc-dev.c linux-2.6.38.1-new/drivers/rtc/r
return rtc_set_time(rtc, &tm);
case RTC_PIE_ON:
-diff -urNp linux-2.6.38.1/drivers/rtc/rtc-ds1511.c linux-2.6.38.1-new/drivers/rtc/rtc-ds1511.c
+diff -urNp linux-2.6.38.1/drivers/rtc/rtc-ds1511.c linux-2.6.38.1/drivers/rtc/rtc-ds1511.c
--- linux-2.6.38.1/drivers/rtc/rtc-ds1511.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/rtc/rtc-ds1511.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/rtc/rtc-ds1511.c 2011-03-21 18:31:35.000000000 -0400
@@ -485,7 +485,7 @@ ds1511_nvram_write(struct file *filp, st
static struct bin_attribute ds1511_nvram_attr = {
.attr = {
@@ -27163,9 +27177,9 @@ diff -urNp linux-2.6.38.1/drivers/rtc/rtc-ds1511.c linux-2.6.38.1-new/drivers/rt
},
.size = DS1511_RAM_MAX,
.read = ds1511_nvram_read,
-diff -urNp linux-2.6.38.1/drivers/s390/cio/qdio_debug.c linux-2.6.38.1-new/drivers/s390/cio/qdio_debug.c
+diff -urNp linux-2.6.38.1/drivers/s390/cio/qdio_debug.c linux-2.6.38.1/drivers/s390/cio/qdio_debug.c
--- linux-2.6.38.1/drivers/s390/cio/qdio_debug.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/s390/cio/qdio_debug.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/s390/cio/qdio_debug.c 2011-03-21 18:31:35.000000000 -0400
@@ -225,7 +225,7 @@ static int qperf_seq_open(struct inode *
filp->f_path.dentry->d_inode->i_private);
}
@@ -27175,9 +27189,9 @@ diff -urNp linux-2.6.38.1/drivers/s390/cio/qdio_debug.c linux-2.6.38.1-new/drive
.owner = THIS_MODULE,
.open = qperf_seq_open,
.read = seq_read,
-diff -urNp linux-2.6.38.1/drivers/scsi/aic94xx/aic94xx_init.c linux-2.6.38.1-new/drivers/scsi/aic94xx/aic94xx_init.c
+diff -urNp linux-2.6.38.1/drivers/scsi/aic94xx/aic94xx_init.c linux-2.6.38.1/drivers/scsi/aic94xx/aic94xx_init.c
--- linux-2.6.38.1/drivers/scsi/aic94xx/aic94xx_init.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/scsi/aic94xx/aic94xx_init.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/scsi/aic94xx/aic94xx_init.c 2011-03-21 18:31:35.000000000 -0400
@@ -486,7 +486,7 @@ static ssize_t asd_show_update_bios(stru
flash_error_table[i].reason);
}
@@ -27187,9 +27201,9 @@ diff -urNp linux-2.6.38.1/drivers/scsi/aic94xx/aic94xx_init.c linux-2.6.38.1-new
asd_show_update_bios, asd_store_update_bios);
static int asd_create_dev_attrs(struct asd_ha_struct *asd_ha)
-diff -urNp linux-2.6.38.1/drivers/scsi/hpsa.c linux-2.6.38.1-new/drivers/scsi/hpsa.c
+diff -urNp linux-2.6.38.1/drivers/scsi/hpsa.c linux-2.6.38.1/drivers/scsi/hpsa.c
--- linux-2.6.38.1/drivers/scsi/hpsa.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/scsi/hpsa.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/scsi/hpsa.c 2011-03-21 18:31:35.000000000 -0400
@@ -2281,6 +2281,8 @@ static int hpsa_ioctl32_passthru(struct
int err;
u32 cp;
@@ -27199,9 +27213,9 @@ diff -urNp linux-2.6.38.1/drivers/scsi/hpsa.c linux-2.6.38.1-new/drivers/scsi/hp
err = 0;
err |= copy_from_user(&arg64.LUN_info, &arg32->LUN_info,
sizeof(arg64.LUN_info));
-diff -urNp linux-2.6.38.1/drivers/scsi/ipr.c linux-2.6.38.1-new/drivers/scsi/ipr.c
+diff -urNp linux-2.6.38.1/drivers/scsi/ipr.c linux-2.6.38.1/drivers/scsi/ipr.c
--- linux-2.6.38.1/drivers/scsi/ipr.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/scsi/ipr.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/scsi/ipr.c 2011-03-21 18:31:35.000000000 -0400
@@ -6207,7 +6207,7 @@ static bool ipr_qc_fill_rtf(struct ata_q
return true;
}
@@ -27211,9 +27225,9 @@ diff -urNp linux-2.6.38.1/drivers/scsi/ipr.c linux-2.6.38.1-new/drivers/scsi/ipr
.phy_reset = ipr_ata_phy_reset,
.hardreset = ipr_sata_reset,
.post_internal_cmd = ipr_ata_post_internal,
-diff -urNp linux-2.6.38.1/drivers/scsi/libfc/fc_exch.c linux-2.6.38.1-new/drivers/scsi/libfc/fc_exch.c
+diff -urNp linux-2.6.38.1/drivers/scsi/libfc/fc_exch.c linux-2.6.38.1/drivers/scsi/libfc/fc_exch.c
--- linux-2.6.38.1/drivers/scsi/libfc/fc_exch.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/scsi/libfc/fc_exch.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/scsi/libfc/fc_exch.c 2011-03-21 18:31:35.000000000 -0400
@@ -105,12 +105,12 @@ struct fc_exch_mgr {
* all together if not used XXX
*/
@@ -27335,9 +27349,9 @@ diff -urNp linux-2.6.38.1/drivers/scsi/libfc/fc_exch.c linux-2.6.38.1-new/driver
fc_frame_free(fp);
}
-diff -urNp linux-2.6.38.1/drivers/scsi/libsas/sas_ata.c linux-2.6.38.1-new/drivers/scsi/libsas/sas_ata.c
+diff -urNp linux-2.6.38.1/drivers/scsi/libsas/sas_ata.c linux-2.6.38.1/drivers/scsi/libsas/sas_ata.c
--- linux-2.6.38.1/drivers/scsi/libsas/sas_ata.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/scsi/libsas/sas_ata.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/scsi/libsas/sas_ata.c 2011-03-21 18:31:35.000000000 -0400
@@ -348,10 +348,10 @@ static int sas_ata_scr_read(struct ata_l
}
}
@@ -27351,9 +27365,9 @@ diff -urNp linux-2.6.38.1/drivers/scsi/libsas/sas_ata.c linux-2.6.38.1-new/drive
.qc_prep = ata_noop_qc_prep,
.qc_issue = sas_ata_qc_issue,
.qc_fill_rtf = sas_ata_qc_fill_rtf,
-diff -urNp linux-2.6.38.1/drivers/scsi/mpt2sas/mpt2sas_debug.h linux-2.6.38.1-new/drivers/scsi/mpt2sas/mpt2sas_debug.h
+diff -urNp linux-2.6.38.1/drivers/scsi/mpt2sas/mpt2sas_debug.h linux-2.6.38.1/drivers/scsi/mpt2sas/mpt2sas_debug.h
--- linux-2.6.38.1/drivers/scsi/mpt2sas/mpt2sas_debug.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/scsi/mpt2sas/mpt2sas_debug.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/scsi/mpt2sas/mpt2sas_debug.h 2011-03-21 18:31:35.000000000 -0400
@@ -79,7 +79,7 @@
CMD; \
}
@@ -27363,9 +27377,9 @@ diff -urNp linux-2.6.38.1/drivers/scsi/mpt2sas/mpt2sas_debug.h linux-2.6.38.1-ne
#endif /* CONFIG_SCSI_MPT2SAS_LOGGING */
-diff -urNp linux-2.6.38.1/drivers/scsi/qla2xxx/qla_os.c linux-2.6.38.1-new/drivers/scsi/qla2xxx/qla_os.c
+diff -urNp linux-2.6.38.1/drivers/scsi/qla2xxx/qla_os.c linux-2.6.38.1/drivers/scsi/qla2xxx/qla_os.c
--- linux-2.6.38.1/drivers/scsi/qla2xxx/qla_os.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/scsi/qla2xxx/qla_os.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/scsi/qla2xxx/qla_os.c 2011-03-21 18:31:35.000000000 -0400
@@ -4096,7 +4096,7 @@ static struct pci_driver qla2xxx_pci_dri
.err_handler = &qla2xxx_err_handler,
};
@@ -27375,9 +27389,9 @@ diff -urNp linux-2.6.38.1/drivers/scsi/qla2xxx/qla_os.c linux-2.6.38.1-new/drive
.owner = THIS_MODULE,
.llseek = noop_llseek,
};
-diff -urNp linux-2.6.38.1/drivers/scsi/scsi_logging.h linux-2.6.38.1-new/drivers/scsi/scsi_logging.h
+diff -urNp linux-2.6.38.1/drivers/scsi/scsi_logging.h linux-2.6.38.1/drivers/scsi/scsi_logging.h
--- linux-2.6.38.1/drivers/scsi/scsi_logging.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/scsi/scsi_logging.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/scsi/scsi_logging.h 2011-03-21 18:31:35.000000000 -0400
@@ -51,7 +51,7 @@ do { \
} while (0); \
} while (0)
@@ -27387,9 +27401,9 @@ diff -urNp linux-2.6.38.1/drivers/scsi/scsi_logging.h linux-2.6.38.1-new/drivers
#endif /* CONFIG_SCSI_LOGGING */
/*
-diff -urNp linux-2.6.38.1/drivers/scsi/scsi_transport_iscsi.c linux-2.6.38.1-new/drivers/scsi/scsi_transport_iscsi.c
+diff -urNp linux-2.6.38.1/drivers/scsi/scsi_transport_iscsi.c linux-2.6.38.1/drivers/scsi/scsi_transport_iscsi.c
--- linux-2.6.38.1/drivers/scsi/scsi_transport_iscsi.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/scsi/scsi_transport_iscsi.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/scsi/scsi_transport_iscsi.c 2011-03-21 18:31:35.000000000 -0400
@@ -1847,7 +1847,7 @@ store_priv_session_##field(struct device
#define iscsi_priv_session_rw_attr(field, format) \
iscsi_priv_session_attr_show(field, format) \
@@ -27399,9 +27413,9 @@ diff -urNp linux-2.6.38.1/drivers/scsi/scsi_transport_iscsi.c linux-2.6.38.1-new
show_priv_session_##field, \
store_priv_session_##field)
iscsi_priv_session_rw_attr(recovery_tmo, "%d");
-diff -urNp linux-2.6.38.1/drivers/scsi/sg.c linux-2.6.38.1-new/drivers/scsi/sg.c
+diff -urNp linux-2.6.38.1/drivers/scsi/sg.c linux-2.6.38.1/drivers/scsi/sg.c
--- linux-2.6.38.1/drivers/scsi/sg.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/scsi/sg.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/scsi/sg.c 2011-03-21 18:31:35.000000000 -0400
@@ -2310,7 +2310,7 @@ struct sg_proc_leaf {
const struct file_operations * fops;
};
@@ -27420,9 +27434,9 @@ diff -urNp linux-2.6.38.1/drivers/scsi/sg.c linux-2.6.38.1-new/drivers/scsi/sg.c
sg_proc_sgp = proc_mkdir(sg_proc_sg_dirname, NULL);
if (!sg_proc_sgp)
-diff -urNp linux-2.6.38.1/drivers/staging/autofs/root.c linux-2.6.38.1-new/drivers/staging/autofs/root.c
+diff -urNp linux-2.6.38.1/drivers/staging/autofs/root.c linux-2.6.38.1/drivers/staging/autofs/root.c
--- linux-2.6.38.1/drivers/staging/autofs/root.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/autofs/root.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/autofs/root.c 2011-03-21 18:31:35.000000000 -0400
@@ -311,7 +311,8 @@ static int autofs_root_symlink(struct in
set_bit(n,sbi->symlink_bitmap);
sl = &sbi->symlink[n];
@@ -27433,9 +27447,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/autofs/root.c linux-2.6.38.1-new/drive
if (!sl->data) {
clear_bit(n,sbi->symlink_bitmap);
unlock_kernel();
-diff -urNp linux-2.6.38.1/drivers/staging/bcm/Bcmchar.c linux-2.6.38.1-new/drivers/staging/bcm/Bcmchar.c
+diff -urNp linux-2.6.38.1/drivers/staging/bcm/Bcmchar.c linux-2.6.38.1/drivers/staging/bcm/Bcmchar.c
--- linux-2.6.38.1/drivers/staging/bcm/Bcmchar.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/bcm/Bcmchar.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/bcm/Bcmchar.c 2011-03-21 18:31:35.000000000 -0400
@@ -2093,7 +2093,7 @@ static long bcm_char_ioctl(struct file *
}
@@ -27445,9 +27459,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/bcm/Bcmchar.c linux-2.6.38.1-new/drive
.owner = THIS_MODULE,
.open = bcm_char_open,
.release = bcm_char_release,
-diff -urNp linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/dhd_linux.c linux-2.6.38.1-new/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
+diff -urNp linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/dhd_linux.c linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
--- linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/dhd_linux.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/brcm80211/brcmfmac/dhd_linux.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/dhd_linux.c 2011-03-21 18:31:35.000000000 -0400
@@ -863,14 +863,14 @@ static void dhd_op_if(dhd_if_t *ifp)
free_netdev(ifp->net);
}
@@ -27503,9 +27517,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/dhd_linux.c linux-2
#if defined(CUSTOMER_HW2) && defined(CONFIG_WIFI_CONTROL_FUNC)
g_bus = bus;
-diff -urNp linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/wl_iw.c linux-2.6.38.1-new/drivers/staging/brcm80211/brcmfmac/wl_iw.c
+diff -urNp linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/wl_iw.c linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/wl_iw.c
--- linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/wl_iw.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/brcm80211/brcmfmac/wl_iw.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/wl_iw.c 2011-03-21 18:31:35.000000000 -0400
@@ -513,7 +513,7 @@ wl_iw_get_range(struct net_device *dev,
list = (wl_u32_list_t *) channels;
@@ -27515,9 +27529,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/brcm80211/brcmfmac/wl_iw.c linux-2.6.3
range->min_nwid = range->max_nwid = 0;
-diff -urNp linux-2.6.38.1/drivers/staging/comedi/comedi_fops.c linux-2.6.38.1-new/drivers/staging/comedi/comedi_fops.c
+diff -urNp linux-2.6.38.1/drivers/staging/comedi/comedi_fops.c linux-2.6.38.1/drivers/staging/comedi/comedi_fops.c
--- linux-2.6.38.1/drivers/staging/comedi/comedi_fops.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/comedi/comedi_fops.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/comedi/comedi_fops.c 2011-03-21 18:31:35.000000000 -0400
@@ -1426,7 +1426,7 @@ static void comedi_unmap(struct vm_area_
mutex_unlock(&dev->mutex);
}
@@ -27527,9 +27541,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/comedi/comedi_fops.c linux-2.6.38.1-ne
.close = comedi_unmap,
};
-diff -urNp linux-2.6.38.1/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c linux-2.6.38.1-new/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
+diff -urNp linux-2.6.38.1/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c linux-2.6.38.1/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
--- linux-2.6.38.1/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c 2011-03-21 18:31:35.000000000 -0400
@@ -55,7 +55,7 @@ int numofmsgbuf = 0;
//
// Table of entry-point routines for char device
@@ -27539,9 +27553,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c linux
{
.unlocked_ioctl = ft1000_ioctl,
.poll = ft1000_poll_dev,
-diff -urNp linux-2.6.38.1/drivers/staging/go7007/go7007-v4l2.c linux-2.6.38.1-new/drivers/staging/go7007/go7007-v4l2.c
+diff -urNp linux-2.6.38.1/drivers/staging/go7007/go7007-v4l2.c linux-2.6.38.1/drivers/staging/go7007/go7007-v4l2.c
--- linux-2.6.38.1/drivers/staging/go7007/go7007-v4l2.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/go7007/go7007-v4l2.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/go7007/go7007-v4l2.c 2011-03-21 18:31:35.000000000 -0400
@@ -1672,7 +1672,7 @@ static int go7007_vm_fault(struct vm_are
return 0;
}
@@ -27551,9 +27565,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/go7007/go7007-v4l2.c linux-2.6.38.1-ne
.open = go7007_vm_open,
.close = go7007_vm_close,
.fault = go7007_vm_fault,
-diff -urNp linux-2.6.38.1/drivers/staging/hv/hv.c linux-2.6.38.1-new/drivers/staging/hv/hv.c
+diff -urNp linux-2.6.38.1/drivers/staging/hv/hv.c linux-2.6.38.1/drivers/staging/hv/hv.c
--- linux-2.6.38.1/drivers/staging/hv/hv.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/hv/hv.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/hv/hv.c 2011-03-21 18:31:35.000000000 -0400
@@ -163,7 +163,7 @@ static u64 do_hypercall(u64 control, voi
u64 output_address = (output) ? virt_to_phys(output) : 0;
u32 output_address_hi = output_address >> 32;
@@ -27563,9 +27577,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/hv/hv.c linux-2.6.38.1-new/drivers/sta
DPRINT_DBG(VMBUS, "Hypercall <control %llx input %p output %p>",
control, input, output);
-diff -urNp linux-2.6.38.1/drivers/staging/phison/phison.c linux-2.6.38.1-new/drivers/staging/phison/phison.c
+diff -urNp linux-2.6.38.1/drivers/staging/phison/phison.c linux-2.6.38.1/drivers/staging/phison/phison.c
--- linux-2.6.38.1/drivers/staging/phison/phison.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/phison/phison.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/phison/phison.c 2011-03-21 18:31:35.000000000 -0400
@@ -43,7 +43,7 @@ static struct scsi_host_template phison_
ATA_BMDMA_SHT(DRV_NAME),
};
@@ -27575,9 +27589,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/phison/phison.c linux-2.6.38.1-new/dri
.inherits = &ata_bmdma_port_ops,
.prereset = phison_pre_reset,
};
-diff -urNp linux-2.6.38.1/drivers/staging/pohmelfs/inode.c linux-2.6.38.1-new/drivers/staging/pohmelfs/inode.c
+diff -urNp linux-2.6.38.1/drivers/staging/pohmelfs/inode.c linux-2.6.38.1/drivers/staging/pohmelfs/inode.c
--- linux-2.6.38.1/drivers/staging/pohmelfs/inode.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/pohmelfs/inode.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/pohmelfs/inode.c 2011-03-21 18:31:35.000000000 -0400
@@ -1855,7 +1855,7 @@ static int pohmelfs_fill_super(struct su
mutex_init(&psb->mcache_lock);
psb->mcache_root = RB_ROOT;
@@ -27587,9 +27601,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/pohmelfs/inode.c linux-2.6.38.1-new/dr
psb->trans_max_pages = 100;
-diff -urNp linux-2.6.38.1/drivers/staging/pohmelfs/mcache.c linux-2.6.38.1-new/drivers/staging/pohmelfs/mcache.c
+diff -urNp linux-2.6.38.1/drivers/staging/pohmelfs/mcache.c linux-2.6.38.1/drivers/staging/pohmelfs/mcache.c
--- linux-2.6.38.1/drivers/staging/pohmelfs/mcache.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/pohmelfs/mcache.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/pohmelfs/mcache.c 2011-03-21 18:31:35.000000000 -0400
@@ -121,7 +121,7 @@ struct pohmelfs_mcache *pohmelfs_mcache_
m->data = data;
m->start = start;
@@ -27599,9 +27613,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/pohmelfs/mcache.c linux-2.6.38.1-new/d
mutex_lock(&psb->mcache_lock);
err = pohmelfs_mcache_insert(psb, m);
-diff -urNp linux-2.6.38.1/drivers/staging/pohmelfs/netfs.h linux-2.6.38.1-new/drivers/staging/pohmelfs/netfs.h
+diff -urNp linux-2.6.38.1/drivers/staging/pohmelfs/netfs.h linux-2.6.38.1/drivers/staging/pohmelfs/netfs.h
--- linux-2.6.38.1/drivers/staging/pohmelfs/netfs.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/pohmelfs/netfs.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/pohmelfs/netfs.h 2011-03-21 18:31:35.000000000 -0400
@@ -571,7 +571,7 @@ struct pohmelfs_config;
struct pohmelfs_sb {
struct rb_root mcache_root;
@@ -27611,9 +27625,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/pohmelfs/netfs.h linux-2.6.38.1-new/dr
unsigned long mcache_timeout;
unsigned int idx;
-diff -urNp linux-2.6.38.1/drivers/staging/rtl8192u/ieee80211/proc.c linux-2.6.38.1-new/drivers/staging/rtl8192u/ieee80211/proc.c
+diff -urNp linux-2.6.38.1/drivers/staging/rtl8192u/ieee80211/proc.c linux-2.6.38.1/drivers/staging/rtl8192u/ieee80211/proc.c
--- linux-2.6.38.1/drivers/staging/rtl8192u/ieee80211/proc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/rtl8192u/ieee80211/proc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/rtl8192u/ieee80211/proc.c 2011-03-21 18:31:35.000000000 -0400
@@ -99,7 +99,7 @@ static int crypto_info_open(struct inode
return seq_open(file, &crypto_seq_ops);
}
@@ -27623,9 +27637,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/rtl8192u/ieee80211/proc.c linux-2.6.38
.open = crypto_info_open,
.read = seq_read,
.llseek = seq_lseek,
-diff -urNp linux-2.6.38.1/drivers/staging/spectra/ffsport.c linux-2.6.38.1-new/drivers/staging/spectra/ffsport.c
+diff -urNp linux-2.6.38.1/drivers/staging/spectra/ffsport.c linux-2.6.38.1/drivers/staging/spectra/ffsport.c
--- linux-2.6.38.1/drivers/staging/spectra/ffsport.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/spectra/ffsport.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/spectra/ffsport.c 2011-03-21 18:31:35.000000000 -0400
@@ -604,7 +604,7 @@ int GLOB_SBD_unlocked_ioctl(struct block
return ret;
}
@@ -27635,9 +27649,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/spectra/ffsport.c linux-2.6.38.1-new/d
.owner = THIS_MODULE,
.open = GLOB_SBD_open,
.release = GLOB_SBD_release,
-diff -urNp linux-2.6.38.1/drivers/staging/vme/devices/vme_user.c linux-2.6.38.1-new/drivers/staging/vme/devices/vme_user.c
+diff -urNp linux-2.6.38.1/drivers/staging/vme/devices/vme_user.c linux-2.6.38.1/drivers/staging/vme/devices/vme_user.c
--- linux-2.6.38.1/drivers/staging/vme/devices/vme_user.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/vme/devices/vme_user.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/vme/devices/vme_user.c 2011-03-21 18:31:35.000000000 -0400
@@ -138,7 +138,7 @@ static long vme_user_unlocked_ioctl(stru
static int __devinit vme_user_probe(struct device *, int, int);
static int __devexit vme_user_remove(struct device *, int, int);
@@ -27647,9 +27661,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/vme/devices/vme_user.c linux-2.6.38.1-
.open = vme_user_open,
.release = vme_user_release,
.read = vme_user_read,
-diff -urNp linux-2.6.38.1/drivers/staging/westbridge/astoria/block/cyasblkdev_block.c linux-2.6.38.1-new/drivers/staging/westbridge/astoria/block/cyasblkdev_block.c
+diff -urNp linux-2.6.38.1/drivers/staging/westbridge/astoria/block/cyasblkdev_block.c linux-2.6.38.1/drivers/staging/westbridge/astoria/block/cyasblkdev_block.c
--- linux-2.6.38.1/drivers/staging/westbridge/astoria/block/cyasblkdev_block.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/staging/westbridge/astoria/block/cyasblkdev_block.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/staging/westbridge/astoria/block/cyasblkdev_block.c 2011-03-21 18:31:35.000000000 -0400
@@ -426,7 +426,7 @@ int cyasblkdev_revalidate_disk(struct ge
@@ -27659,9 +27673,9 @@ diff -urNp linux-2.6.38.1/drivers/staging/westbridge/astoria/block/cyasblkdev_bl
.open = cyasblkdev_blk_open,
.release = cyasblkdev_blk_release,
.ioctl = cyasblkdev_blk_ioctl,
-diff -urNp linux-2.6.38.1/drivers/tty/hvc/hvc_console.h linux-2.6.38.1-new/drivers/tty/hvc/hvc_console.h
+diff -urNp linux-2.6.38.1/drivers/tty/hvc/hvc_console.h linux-2.6.38.1/drivers/tty/hvc/hvc_console.h
--- linux-2.6.38.1/drivers/tty/hvc/hvc_console.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/hvc/hvc_console.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/hvc/hvc_console.h 2011-03-21 18:31:35.000000000 -0400
@@ -82,6 +82,7 @@ extern int hvc_instantiate(uint32_t vter
/* register a vterm for hvc tty operation (module_init or hotplug add) */
extern struct hvc_struct * hvc_alloc(uint32_t vtermno, int data,
@@ -27670,9 +27684,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/hvc/hvc_console.h linux-2.6.38.1-new/drive
/* remove a vterm from hvc tty operation (module_exit or hotplug remove) */
extern int hvc_remove(struct hvc_struct *hp);
-diff -urNp linux-2.6.38.1/drivers/tty/hvc/hvcs.c linux-2.6.38.1-new/drivers/tty/hvc/hvcs.c
+diff -urNp linux-2.6.38.1/drivers/tty/hvc/hvcs.c linux-2.6.38.1/drivers/tty/hvc/hvcs.c
--- linux-2.6.38.1/drivers/tty/hvc/hvcs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/hvc/hvcs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/hvc/hvcs.c 2011-03-21 18:31:35.000000000 -0400
@@ -83,6 +83,7 @@
#include <asm/hvcserver.h>
#include <asm/uaccess.h>
@@ -27775,9 +27789,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/hvc/hvcs.c linux-2.6.38.1-new/drivers/tty/
return 0;
return HVCS_BUFF_LEN - hvcsd->chars_in_buffer;
-diff -urNp linux-2.6.38.1/drivers/tty/hvc/hvc_xen.c linux-2.6.38.1-new/drivers/tty/hvc/hvc_xen.c
+diff -urNp linux-2.6.38.1/drivers/tty/hvc/hvc_xen.c linux-2.6.38.1/drivers/tty/hvc/hvc_xen.c
--- linux-2.6.38.1/drivers/tty/hvc/hvc_xen.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/hvc/hvc_xen.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/hvc/hvc_xen.c 2011-03-21 18:31:35.000000000 -0400
@@ -123,7 +123,7 @@ static int domU_read_console(uint32_t vt
return recv;
}
@@ -27814,9 +27828,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/hvc/hvc_xen.c linux-2.6.38.1-new/drivers/t
if (!xen_pv_domain())
return 0;
-diff -urNp linux-2.6.38.1/drivers/tty/n_gsm.c linux-2.6.38.1-new/drivers/tty/n_gsm.c
+diff -urNp linux-2.6.38.1/drivers/tty/n_gsm.c linux-2.6.38.1/drivers/tty/n_gsm.c
--- linux-2.6.38.1/drivers/tty/n_gsm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/n_gsm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/n_gsm.c 2011-03-21 18:31:35.000000000 -0400
@@ -1589,7 +1589,7 @@ static struct gsm_dlci *gsm_dlci_alloc(s
return NULL;
spin_lock_init(&dlci->lock);
@@ -27826,9 +27840,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/n_gsm.c linux-2.6.38.1-new/drivers/tty/n_g
kfree(dlci);
return NULL;
}
-diff -urNp linux-2.6.38.1/drivers/tty/n_tty.c linux-2.6.38.1-new/drivers/tty/n_tty.c
+diff -urNp linux-2.6.38.1/drivers/tty/n_tty.c linux-2.6.38.1/drivers/tty/n_tty.c
--- linux-2.6.38.1/drivers/tty/n_tty.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/n_tty.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/n_tty.c 2011-03-21 18:31:35.000000000 -0400
@@ -2116,6 +2116,7 @@ void n_tty_inherit_ops(struct tty_ldisc_
{
*ops = tty_ldisc_N_TTY;
@@ -27838,9 +27852,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/n_tty.c linux-2.6.38.1-new/drivers/tty/n_t
+ ops->flags = 0;
}
EXPORT_SYMBOL_GPL(n_tty_inherit_ops);
-diff -urNp linux-2.6.38.1/drivers/tty/pty.c linux-2.6.38.1-new/drivers/tty/pty.c
+diff -urNp linux-2.6.38.1/drivers/tty/pty.c linux-2.6.38.1/drivers/tty/pty.c
--- linux-2.6.38.1/drivers/tty/pty.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/pty.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/pty.c 2011-03-21 18:31:35.000000000 -0400
@@ -700,7 +700,18 @@ out:
return retval;
}
@@ -27872,9 +27886,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/pty.c linux-2.6.38.1-new/drivers/tty/pty.c
cdev_init(&ptmx_cdev, &ptmx_fops);
if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) ||
register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0)
-diff -urNp linux-2.6.38.1/drivers/tty/serial/8250_pci.c linux-2.6.38.1-new/drivers/tty/serial/8250_pci.c
+diff -urNp linux-2.6.38.1/drivers/tty/serial/8250_pci.c linux-2.6.38.1/drivers/tty/serial/8250_pci.c
--- linux-2.6.38.1/drivers/tty/serial/8250_pci.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/serial/8250_pci.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/serial/8250_pci.c 2011-03-21 18:31:35.000000000 -0400
@@ -3818,7 +3818,7 @@ static struct pci_device_id serial_pci_t
PCI_ANY_ID, PCI_ANY_ID,
PCI_CLASS_COMMUNICATION_MULTISERIAL << 8,
@@ -27884,9 +27898,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/serial/8250_pci.c linux-2.6.38.1-new/drive
};
static struct pci_driver serial_pci_driver = {
-diff -urNp linux-2.6.38.1/drivers/tty/serial/kgdboc.c linux-2.6.38.1-new/drivers/tty/serial/kgdboc.c
+diff -urNp linux-2.6.38.1/drivers/tty/serial/kgdboc.c linux-2.6.38.1/drivers/tty/serial/kgdboc.c
--- linux-2.6.38.1/drivers/tty/serial/kgdboc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/serial/kgdboc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/serial/kgdboc.c 2011-03-21 18:31:35.000000000 -0400
@@ -22,7 +22,7 @@
#define MAX_CONFIG_LEN 40
@@ -27905,9 +27919,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/serial/kgdboc.c linux-2.6.38.1-new/drivers
.name = "kgdboc",
.read_char = kgdboc_get_char,
.write_char = kgdboc_put_char,
-diff -urNp linux-2.6.38.1/drivers/tty/tty_io.c linux-2.6.38.1-new/drivers/tty/tty_io.c
+diff -urNp linux-2.6.38.1/drivers/tty/tty_io.c linux-2.6.38.1/drivers/tty/tty_io.c
--- linux-2.6.38.1/drivers/tty/tty_io.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/tty_io.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/tty_io.c 2011-03-21 18:31:35.000000000 -0400
@@ -140,21 +140,11 @@ EXPORT_SYMBOL(tty_mutex);
/* Spinlock to protect the tty->tty_files list */
DEFINE_SPINLOCK(tty_files_lock);
@@ -28045,9 +28059,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/tty_io.c linux-2.6.38.1-new/drivers/tty/tt
/*
* Initialize the console device. This is called *early*, so
* we can't necessarily depend on lots of kernel help here.
-diff -urNp linux-2.6.38.1/drivers/tty/tty_ldisc.c linux-2.6.38.1-new/drivers/tty/tty_ldisc.c
+diff -urNp linux-2.6.38.1/drivers/tty/tty_ldisc.c linux-2.6.38.1/drivers/tty/tty_ldisc.c
--- linux-2.6.38.1/drivers/tty/tty_ldisc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/tty_ldisc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/tty_ldisc.c 2011-03-21 18:31:35.000000000 -0400
@@ -76,7 +76,7 @@ static void put_ldisc(struct tty_ldisc *
if (atomic_dec_and_lock(&ld->users, &tty_ldisc_lock)) {
struct tty_ldisc_ops *ldo = ld->ops;
@@ -28093,9 +28107,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/tty_ldisc.c linux-2.6.38.1-new/drivers/tty
module_put(ldops->owner);
spin_unlock_irqrestore(&tty_ldisc_lock, flags);
}
-diff -urNp linux-2.6.38.1/drivers/tty/vt/keyboard.c linux-2.6.38.1-new/drivers/tty/vt/keyboard.c
+diff -urNp linux-2.6.38.1/drivers/tty/vt/keyboard.c linux-2.6.38.1/drivers/tty/vt/keyboard.c
--- linux-2.6.38.1/drivers/tty/vt/keyboard.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/vt/keyboard.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/vt/keyboard.c 2011-03-21 18:31:35.000000000 -0400
@@ -657,6 +657,16 @@ static void k_spec(struct vc_data *vc, u
kbd->kbdmode == VC_MEDIUMRAW) &&
value != KVAL(K_SAK))
@@ -28122,9 +28136,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/vt/keyboard.c linux-2.6.38.1-new/drivers/t
};
MODULE_DEVICE_TABLE(input, kbd_ids);
-diff -urNp linux-2.6.38.1/drivers/tty/vt/vt.c linux-2.6.38.1-new/drivers/tty/vt/vt.c
+diff -urNp linux-2.6.38.1/drivers/tty/vt/vt.c linux-2.6.38.1/drivers/tty/vt/vt.c
--- linux-2.6.38.1/drivers/tty/vt/vt.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/vt/vt.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/vt/vt.c 2011-03-21 18:31:35.000000000 -0400
@@ -262,7 +262,7 @@ EXPORT_SYMBOL_GPL(unregister_vt_notifier
static void notify_write(struct vc_data *vc, unsigned int unicode)
@@ -28134,9 +28148,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/vt/vt.c linux-2.6.38.1-new/drivers/tty/vt/
atomic_notifier_call_chain(&vt_notifier_list, VT_WRITE, &param);
}
-diff -urNp linux-2.6.38.1/drivers/tty/vt/vt_ioctl.c linux-2.6.38.1-new/drivers/tty/vt/vt_ioctl.c
+diff -urNp linux-2.6.38.1/drivers/tty/vt/vt_ioctl.c linux-2.6.38.1/drivers/tty/vt/vt_ioctl.c
--- linux-2.6.38.1/drivers/tty/vt/vt_ioctl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/tty/vt/vt_ioctl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/tty/vt/vt_ioctl.c 2011-03-21 18:31:35.000000000 -0400
@@ -210,9 +210,6 @@ do_kdsk_ioctl(int cmd, struct kbentry __
if (copy_from_user(&tmp, user_kbe, sizeof(struct kbentry)))
return -EFAULT;
@@ -28177,9 +28191,9 @@ diff -urNp linux-2.6.38.1/drivers/tty/vt/vt_ioctl.c linux-2.6.38.1-new/drivers/t
if (!perm) {
ret = -EPERM;
goto reterr;
-diff -urNp linux-2.6.38.1/drivers/uio/uio.c linux-2.6.38.1-new/drivers/uio/uio.c
+diff -urNp linux-2.6.38.1/drivers/uio/uio.c linux-2.6.38.1/drivers/uio/uio.c
--- linux-2.6.38.1/drivers/uio/uio.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/uio/uio.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/uio/uio.c 2011-03-21 18:31:35.000000000 -0400
@@ -25,6 +25,7 @@
#include <linux/kobject.h>
#include <linux/cdev.h>
@@ -28213,9 +28227,9 @@ diff -urNp linux-2.6.38.1/drivers/uio/uio.c linux-2.6.38.1-new/drivers/uio/uio.c
}
static int uio_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
-diff -urNp linux-2.6.38.1/drivers/usb/atm/cxacru.c linux-2.6.38.1-new/drivers/usb/atm/cxacru.c
+diff -urNp linux-2.6.38.1/drivers/usb/atm/cxacru.c linux-2.6.38.1/drivers/usb/atm/cxacru.c
--- linux-2.6.38.1/drivers/usb/atm/cxacru.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/atm/cxacru.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/atm/cxacru.c 2011-03-21 18:31:35.000000000 -0400
@@ -473,7 +473,7 @@ static ssize_t cxacru_sysfs_store_adsl_c
ret = sscanf(buf + pos, "%x=%x%n", &index, &value, &tmp);
if (ret < 2)
@@ -28225,9 +28239,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/atm/cxacru.c linux-2.6.38.1-new/drivers/us
return -EINVAL;
pos += tmp;
-diff -urNp linux-2.6.38.1/drivers/usb/atm/usbatm.c linux-2.6.38.1-new/drivers/usb/atm/usbatm.c
+diff -urNp linux-2.6.38.1/drivers/usb/atm/usbatm.c linux-2.6.38.1/drivers/usb/atm/usbatm.c
--- linux-2.6.38.1/drivers/usb/atm/usbatm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/atm/usbatm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/atm/usbatm.c 2011-03-21 18:31:35.000000000 -0400
@@ -332,7 +332,7 @@ static void usbatm_extract_one_cell(stru
if (printk_ratelimit())
atm_warn(instance, "%s: OAM not supported (vpi %d, vci %d)!\n",
@@ -28307,9 +28321,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/atm/usbatm.c linux-2.6.38.1-new/drivers/us
if (!left--) {
if (instance->disconnected)
-diff -urNp linux-2.6.38.1/drivers/usb/class/cdc-acm.c linux-2.6.38.1-new/drivers/usb/class/cdc-acm.c
+diff -urNp linux-2.6.38.1/drivers/usb/class/cdc-acm.c linux-2.6.38.1/drivers/usb/class/cdc-acm.c
--- linux-2.6.38.1/drivers/usb/class/cdc-acm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/class/cdc-acm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/class/cdc-acm.c 2011-03-21 18:31:35.000000000 -0400
@@ -1635,7 +1635,7 @@ static const struct usb_device_id acm_id
{ USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ACM,
USB_CDC_ACM_PROTO_AT_CDMA) },
@@ -28319,9 +28333,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/class/cdc-acm.c linux-2.6.38.1-new/drivers
};
MODULE_DEVICE_TABLE(usb, acm_ids);
-diff -urNp linux-2.6.38.1/drivers/usb/class/usblp.c linux-2.6.38.1-new/drivers/usb/class/usblp.c
+diff -urNp linux-2.6.38.1/drivers/usb/class/usblp.c linux-2.6.38.1/drivers/usb/class/usblp.c
--- linux-2.6.38.1/drivers/usb/class/usblp.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/class/usblp.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/class/usblp.c 2011-03-21 18:31:35.000000000 -0400
@@ -227,7 +227,7 @@ static const struct quirk_printer_struct
{ 0x0482, 0x0010, USBLP_QUIRK_BIDIR }, /* Kyocera Mita FS 820, by zut <kernel@zut.de> */
{ 0x04f9, 0x000d, USBLP_QUIRK_BIDIR }, /* Brother Industries, Ltd HL-1440 Laser Printer */
@@ -28340,9 +28354,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/class/usblp.c linux-2.6.38.1-new/drivers/u
};
MODULE_DEVICE_TABLE(usb, usblp_ids);
-diff -urNp linux-2.6.38.1/drivers/usb/core/hcd.c linux-2.6.38.1-new/drivers/usb/core/hcd.c
+diff -urNp linux-2.6.38.1/drivers/usb/core/hcd.c linux-2.6.38.1/drivers/usb/core/hcd.c
--- linux-2.6.38.1/drivers/usb/core/hcd.c 2011-03-23 17:20:07.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/core/hcd.c 2011-03-23 17:21:51.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/core/hcd.c 2011-03-26 20:49:43.000000000 -0400
@@ -2457,7 +2457,7 @@ EXPORT_SYMBOL_GPL(usb_hcd_platform_shutd
#if defined(CONFIG_USB_MON) || defined(CONFIG_USB_MON_MODULE)
@@ -28361,9 +28375,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/core/hcd.c linux-2.6.38.1-new/drivers/usb/
{
if (mon_ops)
-diff -urNp linux-2.6.38.1/drivers/usb/core/hub.c linux-2.6.38.1-new/drivers/usb/core/hub.c
+diff -urNp linux-2.6.38.1/drivers/usb/core/hub.c linux-2.6.38.1/drivers/usb/core/hub.c
--- linux-2.6.38.1/drivers/usb/core/hub.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/core/hub.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/core/hub.c 2011-03-21 18:31:35.000000000 -0400
@@ -3492,7 +3492,7 @@ static const struct usb_device_id hub_id
.bDeviceClass = USB_CLASS_HUB},
{ .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS,
@@ -28373,9 +28387,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/core/hub.c linux-2.6.38.1-new/drivers/usb/
};
MODULE_DEVICE_TABLE (usb, hub_id_table);
-diff -urNp linux-2.6.38.1/drivers/usb/core/message.c linux-2.6.38.1-new/drivers/usb/core/message.c
+diff -urNp linux-2.6.38.1/drivers/usb/core/message.c linux-2.6.38.1/drivers/usb/core/message.c
--- linux-2.6.38.1/drivers/usb/core/message.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/core/message.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/core/message.c 2011-03-21 18:31:35.000000000 -0400
@@ -869,8 +869,8 @@ char *usb_cache_string(struct usb_device
buf = kmalloc(MAX_USB_STRING_SIZE, GFP_NOIO);
if (buf) {
@@ -28387,9 +28401,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/core/message.c linux-2.6.38.1-new/drivers/
if (!smallbuf)
return buf;
memcpy(smallbuf, buf, len);
-diff -urNp linux-2.6.38.1/drivers/usb/early/ehci-dbgp.c linux-2.6.38.1-new/drivers/usb/early/ehci-dbgp.c
+diff -urNp linux-2.6.38.1/drivers/usb/early/ehci-dbgp.c linux-2.6.38.1/drivers/usb/early/ehci-dbgp.c
--- linux-2.6.38.1/drivers/usb/early/ehci-dbgp.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/early/ehci-dbgp.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/early/ehci-dbgp.c 2011-03-21 18:31:35.000000000 -0400
@@ -96,7 +96,7 @@ static inline u32 dbgp_len_update(u32 x,
}
@@ -28408,9 +28422,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/early/ehci-dbgp.c linux-2.6.38.1-new/drive
.name = "kgdbdbgp",
.read_char = kgdbdbgp_read_char,
.write_char = kgdbdbgp_write_char,
-diff -urNp linux-2.6.38.1/drivers/usb/host/ehci-pci.c linux-2.6.38.1-new/drivers/usb/host/ehci-pci.c
+diff -urNp linux-2.6.38.1/drivers/usb/host/ehci-pci.c linux-2.6.38.1/drivers/usb/host/ehci-pci.c
--- linux-2.6.38.1/drivers/usb/host/ehci-pci.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/host/ehci-pci.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/host/ehci-pci.c 2011-03-21 18:31:35.000000000 -0400
@@ -516,7 +516,7 @@ static const struct pci_device_id pci_id
PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_EHCI, ~0),
.driver_data = (unsigned long) &ehci_pci_hc_driver,
@@ -28420,9 +28434,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/host/ehci-pci.c linux-2.6.38.1-new/drivers
};
MODULE_DEVICE_TABLE(pci, pci_ids);
-diff -urNp linux-2.6.38.1/drivers/usb/host/uhci-hcd.c linux-2.6.38.1-new/drivers/usb/host/uhci-hcd.c
+diff -urNp linux-2.6.38.1/drivers/usb/host/uhci-hcd.c linux-2.6.38.1/drivers/usb/host/uhci-hcd.c
--- linux-2.6.38.1/drivers/usb/host/uhci-hcd.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/host/uhci-hcd.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/host/uhci-hcd.c 2011-03-21 18:31:35.000000000 -0400
@@ -948,7 +948,7 @@ static const struct pci_device_id uhci_p
/* handle any USB UHCI controller */
PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_UHCI, ~0),
@@ -28432,9 +28446,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/host/uhci-hcd.c linux-2.6.38.1-new/drivers
};
MODULE_DEVICE_TABLE(pci, uhci_pci_ids);
-diff -urNp linux-2.6.38.1/drivers/usb/mon/mon_main.c linux-2.6.38.1-new/drivers/usb/mon/mon_main.c
+diff -urNp linux-2.6.38.1/drivers/usb/mon/mon_main.c linux-2.6.38.1/drivers/usb/mon/mon_main.c
--- linux-2.6.38.1/drivers/usb/mon/mon_main.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/mon/mon_main.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/mon/mon_main.c 2011-03-21 18:31:35.000000000 -0400
@@ -238,7 +238,7 @@ static struct notifier_block mon_nb = {
/*
* Ops
@@ -28444,9 +28458,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/mon/mon_main.c linux-2.6.38.1-new/drivers/
.urb_submit = mon_submit,
.urb_submit_error = mon_submit_error,
.urb_complete = mon_complete,
-diff -urNp linux-2.6.38.1/drivers/usb/storage/debug.h linux-2.6.38.1-new/drivers/usb/storage/debug.h
+diff -urNp linux-2.6.38.1/drivers/usb/storage/debug.h linux-2.6.38.1/drivers/usb/storage/debug.h
--- linux-2.6.38.1/drivers/usb/storage/debug.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/storage/debug.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/storage/debug.h 2011-03-21 18:31:35.000000000 -0400
@@ -54,9 +54,9 @@ void usb_stor_show_sense( unsigned char
#define US_DEBUGPX(x...) printk( x )
#define US_DEBUG(x) x
@@ -28460,9 +28474,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/storage/debug.h linux-2.6.38.1-new/drivers
#endif
#endif
-diff -urNp linux-2.6.38.1/drivers/usb/storage/usb.c linux-2.6.38.1-new/drivers/usb/storage/usb.c
+diff -urNp linux-2.6.38.1/drivers/usb/storage/usb.c linux-2.6.38.1/drivers/usb/storage/usb.c
--- linux-2.6.38.1/drivers/usb/storage/usb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/storage/usb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/storage/usb.c 2011-03-21 18:31:35.000000000 -0400
@@ -122,7 +122,7 @@ MODULE_PARM_DESC(quirks, "supplemental l
static struct us_unusual_dev us_unusual_dev_list[] = {
@@ -28472,9 +28486,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/storage/usb.c linux-2.6.38.1-new/drivers/u
};
#undef UNUSUAL_DEV
-diff -urNp linux-2.6.38.1/drivers/usb/storage/usual-tables.c linux-2.6.38.1-new/drivers/usb/storage/usual-tables.c
+diff -urNp linux-2.6.38.1/drivers/usb/storage/usual-tables.c linux-2.6.38.1/drivers/usb/storage/usual-tables.c
--- linux-2.6.38.1/drivers/usb/storage/usual-tables.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/usb/storage/usual-tables.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/usb/storage/usual-tables.c 2011-03-21 18:31:35.000000000 -0400
@@ -48,7 +48,7 @@
struct usb_device_id usb_storage_usb_ids[] = {
@@ -28484,9 +28498,9 @@ diff -urNp linux-2.6.38.1/drivers/usb/storage/usual-tables.c linux-2.6.38.1-new/
};
EXPORT_SYMBOL_GPL(usb_storage_usb_ids);
-diff -urNp linux-2.6.38.1/drivers/vhost/vhost.c linux-2.6.38.1-new/drivers/vhost/vhost.c
+diff -urNp linux-2.6.38.1/drivers/vhost/vhost.c linux-2.6.38.1/drivers/vhost/vhost.c
--- linux-2.6.38.1/drivers/vhost/vhost.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/vhost/vhost.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/vhost/vhost.c 2011-03-21 18:31:35.000000000 -0400
@@ -565,7 +565,7 @@ static int init_used(struct vhost_virtqu
return get_user(vq->last_used_idx, &used->idx);
}
@@ -28496,9 +28510,9 @@ diff -urNp linux-2.6.38.1/drivers/vhost/vhost.c linux-2.6.38.1-new/drivers/vhost
{
struct file *eventfp, *filep = NULL,
*pollstart = NULL, *pollstop = NULL;
-diff -urNp linux-2.6.38.1/drivers/video/fbcmap.c linux-2.6.38.1-new/drivers/video/fbcmap.c
+diff -urNp linux-2.6.38.1/drivers/video/fbcmap.c linux-2.6.38.1/drivers/video/fbcmap.c
--- linux-2.6.38.1/drivers/video/fbcmap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/video/fbcmap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/video/fbcmap.c 2011-03-21 18:31:35.000000000 -0400
@@ -285,8 +285,7 @@ int fb_set_user_cmap(struct fb_cmap_user
rc = -ENODEV;
goto out;
@@ -28509,9 +28523,9 @@ diff -urNp linux-2.6.38.1/drivers/video/fbcmap.c linux-2.6.38.1-new/drivers/vide
rc = -EINVAL;
goto out1;
}
-diff -urNp linux-2.6.38.1/drivers/video/fbmem.c linux-2.6.38.1-new/drivers/video/fbmem.c
+diff -urNp linux-2.6.38.1/drivers/video/fbmem.c linux-2.6.38.1/drivers/video/fbmem.c
--- linux-2.6.38.1/drivers/video/fbmem.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/video/fbmem.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/video/fbmem.c 2011-03-21 18:31:35.000000000 -0400
@@ -403,7 +403,7 @@ static void fb_do_show_logo(struct fb_in
image->dx += image->width + 8;
}
@@ -28539,9 +28553,9 @@ diff -urNp linux-2.6.38.1/drivers/video/fbmem.c linux-2.6.38.1-new/drivers/video
return -EINVAL;
if (!registered_fb[con2fb.framebuffer])
request_module("fb%d", con2fb.framebuffer);
-diff -urNp linux-2.6.38.1/drivers/video/fbmon.c linux-2.6.38.1-new/drivers/video/fbmon.c
+diff -urNp linux-2.6.38.1/drivers/video/fbmon.c linux-2.6.38.1/drivers/video/fbmon.c
--- linux-2.6.38.1/drivers/video/fbmon.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/video/fbmon.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/video/fbmon.c 2011-03-21 18:31:35.000000000 -0400
@@ -46,7 +46,7 @@
#ifdef DEBUG
#define DPRINTK(fmt, args...) printk(fmt,## args)
@@ -28551,9 +28565,9 @@ diff -urNp linux-2.6.38.1/drivers/video/fbmon.c linux-2.6.38.1-new/drivers/video
#endif
#define FBMON_FIX_HEADER 1
-diff -urNp linux-2.6.38.1/drivers/video/i810/i810_accel.c linux-2.6.38.1-new/drivers/video/i810/i810_accel.c
+diff -urNp linux-2.6.38.1/drivers/video/i810/i810_accel.c linux-2.6.38.1/drivers/video/i810/i810_accel.c
--- linux-2.6.38.1/drivers/video/i810/i810_accel.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/video/i810/i810_accel.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/video/i810/i810_accel.c 2011-03-21 18:31:35.000000000 -0400
@@ -73,6 +73,7 @@ static inline int wait_for_space(struct
}
}
@@ -28562,9 +28576,9 @@ diff -urNp linux-2.6.38.1/drivers/video/i810/i810_accel.c linux-2.6.38.1-new/dri
i810_report_error(mmio);
par->dev_flags |= LOCKUP;
info->pixmap.scan_align = 1;
-diff -urNp linux-2.6.38.1/drivers/video/i810/i810_main.c linux-2.6.38.1-new/drivers/video/i810/i810_main.c
+diff -urNp linux-2.6.38.1/drivers/video/i810/i810_main.c linux-2.6.38.1/drivers/video/i810/i810_main.c
--- linux-2.6.38.1/drivers/video/i810/i810_main.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/video/i810/i810_main.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/video/i810/i810_main.c 2011-03-21 18:31:35.000000000 -0400
@@ -120,7 +120,7 @@ static struct pci_device_id i810fb_pci_t
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 4 },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82815_CGC,
@@ -28574,9 +28588,9 @@ diff -urNp linux-2.6.38.1/drivers/video/i810/i810_main.c linux-2.6.38.1-new/driv
};
static struct pci_driver i810fb_driver = {
-diff -urNp linux-2.6.38.1/drivers/video/modedb.c linux-2.6.38.1-new/drivers/video/modedb.c
+diff -urNp linux-2.6.38.1/drivers/video/modedb.c linux-2.6.38.1/drivers/video/modedb.c
--- linux-2.6.38.1/drivers/video/modedb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/video/modedb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/video/modedb.c 2011-03-21 18:31:35.000000000 -0400
@@ -40,255 +40,255 @@ static const struct fb_videomode modedb[
/* 640x400 @ 70 Hz, 31.5 kHz hsync */
@@ -28893,9 +28907,9 @@ diff -urNp linux-2.6.38.1/drivers/video/modedb.c linux-2.6.38.1-new/drivers/vide
};
#ifdef CONFIG_FB_MODE_HELPERS
-diff -urNp linux-2.6.38.1/drivers/video/pxa3xx-gcu.c linux-2.6.38.1-new/drivers/video/pxa3xx-gcu.c
+diff -urNp linux-2.6.38.1/drivers/video/pxa3xx-gcu.c linux-2.6.38.1/drivers/video/pxa3xx-gcu.c
--- linux-2.6.38.1/drivers/video/pxa3xx-gcu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/video/pxa3xx-gcu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/video/pxa3xx-gcu.c 2011-03-21 18:31:35.000000000 -0400
@@ -103,7 +103,7 @@ struct pxa3xx_gcu_priv {
dma_addr_t shared_phys;
struct resource *resource_mem;
@@ -28905,9 +28919,9 @@ diff -urNp linux-2.6.38.1/drivers/video/pxa3xx-gcu.c linux-2.6.38.1-new/drivers/
wait_queue_head_t wait_idle;
wait_queue_head_t wait_free;
spinlock_t spinlock;
-diff -urNp linux-2.6.38.1/drivers/video/uvesafb.c linux-2.6.38.1-new/drivers/video/uvesafb.c
+diff -urNp linux-2.6.38.1/drivers/video/uvesafb.c linux-2.6.38.1/drivers/video/uvesafb.c
--- linux-2.6.38.1/drivers/video/uvesafb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/video/uvesafb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/video/uvesafb.c 2011-03-21 18:31:35.000000000 -0400
@@ -19,6 +19,7 @@
#include <linux/io.h>
#include <linux/mutex.h>
@@ -28983,9 +28997,9 @@ diff -urNp linux-2.6.38.1/drivers/video/uvesafb.c linux-2.6.38.1-new/drivers/vid
}
framebuffer_release(info);
-diff -urNp linux-2.6.38.1/drivers/video/vesafb.c linux-2.6.38.1-new/drivers/video/vesafb.c
+diff -urNp linux-2.6.38.1/drivers/video/vesafb.c linux-2.6.38.1/drivers/video/vesafb.c
--- linux-2.6.38.1/drivers/video/vesafb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/drivers/video/vesafb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/drivers/video/vesafb.c 2011-03-21 18:31:35.000000000 -0400
@@ -9,6 +9,7 @@
*/
@@ -29089,9 +29103,9 @@ diff -urNp linux-2.6.38.1/drivers/video/vesafb.c linux-2.6.38.1-new/drivers/vide
if (info->screen_base)
iounmap(info->screen_base);
framebuffer_release(info);
-diff -urNp linux-2.6.38.1/fs/9p/vfs_inode.c linux-2.6.38.1-new/fs/9p/vfs_inode.c
+diff -urNp linux-2.6.38.1/fs/9p/vfs_inode.c linux-2.6.38.1/fs/9p/vfs_inode.c
--- linux-2.6.38.1/fs/9p/vfs_inode.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/9p/vfs_inode.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/9p/vfs_inode.c 2011-03-21 18:31:35.000000000 -0400
@@ -1094,7 +1094,7 @@ static void *v9fs_vfs_follow_link(struct
void
v9fs_vfs_put_link(struct dentry *dentry, struct nameidata *nd, void *p)
@@ -29101,9 +29115,9 @@ diff -urNp linux-2.6.38.1/fs/9p/vfs_inode.c linux-2.6.38.1-new/fs/9p/vfs_inode.c
P9_DPRINTK(P9_DEBUG_VFS, " %s %s\n", dentry->d_name.name,
IS_ERR(s) ? "<error>" : s);
-diff -urNp linux-2.6.38.1/fs/aio.c linux-2.6.38.1-new/fs/aio.c
+diff -urNp linux-2.6.38.1/fs/aio.c linux-2.6.38.1/fs/aio.c
--- linux-2.6.38.1/fs/aio.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/aio.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/aio.c 2011-03-21 18:31:35.000000000 -0400
@@ -130,7 +130,7 @@ static int aio_setup_ring(struct kioctx
size += sizeof(struct io_event) * nr_events;
nr_pages = (size + PAGE_SIZE-1) >> PAGE_SHIFT;
@@ -29113,9 +29127,9 @@ diff -urNp linux-2.6.38.1/fs/aio.c linux-2.6.38.1-new/fs/aio.c
return -EINVAL;
nr_events = (PAGE_SIZE * nr_pages - sizeof(struct aio_ring)) / sizeof(struct io_event);
-diff -urNp linux-2.6.38.1/fs/attr.c linux-2.6.38.1-new/fs/attr.c
+diff -urNp linux-2.6.38.1/fs/attr.c linux-2.6.38.1/fs/attr.c
--- linux-2.6.38.1/fs/attr.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/attr.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/attr.c 2011-03-21 18:31:35.000000000 -0400
@@ -98,6 +98,7 @@ int inode_newsize_ok(const struct inode
unsigned long limit;
@@ -29124,9 +29138,9 @@ diff -urNp linux-2.6.38.1/fs/attr.c linux-2.6.38.1-new/fs/attr.c
if (limit != RLIM_INFINITY && offset > limit)
goto out_sig;
if (offset > inode->i_sb->s_maxbytes)
-diff -urNp linux-2.6.38.1/fs/befs/linuxvfs.c linux-2.6.38.1-new/fs/befs/linuxvfs.c
+diff -urNp linux-2.6.38.1/fs/befs/linuxvfs.c linux-2.6.38.1/fs/befs/linuxvfs.c
--- linux-2.6.38.1/fs/befs/linuxvfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/befs/linuxvfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/befs/linuxvfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -499,7 +499,7 @@ static void befs_put_link(struct dentry
{
befs_inode_info *befs_ino = BEFS_I(dentry->d_inode);
@@ -29136,9 +29150,9 @@ diff -urNp linux-2.6.38.1/fs/befs/linuxvfs.c linux-2.6.38.1-new/fs/befs/linuxvfs
if (!IS_ERR(link))
kfree(link);
}
-diff -urNp linux-2.6.38.1/fs/binfmt_aout.c linux-2.6.38.1-new/fs/binfmt_aout.c
+diff -urNp linux-2.6.38.1/fs/binfmt_aout.c linux-2.6.38.1/fs/binfmt_aout.c
--- linux-2.6.38.1/fs/binfmt_aout.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/binfmt_aout.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/binfmt_aout.c 2011-03-21 18:31:35.000000000 -0400
@@ -16,6 +16,7 @@
#include <linux/string.h>
#include <linux/fs.h>
@@ -29215,9 +29229,9 @@ diff -urNp linux-2.6.38.1/fs/binfmt_aout.c linux-2.6.38.1-new/fs/binfmt_aout.c
MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE,
fd_offset + ex.a_text);
up_write(&current->mm->mmap_sem);
-diff -urNp linux-2.6.38.1/fs/binfmt_elf.c linux-2.6.38.1-new/fs/binfmt_elf.c
+diff -urNp linux-2.6.38.1/fs/binfmt_elf.c linux-2.6.38.1/fs/binfmt_elf.c
--- linux-2.6.38.1/fs/binfmt_elf.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/binfmt_elf.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/binfmt_elf.c 2011-03-21 18:31:35.000000000 -0400
@@ -51,6 +51,10 @@ static int elf_core_dump(struct coredump
#define elf_core_dump NULL
#endif
@@ -29883,9 +29897,9 @@ diff -urNp linux-2.6.38.1/fs/binfmt_elf.c linux-2.6.38.1-new/fs/binfmt_elf.c
static int __init init_elf_binfmt(void)
{
return register_binfmt(&elf_format);
-diff -urNp linux-2.6.38.1/fs/binfmt_flat.c linux-2.6.38.1-new/fs/binfmt_flat.c
+diff -urNp linux-2.6.38.1/fs/binfmt_flat.c linux-2.6.38.1/fs/binfmt_flat.c
--- linux-2.6.38.1/fs/binfmt_flat.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/binfmt_flat.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/binfmt_flat.c 2011-03-21 18:31:35.000000000 -0400
@@ -567,7 +567,9 @@ static int load_flat_file(struct linux_b
realdatastart = (unsigned long) -ENOMEM;
printk("Unable to allocate RAM for process data, errno %d\n",
@@ -29918,9 +29932,9 @@ diff -urNp linux-2.6.38.1/fs/binfmt_flat.c linux-2.6.38.1-new/fs/binfmt_flat.c
ret = result;
goto err;
}
-diff -urNp linux-2.6.38.1/fs/binfmt_misc.c linux-2.6.38.1-new/fs/binfmt_misc.c
+diff -urNp linux-2.6.38.1/fs/binfmt_misc.c linux-2.6.38.1/fs/binfmt_misc.c
--- linux-2.6.38.1/fs/binfmt_misc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/binfmt_misc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/binfmt_misc.c 2011-03-21 18:31:35.000000000 -0400
@@ -698,7 +698,7 @@ static int bm_fill_super(struct super_bl
static struct tree_descr bm_files[] = {
[2] = {"status", &bm_status_operations, S_IWUSR|S_IRUGO},
@@ -29930,9 +29944,9 @@ diff -urNp linux-2.6.38.1/fs/binfmt_misc.c linux-2.6.38.1-new/fs/binfmt_misc.c
};
int err = simple_fill_super(sb, 0x42494e4d, bm_files);
if (!err)
-diff -urNp linux-2.6.38.1/fs/bio.c linux-2.6.38.1-new/fs/bio.c
+diff -urNp linux-2.6.38.1/fs/bio.c linux-2.6.38.1/fs/bio.c
--- linux-2.6.38.1/fs/bio.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/bio.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/bio.c 2011-03-21 18:31:35.000000000 -0400
@@ -1233,7 +1233,7 @@ static void bio_copy_kern_endio(struct b
const int read = bio_data_dir(bio) == READ;
struct bio_map_data *bmd = bio->bi_private;
@@ -29942,9 +29956,9 @@ diff -urNp linux-2.6.38.1/fs/bio.c linux-2.6.38.1-new/fs/bio.c
__bio_for_each_segment(bvec, bio, i, 0) {
char *addr = page_address(bvec->bv_page);
-diff -urNp linux-2.6.38.1/fs/block_dev.c linux-2.6.38.1-new/fs/block_dev.c
+diff -urNp linux-2.6.38.1/fs/block_dev.c linux-2.6.38.1/fs/block_dev.c
--- linux-2.6.38.1/fs/block_dev.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/block_dev.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/block_dev.c 2011-03-21 18:31:35.000000000 -0400
@@ -669,7 +669,7 @@ static bool bd_may_claim(struct block_de
else if (bdev->bd_contains == bdev)
return true; /* is a whole device which isn't held */
@@ -29954,9 +29968,9 @@ diff -urNp linux-2.6.38.1/fs/block_dev.c linux-2.6.38.1-new/fs/block_dev.c
return true; /* is a partition of a device that is being partitioned */
else if (whole->bd_holder != NULL)
return false; /* is a partition of a held device */
-diff -urNp linux-2.6.38.1/fs/btrfs/ctree.c linux-2.6.38.1-new/fs/btrfs/ctree.c
+diff -urNp linux-2.6.38.1/fs/btrfs/ctree.c linux-2.6.38.1/fs/btrfs/ctree.c
--- linux-2.6.38.1/fs/btrfs/ctree.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/btrfs/ctree.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/btrfs/ctree.c 2011-03-21 18:31:35.000000000 -0400
@@ -468,9 +468,12 @@ static noinline int __btrfs_cow_block(st
free_extent_buffer(buf);
add_root_to_dirty_list(root);
@@ -29981,9 +29995,9 @@ diff -urNp linux-2.6.38.1/fs/btrfs/ctree.c linux-2.6.38.1-new/fs/btrfs/ctree.c
btrfs_cpu_key_to_disk(&disk_key, cpu_key);
ret = fixup_low_keys(trans, root, path, &disk_key, 1);
}
-diff -urNp linux-2.6.38.1/fs/btrfs/disk-io.c linux-2.6.38.1-new/fs/btrfs/disk-io.c
+diff -urNp linux-2.6.38.1/fs/btrfs/disk-io.c linux-2.6.38.1/fs/btrfs/disk-io.c
--- linux-2.6.38.1/fs/btrfs/disk-io.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/btrfs/disk-io.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/btrfs/disk-io.c 2011-03-21 18:31:35.000000000 -0400
@@ -41,7 +41,7 @@
#include "tree-log.h"
#include "free-space-cache.h"
@@ -30002,9 +30016,9 @@ diff -urNp linux-2.6.38.1/fs/btrfs/disk-io.c linux-2.6.38.1-new/fs/btrfs/disk-io
.write_cache_pages_lock_hook = btree_lock_page_hook,
.readpage_end_io_hook = btree_readpage_end_io_hook,
.submit_bio_hook = btree_submit_bio_hook,
-diff -urNp linux-2.6.38.1/fs/btrfs/extent_io.h linux-2.6.38.1-new/fs/btrfs/extent_io.h
+diff -urNp linux-2.6.38.1/fs/btrfs/extent_io.h linux-2.6.38.1/fs/btrfs/extent_io.h
--- linux-2.6.38.1/fs/btrfs/extent_io.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/btrfs/extent_io.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/btrfs/extent_io.h 2011-03-21 18:31:35.000000000 -0400
@@ -55,36 +55,36 @@ typedef int (extent_submit_bio_hook_t)(s
struct bio *bio, int mirror_num,
unsigned long bio_flags, u64 bio_offset);
@@ -30065,9 +30079,9 @@ diff -urNp linux-2.6.38.1/fs/btrfs/extent_io.h linux-2.6.38.1-new/fs/btrfs/exten
};
struct extent_state {
-diff -urNp linux-2.6.38.1/fs/btrfs/free-space-cache.c linux-2.6.38.1-new/fs/btrfs/free-space-cache.c
+diff -urNp linux-2.6.38.1/fs/btrfs/free-space-cache.c linux-2.6.38.1/fs/btrfs/free-space-cache.c
--- linux-2.6.38.1/fs/btrfs/free-space-cache.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/btrfs/free-space-cache.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/btrfs/free-space-cache.c 2011-03-21 18:31:35.000000000 -0400
@@ -1855,8 +1855,6 @@ u64 btrfs_alloc_from_cluster(struct btrf
while(1) {
@@ -30086,9 +30100,9 @@ diff -urNp linux-2.6.38.1/fs/btrfs/free-space-cache.c linux-2.6.38.1-new/fs/btrf
if (entry->bitmap && entry->bytes > bytes + empty_size) {
ret = btrfs_bitmap_cluster(block_group, entry, cluster,
-diff -urNp linux-2.6.38.1/fs/btrfs/inode.c linux-2.6.38.1-new/fs/btrfs/inode.c
+diff -urNp linux-2.6.38.1/fs/btrfs/inode.c linux-2.6.38.1/fs/btrfs/inode.c
--- linux-2.6.38.1/fs/btrfs/inode.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/btrfs/inode.c 2011-03-24 23:08:20.000000000 -0400
++++ linux-2.6.38.1/fs/btrfs/inode.c 2011-03-24 23:08:20.000000000 -0400
@@ -64,7 +64,7 @@ static const struct inode_operations btr
static const struct address_space_operations btrfs_aops;
static const struct address_space_operations btrfs_symlink_aops;
@@ -30131,9 +30145,9 @@ diff -urNp linux-2.6.38.1/fs/btrfs/inode.c linux-2.6.38.1-new/fs/btrfs/inode.c
.fill_delalloc = run_delalloc_range,
.submit_bio_hook = btrfs_submit_bio_hook,
.merge_bio_hook = btrfs_merge_bio_hook,
-diff -urNp linux-2.6.38.1/fs/btrfs/ioctl.c linux-2.6.38.1-new/fs/btrfs/ioctl.c
+diff -urNp linux-2.6.38.1/fs/btrfs/ioctl.c linux-2.6.38.1/fs/btrfs/ioctl.c
--- linux-2.6.38.1/fs/btrfs/ioctl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/btrfs/ioctl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/btrfs/ioctl.c 2011-03-21 18:31:35.000000000 -0400
@@ -2270,9 +2270,12 @@ long btrfs_ioctl_space_info(struct btrfs
for (i = 0; i < num_types; i++) {
struct btrfs_space_info *tmp;
@@ -30158,9 +30172,9 @@ diff -urNp linux-2.6.38.1/fs/btrfs/ioctl.c linux-2.6.38.1-new/fs/btrfs/ioctl.c
}
up_read(&info->groups_sem);
}
-diff -urNp linux-2.6.38.1/fs/btrfs/relocation.c linux-2.6.38.1-new/fs/btrfs/relocation.c
+diff -urNp linux-2.6.38.1/fs/btrfs/relocation.c linux-2.6.38.1/fs/btrfs/relocation.c
--- linux-2.6.38.1/fs/btrfs/relocation.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/btrfs/relocation.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/btrfs/relocation.c 2011-03-21 18:31:35.000000000 -0400
@@ -1239,7 +1239,7 @@ static int __update_reloc_root(struct bt
}
spin_unlock(&rc->reloc_root_tree.lock);
@@ -30170,9 +30184,9 @@ diff -urNp linux-2.6.38.1/fs/btrfs/relocation.c linux-2.6.38.1-new/fs/btrfs/relo
if (!del) {
spin_lock(&rc->reloc_root_tree.lock);
-diff -urNp linux-2.6.38.1/fs/cachefiles/bind.c linux-2.6.38.1-new/fs/cachefiles/bind.c
+diff -urNp linux-2.6.38.1/fs/cachefiles/bind.c linux-2.6.38.1/fs/cachefiles/bind.c
--- linux-2.6.38.1/fs/cachefiles/bind.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/cachefiles/bind.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/cachefiles/bind.c 2011-03-21 18:31:35.000000000 -0400
@@ -39,13 +39,11 @@ int cachefiles_daemon_bind(struct cachef
args);
@@ -30189,9 +30203,9 @@ diff -urNp linux-2.6.38.1/fs/cachefiles/bind.c linux-2.6.38.1-new/fs/cachefiles/
cache->bcull_percent < cache->brun_percent &&
cache->brun_percent < 100);
-diff -urNp linux-2.6.38.1/fs/cachefiles/daemon.c linux-2.6.38.1-new/fs/cachefiles/daemon.c
+diff -urNp linux-2.6.38.1/fs/cachefiles/daemon.c linux-2.6.38.1/fs/cachefiles/daemon.c
--- linux-2.6.38.1/fs/cachefiles/daemon.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/cachefiles/daemon.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/cachefiles/daemon.c 2011-03-21 18:31:35.000000000 -0400
@@ -196,7 +196,7 @@ static ssize_t cachefiles_daemon_read(st
if (n > buflen)
return -EMSGSIZE;
@@ -30228,9 +30242,9 @@ diff -urNp linux-2.6.38.1/fs/cachefiles/daemon.c linux-2.6.38.1-new/fs/cachefile
return cachefiles_daemon_range_error(cache, args);
cache->bstop_percent = bstop;
-diff -urNp linux-2.6.38.1/fs/cachefiles/rdwr.c linux-2.6.38.1-new/fs/cachefiles/rdwr.c
+diff -urNp linux-2.6.38.1/fs/cachefiles/rdwr.c linux-2.6.38.1/fs/cachefiles/rdwr.c
--- linux-2.6.38.1/fs/cachefiles/rdwr.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/cachefiles/rdwr.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/cachefiles/rdwr.c 2011-03-21 18:31:35.000000000 -0400
@@ -945,7 +945,7 @@ int cachefiles_write_page(struct fscache
old_fs = get_fs();
set_fs(KERNEL_DS);
@@ -30240,9 +30254,9 @@ diff -urNp linux-2.6.38.1/fs/cachefiles/rdwr.c linux-2.6.38.1-new/fs/cachefiles/
set_fs(old_fs);
kunmap(page);
if (ret != len)
-diff -urNp linux-2.6.38.1/fs/ceph/dir.c linux-2.6.38.1-new/fs/ceph/dir.c
+diff -urNp linux-2.6.38.1/fs/ceph/dir.c linux-2.6.38.1/fs/ceph/dir.c
--- linux-2.6.38.1/fs/ceph/dir.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ceph/dir.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ceph/dir.c 2011-03-21 18:31:35.000000000 -0400
@@ -226,7 +226,7 @@ static int ceph_readdir(struct file *fil
struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
struct ceph_mds_client *mdsc = fsc->mdsc;
@@ -30261,9 +30275,9 @@ diff -urNp linux-2.6.38.1/fs/ceph/dir.c linux-2.6.38.1-new/fs/ceph/dir.c
u64 pos = ceph_make_fpos(frag, off);
struct ceph_mds_reply_inode *in =
rinfo->dir_in[off - fi->offset].in;
-diff -urNp linux-2.6.38.1/fs/cifs/cifs_uniupr.h linux-2.6.38.1-new/fs/cifs/cifs_uniupr.h
+diff -urNp linux-2.6.38.1/fs/cifs/cifs_uniupr.h linux-2.6.38.1/fs/cifs/cifs_uniupr.h
--- linux-2.6.38.1/fs/cifs/cifs_uniupr.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/cifs/cifs_uniupr.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/cifs/cifs_uniupr.h 2011-03-21 18:31:35.000000000 -0400
@@ -132,7 +132,7 @@ const struct UniCaseRange CifsUniUpperRa
{0x0490, 0x04cc, UniCaseRangeU0490},
{0x1e00, 0x1ffc, UniCaseRangeU1e00},
@@ -30273,9 +30287,9 @@ diff -urNp linux-2.6.38.1/fs/cifs/cifs_uniupr.h linux-2.6.38.1-new/fs/cifs/cifs_
};
#endif
-diff -urNp linux-2.6.38.1/fs/cifs/link.c linux-2.6.38.1-new/fs/cifs/link.c
+diff -urNp linux-2.6.38.1/fs/cifs/link.c linux-2.6.38.1/fs/cifs/link.c
--- linux-2.6.38.1/fs/cifs/link.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/cifs/link.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/cifs/link.c 2011-03-21 18:31:35.000000000 -0400
@@ -577,7 +577,7 @@ symlink_exit:
void cifs_put_link(struct dentry *direntry, struct nameidata *nd, void *cookie)
@@ -30285,9 +30299,9 @@ diff -urNp linux-2.6.38.1/fs/cifs/link.c linux-2.6.38.1-new/fs/cifs/link.c
if (!IS_ERR(p))
kfree(p);
}
-diff -urNp linux-2.6.38.1/fs/compat_binfmt_elf.c linux-2.6.38.1-new/fs/compat_binfmt_elf.c
+diff -urNp linux-2.6.38.1/fs/compat_binfmt_elf.c linux-2.6.38.1/fs/compat_binfmt_elf.c
--- linux-2.6.38.1/fs/compat_binfmt_elf.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/compat_binfmt_elf.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/compat_binfmt_elf.c 2011-03-21 18:31:35.000000000 -0400
@@ -30,11 +30,13 @@
#undef elf_phdr
#undef elf_shdr
@@ -30302,9 +30316,9 @@ diff -urNp linux-2.6.38.1/fs/compat_binfmt_elf.c linux-2.6.38.1-new/fs/compat_bi
#define elf_addr_t Elf32_Addr
/*
-diff -urNp linux-2.6.38.1/fs/compat.c linux-2.6.38.1-new/fs/compat.c
+diff -urNp linux-2.6.38.1/fs/compat.c linux-2.6.38.1/fs/compat.c
--- linux-2.6.38.1/fs/compat.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/compat.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/compat.c 2011-03-21 18:31:35.000000000 -0400
@@ -594,7 +594,7 @@ ssize_t compat_rw_copy_check_uvector(int
goto out;
@@ -30487,9 +30501,9 @@ diff -urNp linux-2.6.38.1/fs/compat.c linux-2.6.38.1-new/fs/compat.c
out:
if (bprm->mm) {
acct_arg_size(bprm, 0);
-diff -urNp linux-2.6.38.1/fs/compat_ioctl.c linux-2.6.38.1-new/fs/compat_ioctl.c
+diff -urNp linux-2.6.38.1/fs/compat_ioctl.c linux-2.6.38.1/fs/compat_ioctl.c
--- linux-2.6.38.1/fs/compat_ioctl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/compat_ioctl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/compat_ioctl.c 2011-03-21 18:31:35.000000000 -0400
@@ -208,6 +208,8 @@ static int do_video_set_spu_palette(unsi
err = get_user(palp, &up->palette);
@@ -30510,9 +30524,9 @@ diff -urNp linux-2.6.38.1/fs/compat_ioctl.c linux-2.6.38.1-new/fs/compat_ioctl.c
if (a > b)
return 1;
if (a < b)
-diff -urNp linux-2.6.38.1/fs/debugfs/inode.c linux-2.6.38.1-new/fs/debugfs/inode.c
+diff -urNp linux-2.6.38.1/fs/debugfs/inode.c linux-2.6.38.1/fs/debugfs/inode.c
--- linux-2.6.38.1/fs/debugfs/inode.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/debugfs/inode.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/debugfs/inode.c 2011-03-21 18:31:35.000000000 -0400
@@ -130,7 +130,7 @@ static inline int debugfs_positive(struc
static int debug_fill_super(struct super_block *sb, void *data, int silent)
@@ -30522,9 +30536,9 @@ diff -urNp linux-2.6.38.1/fs/debugfs/inode.c linux-2.6.38.1-new/fs/debugfs/inode
return simple_fill_super(sb, DEBUGFS_MAGIC, debug_files);
}
-diff -urNp linux-2.6.38.1/fs/dlm/lockspace.c linux-2.6.38.1-new/fs/dlm/lockspace.c
+diff -urNp linux-2.6.38.1/fs/dlm/lockspace.c linux-2.6.38.1/fs/dlm/lockspace.c
--- linux-2.6.38.1/fs/dlm/lockspace.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/dlm/lockspace.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/dlm/lockspace.c 2011-03-21 18:31:35.000000000 -0400
@@ -200,7 +200,7 @@ static int dlm_uevent(struct kset *kset,
return 0;
}
@@ -30534,9 +30548,9 @@ diff -urNp linux-2.6.38.1/fs/dlm/lockspace.c linux-2.6.38.1-new/fs/dlm/lockspace
.uevent = dlm_uevent,
};
-diff -urNp linux-2.6.38.1/fs/ecryptfs/inode.c linux-2.6.38.1-new/fs/ecryptfs/inode.c
+diff -urNp linux-2.6.38.1/fs/ecryptfs/inode.c linux-2.6.38.1/fs/ecryptfs/inode.c
--- linux-2.6.38.1/fs/ecryptfs/inode.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ecryptfs/inode.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ecryptfs/inode.c 2011-03-21 18:31:35.000000000 -0400
@@ -658,7 +658,7 @@ static int ecryptfs_readlink_lower(struc
old_fs = get_fs();
set_fs(get_ds());
@@ -30564,9 +30578,9 @@ diff -urNp linux-2.6.38.1/fs/ecryptfs/inode.c linux-2.6.38.1-new/fs/ecryptfs/ino
if (!IS_ERR(buf)) {
/* Free the char* */
kfree(buf);
-diff -urNp linux-2.6.38.1/fs/ecryptfs/miscdev.c linux-2.6.38.1-new/fs/ecryptfs/miscdev.c
+diff -urNp linux-2.6.38.1/fs/ecryptfs/miscdev.c linux-2.6.38.1/fs/ecryptfs/miscdev.c
--- linux-2.6.38.1/fs/ecryptfs/miscdev.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ecryptfs/miscdev.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ecryptfs/miscdev.c 2011-03-21 18:31:35.000000000 -0400
@@ -328,7 +328,7 @@ check_list:
goto out_unlock_msg_ctx;
i = 5;
@@ -30576,9 +30590,9 @@ diff -urNp linux-2.6.38.1/fs/ecryptfs/miscdev.c linux-2.6.38.1-new/fs/ecryptfs/m
goto out_unlock_msg_ctx;
i += packet_length_size;
if (copy_to_user(&buf[i], msg_ctx->msg, msg_ctx->msg_size))
-diff -urNp linux-2.6.38.1/fs/exec.c linux-2.6.38.1-new/fs/exec.c
+diff -urNp linux-2.6.38.1/fs/exec.c linux-2.6.38.1/fs/exec.c
--- linux-2.6.38.1/fs/exec.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/exec.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/exec.c 2011-03-21 18:31:35.000000000 -0400
@@ -55,12 +55,24 @@
#include <linux/fs_struct.h>
#include <linux/pipe_fs_i.h>
@@ -31111,9 +31125,9 @@ diff -urNp linux-2.6.38.1/fs/exec.c linux-2.6.38.1-new/fs/exec.c
if (ispipe) {
int dump_count;
char **helper_argv;
-diff -urNp linux-2.6.38.1/fs/ext2/balloc.c linux-2.6.38.1-new/fs/ext2/balloc.c
+diff -urNp linux-2.6.38.1/fs/ext2/balloc.c linux-2.6.38.1/fs/ext2/balloc.c
--- linux-2.6.38.1/fs/ext2/balloc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ext2/balloc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ext2/balloc.c 2011-03-21 18:31:35.000000000 -0400
@@ -1192,7 +1192,7 @@ static int ext2_has_free_blocks(struct e
free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter);
@@ -31123,9 +31137,9 @@ diff -urNp linux-2.6.38.1/fs/ext2/balloc.c linux-2.6.38.1-new/fs/ext2/balloc.c
sbi->s_resuid != current_fsuid() &&
(sbi->s_resgid == 0 || !in_group_p (sbi->s_resgid))) {
return 0;
-diff -urNp linux-2.6.38.1/fs/ext2/xattr.c linux-2.6.38.1-new/fs/ext2/xattr.c
+diff -urNp linux-2.6.38.1/fs/ext2/xattr.c linux-2.6.38.1/fs/ext2/xattr.c
--- linux-2.6.38.1/fs/ext2/xattr.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ext2/xattr.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ext2/xattr.c 2011-03-21 18:31:35.000000000 -0400
@@ -86,8 +86,8 @@
printk("\n"); \
} while (0)
@@ -31137,9 +31151,9 @@ diff -urNp linux-2.6.38.1/fs/ext2/xattr.c linux-2.6.38.1-new/fs/ext2/xattr.c
#endif
static int ext2_xattr_set2(struct inode *, struct buffer_head *,
-diff -urNp linux-2.6.38.1/fs/ext3/balloc.c linux-2.6.38.1-new/fs/ext3/balloc.c
+diff -urNp linux-2.6.38.1/fs/ext3/balloc.c linux-2.6.38.1/fs/ext3/balloc.c
--- linux-2.6.38.1/fs/ext3/balloc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ext3/balloc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ext3/balloc.c 2011-03-21 18:31:35.000000000 -0400
@@ -1441,7 +1441,7 @@ static int ext3_has_free_blocks(struct e
free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter);
@@ -31149,9 +31163,9 @@ diff -urNp linux-2.6.38.1/fs/ext3/balloc.c linux-2.6.38.1-new/fs/ext3/balloc.c
sbi->s_resuid != current_fsuid() &&
(sbi->s_resgid == 0 || !in_group_p (sbi->s_resgid))) {
return 0;
-diff -urNp linux-2.6.38.1/fs/ext3/namei.c linux-2.6.38.1-new/fs/ext3/namei.c
+diff -urNp linux-2.6.38.1/fs/ext3/namei.c linux-2.6.38.1/fs/ext3/namei.c
--- linux-2.6.38.1/fs/ext3/namei.c 2011-03-23 17:20:08.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ext3/namei.c 2011-03-23 17:21:51.000000000 -0400
++++ linux-2.6.38.1/fs/ext3/namei.c 2011-03-23 17:21:51.000000000 -0400
@@ -1159,7 +1159,7 @@ static struct ext3_dir_entry_2 *do_split
char *data1 = (*bh)->b_data, *data2;
unsigned split, move, size;
@@ -31161,9 +31175,9 @@ diff -urNp linux-2.6.38.1/fs/ext3/namei.c linux-2.6.38.1-new/fs/ext3/namei.c
bh2 = ext3_append (handle, dir, &newblock, &err);
if (!(bh2)) {
-diff -urNp linux-2.6.38.1/fs/ext3/xattr.c linux-2.6.38.1-new/fs/ext3/xattr.c
+diff -urNp linux-2.6.38.1/fs/ext3/xattr.c linux-2.6.38.1/fs/ext3/xattr.c
--- linux-2.6.38.1/fs/ext3/xattr.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ext3/xattr.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ext3/xattr.c 2011-03-21 18:31:35.000000000 -0400
@@ -89,8 +89,8 @@
printk("\n"); \
} while (0)
@@ -31175,9 +31189,9 @@ diff -urNp linux-2.6.38.1/fs/ext3/xattr.c linux-2.6.38.1-new/fs/ext3/xattr.c
#endif
static void ext3_xattr_cache_insert(struct buffer_head *);
-diff -urNp linux-2.6.38.1/fs/ext4/balloc.c linux-2.6.38.1-new/fs/ext4/balloc.c
+diff -urNp linux-2.6.38.1/fs/ext4/balloc.c linux-2.6.38.1/fs/ext4/balloc.c
--- linux-2.6.38.1/fs/ext4/balloc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ext4/balloc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ext4/balloc.c 2011-03-21 18:31:35.000000000 -0400
@@ -519,7 +519,7 @@ static int ext4_has_free_blocks(struct e
/* Hm, nope. Are (enough) root reserved blocks available? */
if (sbi->s_resuid == current_fsuid() ||
@@ -31187,9 +31201,9 @@ diff -urNp linux-2.6.38.1/fs/ext4/balloc.c linux-2.6.38.1-new/fs/ext4/balloc.c
if (free_blocks >= (nblocks + dirty_blocks))
return 1;
}
-diff -urNp linux-2.6.38.1/fs/ext4/ext4.h linux-2.6.38.1-new/fs/ext4/ext4.h
+diff -urNp linux-2.6.38.1/fs/ext4/ext4.h linux-2.6.38.1/fs/ext4/ext4.h
--- linux-2.6.38.1/fs/ext4/ext4.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ext4/ext4.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ext4/ext4.h 2011-03-21 18:31:35.000000000 -0400
@@ -1166,19 +1166,19 @@ struct ext4_sb_info {
unsigned long s_mb_last_start;
@@ -31220,9 +31234,9 @@ diff -urNp linux-2.6.38.1/fs/ext4/ext4.h linux-2.6.38.1-new/fs/ext4/ext4.h
atomic_t s_lock_busy;
/* locality groups */
-diff -urNp linux-2.6.38.1/fs/ext4/mballoc.c linux-2.6.38.1-new/fs/ext4/mballoc.c
+diff -urNp linux-2.6.38.1/fs/ext4/mballoc.c linux-2.6.38.1/fs/ext4/mballoc.c
--- linux-2.6.38.1/fs/ext4/mballoc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ext4/mballoc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ext4/mballoc.c 2011-03-21 18:31:35.000000000 -0400
@@ -1846,7 +1846,7 @@ void ext4_mb_simple_scan_group(struct ex
BUG_ON(ac->ac_b_ex.fe_len != ac->ac_g_ex.fe_len);
@@ -31336,9 +31350,9 @@ diff -urNp linux-2.6.38.1/fs/ext4/mballoc.c linux-2.6.38.1-new/fs/ext4/mballoc.c
trace_ext4_mballoc_discard(sb, NULL, group, bit, pa->pa_len);
return 0;
-diff -urNp linux-2.6.38.1/fs/ext4/namei.c linux-2.6.38.1-new/fs/ext4/namei.c
+diff -urNp linux-2.6.38.1/fs/ext4/namei.c linux-2.6.38.1/fs/ext4/namei.c
--- linux-2.6.38.1/fs/ext4/namei.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ext4/namei.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ext4/namei.c 2011-03-21 18:31:35.000000000 -0400
@@ -1161,7 +1161,7 @@ static struct ext4_dir_entry_2 *do_split
char *data1 = (*bh)->b_data, *data2;
unsigned split, move, size;
@@ -31348,9 +31362,9 @@ diff -urNp linux-2.6.38.1/fs/ext4/namei.c linux-2.6.38.1-new/fs/ext4/namei.c
bh2 = ext4_append (handle, dir, &newblock, &err);
if (!(bh2)) {
-diff -urNp linux-2.6.38.1/fs/ext4/xattr.c linux-2.6.38.1-new/fs/ext4/xattr.c
+diff -urNp linux-2.6.38.1/fs/ext4/xattr.c linux-2.6.38.1/fs/ext4/xattr.c
--- linux-2.6.38.1/fs/ext4/xattr.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ext4/xattr.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ext4/xattr.c 2011-03-21 18:31:35.000000000 -0400
@@ -82,8 +82,8 @@
printk("\n"); \
} while (0)
@@ -31362,9 +31376,9 @@ diff -urNp linux-2.6.38.1/fs/ext4/xattr.c linux-2.6.38.1-new/fs/ext4/xattr.c
#endif
static void ext4_xattr_cache_insert(struct buffer_head *);
-diff -urNp linux-2.6.38.1/fs/fcntl.c linux-2.6.38.1-new/fs/fcntl.c
+diff -urNp linux-2.6.38.1/fs/fcntl.c linux-2.6.38.1/fs/fcntl.c
--- linux-2.6.38.1/fs/fcntl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/fcntl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/fcntl.c 2011-03-21 18:31:35.000000000 -0400
@@ -224,6 +224,11 @@ int __f_setown(struct file *filp, struct
if (err)
return err;
@@ -31402,9 +31416,9 @@ diff -urNp linux-2.6.38.1/fs/fcntl.c linux-2.6.38.1-new/fs/fcntl.c
));
fasync_cache = kmem_cache_create("fasync_cache",
-diff -urNp linux-2.6.38.1/fs/fifo.c linux-2.6.38.1-new/fs/fifo.c
+diff -urNp linux-2.6.38.1/fs/fifo.c linux-2.6.38.1/fs/fifo.c
--- linux-2.6.38.1/fs/fifo.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/fifo.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/fifo.c 2011-03-21 18:31:35.000000000 -0400
@@ -58,10 +58,10 @@ static int fifo_open(struct inode *inode
*/
filp->f_op = &read_pipefifo_fops;
@@ -31475,9 +31489,9 @@ diff -urNp linux-2.6.38.1/fs/fifo.c linux-2.6.38.1-new/fs/fifo.c
free_pipe_info(inode);
err_nocleanup:
-diff -urNp linux-2.6.38.1/fs/file.c linux-2.6.38.1-new/fs/file.c
+diff -urNp linux-2.6.38.1/fs/file.c linux-2.6.38.1/fs/file.c
--- linux-2.6.38.1/fs/file.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/file.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/file.c 2011-03-21 18:31:35.000000000 -0400
@@ -14,6 +14,7 @@
#include <linux/slab.h>
#include <linux/vmalloc.h>
@@ -31494,9 +31508,9 @@ diff -urNp linux-2.6.38.1/fs/file.c linux-2.6.38.1-new/fs/file.c
if (nr >= rlimit(RLIMIT_NOFILE))
return -EMFILE;
-diff -urNp linux-2.6.38.1/fs/fs_struct.c linux-2.6.38.1-new/fs/fs_struct.c
+diff -urNp linux-2.6.38.1/fs/fs_struct.c linux-2.6.38.1/fs/fs_struct.c
--- linux-2.6.38.1/fs/fs_struct.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/fs_struct.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/fs_struct.c 2011-03-21 18:31:35.000000000 -0400
@@ -4,6 +4,7 @@
#include <linux/path.h>
#include <linux/slab.h>
@@ -31586,9 +31600,9 @@ diff -urNp linux-2.6.38.1/fs/fs_struct.c linux-2.6.38.1-new/fs/fs_struct.c
spin_unlock(&fs->lock);
task_unlock(current);
-diff -urNp linux-2.6.38.1/fs/fuse/control.c linux-2.6.38.1-new/fs/fuse/control.c
+diff -urNp linux-2.6.38.1/fs/fuse/control.c linux-2.6.38.1/fs/fuse/control.c
--- linux-2.6.38.1/fs/fuse/control.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/fuse/control.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/fuse/control.c 2011-03-21 18:31:35.000000000 -0400
@@ -298,7 +298,7 @@ void fuse_ctl_remove_conn(struct fuse_co
static int fuse_ctl_fill_super(struct super_block *sb, void *data, int silent)
@@ -31598,9 +31612,9 @@ diff -urNp linux-2.6.38.1/fs/fuse/control.c linux-2.6.38.1-new/fs/fuse/control.c
struct fuse_conn *fc;
int err;
-diff -urNp linux-2.6.38.1/fs/fuse/cuse.c linux-2.6.38.1-new/fs/fuse/cuse.c
+diff -urNp linux-2.6.38.1/fs/fuse/cuse.c linux-2.6.38.1/fs/fuse/cuse.c
--- linux-2.6.38.1/fs/fuse/cuse.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/fuse/cuse.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/fuse/cuse.c 2011-03-21 18:31:35.000000000 -0400
@@ -530,8 +530,18 @@ static int cuse_channel_release(struct i
return rc;
}
@@ -31635,9 +31649,9 @@ diff -urNp linux-2.6.38.1/fs/fuse/cuse.c linux-2.6.38.1-new/fs/fuse/cuse.c
cuse_class = class_create(THIS_MODULE, "cuse");
if (IS_ERR(cuse_class))
return PTR_ERR(cuse_class);
-diff -urNp linux-2.6.38.1/fs/fuse/dev.c linux-2.6.38.1-new/fs/fuse/dev.c
+diff -urNp linux-2.6.38.1/fs/fuse/dev.c linux-2.6.38.1/fs/fuse/dev.c
--- linux-2.6.38.1/fs/fuse/dev.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/fuse/dev.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/fuse/dev.c 2011-03-21 18:31:35.000000000 -0400
@@ -1183,7 +1183,7 @@ static ssize_t fuse_dev_do_read(struct f
return err;
}
@@ -31719,9 +31733,9 @@ diff -urNp linux-2.6.38.1/fs/fuse/dev.c linux-2.6.38.1-new/fs/fuse/dev.c
const struct file_operations fuse_dev_operations = {
.owner = THIS_MODULE,
.llseek = no_llseek,
-diff -urNp linux-2.6.38.1/fs/fuse/dir.c linux-2.6.38.1-new/fs/fuse/dir.c
+diff -urNp linux-2.6.38.1/fs/fuse/dir.c linux-2.6.38.1/fs/fuse/dir.c
--- linux-2.6.38.1/fs/fuse/dir.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/fuse/dir.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/fuse/dir.c 2011-03-21 18:31:35.000000000 -0400
@@ -1133,7 +1133,7 @@ static char *read_link(struct dentry *de
return link;
}
@@ -31731,9 +31745,9 @@ diff -urNp linux-2.6.38.1/fs/fuse/dir.c linux-2.6.38.1-new/fs/fuse/dir.c
{
if (!IS_ERR(link))
free_page((unsigned long) link);
-diff -urNp linux-2.6.38.1/fs/fuse/fuse_i.h linux-2.6.38.1-new/fs/fuse/fuse_i.h
+diff -urNp linux-2.6.38.1/fs/fuse/fuse_i.h linux-2.6.38.1/fs/fuse/fuse_i.h
--- linux-2.6.38.1/fs/fuse/fuse_i.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/fuse/fuse_i.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/fuse/fuse_i.h 2011-03-21 18:31:35.000000000 -0400
@@ -541,6 +541,16 @@ extern const struct file_operations fuse
extern const struct dentry_operations fuse_dentry_operations;
@@ -31751,9 +31765,9 @@ diff -urNp linux-2.6.38.1/fs/fuse/fuse_i.h linux-2.6.38.1-new/fs/fuse/fuse_i.h
/**
* Inode to nodeid comparison.
*/
-diff -urNp linux-2.6.38.1/fs/hfs/inode.c linux-2.6.38.1-new/fs/hfs/inode.c
+diff -urNp linux-2.6.38.1/fs/hfs/inode.c linux-2.6.38.1/fs/hfs/inode.c
--- linux-2.6.38.1/fs/hfs/inode.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/hfs/inode.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/hfs/inode.c 2011-03-21 18:31:35.000000000 -0400
@@ -447,7 +447,7 @@ int hfs_write_inode(struct inode *inode,
if (S_ISDIR(main_inode->i_mode)) {
@@ -31772,9 +31786,9 @@ diff -urNp linux-2.6.38.1/fs/hfs/inode.c linux-2.6.38.1-new/fs/hfs/inode.c
hfs_bnode_read(fd.bnode, &rec, fd.entryoffset,
sizeof(struct hfs_cat_file));
if (rec.type != HFS_CDR_FIL ||
-diff -urNp linux-2.6.38.1/fs/hfsplus/inode.c linux-2.6.38.1-new/fs/hfsplus/inode.c
+diff -urNp linux-2.6.38.1/fs/hfsplus/inode.c linux-2.6.38.1/fs/hfsplus/inode.c
--- linux-2.6.38.1/fs/hfsplus/inode.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/hfsplus/inode.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/hfsplus/inode.c 2011-03-21 18:31:35.000000000 -0400
@@ -498,7 +498,7 @@ int hfsplus_cat_read_inode(struct inode
struct hfsplus_cat_folder *folder = &entry.folder;
@@ -31811,9 +31825,9 @@ diff -urNp linux-2.6.38.1/fs/hfsplus/inode.c linux-2.6.38.1-new/fs/hfsplus/inode
hfs_bnode_read(fd.bnode, &entry, fd.entryoffset,
sizeof(struct hfsplus_cat_file));
hfsplus_inode_write_fork(inode, &file->data_fork);
-diff -urNp linux-2.6.38.1/fs/hugetlbfs/inode.c linux-2.6.38.1-new/fs/hugetlbfs/inode.c
+diff -urNp linux-2.6.38.1/fs/hugetlbfs/inode.c linux-2.6.38.1/fs/hugetlbfs/inode.c
--- linux-2.6.38.1/fs/hugetlbfs/inode.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/hugetlbfs/inode.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/hugetlbfs/inode.c 2011-03-21 18:31:35.000000000 -0400
@@ -915,7 +915,7 @@ static struct file_system_type hugetlbfs
.kill_sb = kill_litter_super,
};
@@ -31823,9 +31837,9 @@ diff -urNp linux-2.6.38.1/fs/hugetlbfs/inode.c linux-2.6.38.1-new/fs/hugetlbfs/i
static int can_do_hugetlb_shm(void)
{
-diff -urNp linux-2.6.38.1/fs/jffs2/debug.h linux-2.6.38.1-new/fs/jffs2/debug.h
+diff -urNp linux-2.6.38.1/fs/jffs2/debug.h linux-2.6.38.1/fs/jffs2/debug.h
--- linux-2.6.38.1/fs/jffs2/debug.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/jffs2/debug.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/jffs2/debug.h 2011-03-21 18:31:35.000000000 -0400
@@ -53,13 +53,13 @@
#if CONFIG_JFFS2_FS_DEBUG > 0
#define D1(x) x
@@ -31927,9 +31941,9 @@ diff -urNp linux-2.6.38.1/fs/jffs2/debug.h linux-2.6.38.1-new/fs/jffs2/debug.h
#endif
/* "Sanity" checks */
-diff -urNp linux-2.6.38.1/fs/jffs2/erase.c linux-2.6.38.1-new/fs/jffs2/erase.c
+diff -urNp linux-2.6.38.1/fs/jffs2/erase.c linux-2.6.38.1/fs/jffs2/erase.c
--- linux-2.6.38.1/fs/jffs2/erase.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/jffs2/erase.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/jffs2/erase.c 2011-03-21 18:31:35.000000000 -0400
@@ -439,7 +439,8 @@ static void jffs2_mark_erased_block(stru
struct jffs2_unknown_node marker = {
.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK),
@@ -31940,9 +31954,9 @@ diff -urNp linux-2.6.38.1/fs/jffs2/erase.c linux-2.6.38.1-new/fs/jffs2/erase.c
};
jffs2_prealloc_raw_node_refs(c, jeb, 1);
-diff -urNp linux-2.6.38.1/fs/jffs2/summary.h linux-2.6.38.1-new/fs/jffs2/summary.h
+diff -urNp linux-2.6.38.1/fs/jffs2/summary.h linux-2.6.38.1/fs/jffs2/summary.h
--- linux-2.6.38.1/fs/jffs2/summary.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/jffs2/summary.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/jffs2/summary.h 2011-03-21 18:31:35.000000000 -0400
@@ -194,18 +194,18 @@ int jffs2_sum_scan_sumnode(struct jffs2_
#define jffs2_sum_active() (0)
@@ -31971,9 +31985,9 @@ diff -urNp linux-2.6.38.1/fs/jffs2/summary.h linux-2.6.38.1-new/fs/jffs2/summary
#define jffs2_sum_scan_sumnode(a,b,c,d,e) (0)
#endif /* CONFIG_JFFS2_SUMMARY */
-diff -urNp linux-2.6.38.1/fs/jffs2/wbuf.c linux-2.6.38.1-new/fs/jffs2/wbuf.c
+diff -urNp linux-2.6.38.1/fs/jffs2/wbuf.c linux-2.6.38.1/fs/jffs2/wbuf.c
--- linux-2.6.38.1/fs/jffs2/wbuf.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/jffs2/wbuf.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/jffs2/wbuf.c 2011-03-21 18:31:35.000000000 -0400
@@ -1012,7 +1012,8 @@ static const struct jffs2_unknown_node o
{
.magic = constant_cpu_to_je16(JFFS2_MAGIC_BITMASK),
@@ -31984,9 +31998,9 @@ diff -urNp linux-2.6.38.1/fs/jffs2/wbuf.c linux-2.6.38.1-new/fs/jffs2/wbuf.c
};
/*
-diff -urNp linux-2.6.38.1/fs/Kconfig.binfmt linux-2.6.38.1-new/fs/Kconfig.binfmt
+diff -urNp linux-2.6.38.1/fs/Kconfig.binfmt linux-2.6.38.1/fs/Kconfig.binfmt
--- linux-2.6.38.1/fs/Kconfig.binfmt 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/Kconfig.binfmt 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/Kconfig.binfmt 2011-03-21 18:31:35.000000000 -0400
@@ -86,7 +86,7 @@ config HAVE_AOUT
config BINFMT_AOUT
@@ -31996,9 +32010,9 @@ diff -urNp linux-2.6.38.1/fs/Kconfig.binfmt linux-2.6.38.1-new/fs/Kconfig.binfmt
---help---
A.out (Assembler.OUTput) is a set of formats for libraries and
executables used in the earliest versions of UNIX. Linux used
-diff -urNp linux-2.6.38.1/fs/lockd/svc.c linux-2.6.38.1-new/fs/lockd/svc.c
+diff -urNp linux-2.6.38.1/fs/lockd/svc.c linux-2.6.38.1/fs/lockd/svc.c
--- linux-2.6.38.1/fs/lockd/svc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/lockd/svc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/lockd/svc.c 2011-03-21 18:31:35.000000000 -0400
@@ -41,7 +41,7 @@
static struct svc_program nlmsvc_program;
@@ -32008,9 +32022,9 @@ diff -urNp linux-2.6.38.1/fs/lockd/svc.c linux-2.6.38.1-new/fs/lockd/svc.c
EXPORT_SYMBOL_GPL(nlmsvc_ops);
static DEFINE_MUTEX(nlmsvc_mutex);
-diff -urNp linux-2.6.38.1/fs/locks.c linux-2.6.38.1-new/fs/locks.c
+diff -urNp linux-2.6.38.1/fs/locks.c linux-2.6.38.1/fs/locks.c
--- linux-2.6.38.1/fs/locks.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/locks.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/locks.c 2011-03-21 18:31:35.000000000 -0400
@@ -2044,16 +2044,16 @@ void locks_remove_flock(struct file *fil
return;
@@ -32032,9 +32046,9 @@ diff -urNp linux-2.6.38.1/fs/locks.c linux-2.6.38.1-new/fs/locks.c
}
lock_flocks();
-diff -urNp linux-2.6.38.1/fs/namei.c linux-2.6.38.1-new/fs/namei.c
+diff -urNp linux-2.6.38.1/fs/namei.c linux-2.6.38.1/fs/namei.c
--- linux-2.6.38.1/fs/namei.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/namei.c 2011-03-23 18:34:34.000000000 -0400
++++ linux-2.6.38.1/fs/namei.c 2011-03-25 18:59:30.000000000 -0400
@@ -226,14 +226,6 @@ int generic_permission(struct inode *ino
return ret;
@@ -32385,7 +32399,7 @@ diff -urNp linux-2.6.38.1/fs/namei.c linux-2.6.38.1-new/fs/namei.c
+ if (dentry->d_inode != NULL) {
+ if (dentry->d_inode->i_nlink <= 1) {
+ saved_ino = dentry->d_inode->i_ino;
-+ saved_dev = dentry->d_inode->i_sb->s_dev;
++ saved_dev = gr_get_dev_from_dentry(dentry);
+ }
+
+ if (!gr_acl_handle_rmdir(dentry, nd.path.mnt)) {
@@ -32424,7 +32438,7 @@ diff -urNp linux-2.6.38.1/fs/namei.c linux-2.6.38.1-new/fs/namei.c
ihold(inode);
+ if (inode->i_nlink <= 1) {
+ saved_ino = inode->i_ino;
-+ saved_dev = inode->i_sb->s_dev;
++ saved_dev = gr_get_dev_from_dentry(dentry);
+ }
+ if (!gr_acl_handle_unlink(dentry, nd.path.mnt)) {
+ error = -EACCES;
@@ -32517,9 +32531,9 @@ diff -urNp linux-2.6.38.1/fs/namei.c linux-2.6.38.1-new/fs/namei.c
exit6:
mnt_drop_write(oldnd.path.mnt);
exit5:
-diff -urNp linux-2.6.38.1/fs/namespace.c linux-2.6.38.1-new/fs/namespace.c
+diff -urNp linux-2.6.38.1/fs/namespace.c linux-2.6.38.1/fs/namespace.c
--- linux-2.6.38.1/fs/namespace.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/namespace.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/namespace.c 2011-03-21 18:31:35.000000000 -0400
@@ -1285,6 +1285,9 @@ static int do_umount(struct vfsmount *mn
if (!(sb->s_flags & MS_RDONLY))
retval = do_remount_sb(sb, MS_RDONLY, NULL, 0);
@@ -32580,9 +32594,9 @@ diff -urNp linux-2.6.38.1/fs/namespace.c linux-2.6.38.1-new/fs/namespace.c
get_fs_root(current->fs, &root);
down_write(&namespace_sem);
mutex_lock(&old.dentry->d_inode->i_mutex);
-diff -urNp linux-2.6.38.1/fs/nfs/inode.c linux-2.6.38.1-new/fs/nfs/inode.c
+diff -urNp linux-2.6.38.1/fs/nfs/inode.c linux-2.6.38.1/fs/nfs/inode.c
--- linux-2.6.38.1/fs/nfs/inode.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/nfs/inode.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/nfs/inode.c 2011-03-21 18:31:35.000000000 -0400
@@ -998,16 +998,16 @@ static int nfs_size_need_update(const st
return nfs_size_to_loff_t(fattr->size) > i_size_read(inode);
}
@@ -32603,9 +32617,9 @@ diff -urNp linux-2.6.38.1/fs/nfs/inode.c linux-2.6.38.1-new/fs/nfs/inode.c
}
void nfs_fattr_init(struct nfs_fattr *fattr)
-diff -urNp linux-2.6.38.1/fs/nfs/nfs4proc.c linux-2.6.38.1-new/fs/nfs/nfs4proc.c
+diff -urNp linux-2.6.38.1/fs/nfs/nfs4proc.c linux-2.6.38.1/fs/nfs/nfs4proc.c
--- linux-2.6.38.1/fs/nfs/nfs4proc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/nfs/nfs4proc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/nfs/nfs4proc.c 2011-03-21 18:31:35.000000000 -0400
@@ -1198,7 +1198,7 @@ static int _nfs4_do_open_reclaim(struct
static int nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state)
{
@@ -32876,9 +32890,9 @@ diff -urNp linux-2.6.38.1/fs/nfs/nfs4proc.c linux-2.6.38.1-new/fs/nfs/nfs4proc.c
int err;
err = nfs4_set_lock_state(state, fl);
-diff -urNp linux-2.6.38.1/fs/nfsd/lockd.c linux-2.6.38.1-new/fs/nfsd/lockd.c
+diff -urNp linux-2.6.38.1/fs/nfsd/lockd.c linux-2.6.38.1/fs/nfsd/lockd.c
--- linux-2.6.38.1/fs/nfsd/lockd.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/nfsd/lockd.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/nfsd/lockd.c 2011-03-21 18:31:35.000000000 -0400
@@ -61,7 +61,7 @@ nlm_fclose(struct file *filp)
fput(filp);
}
@@ -32888,9 +32902,9 @@ diff -urNp linux-2.6.38.1/fs/nfsd/lockd.c linux-2.6.38.1-new/fs/nfsd/lockd.c
.fopen = nlm_fopen, /* open file for locking */
.fclose = nlm_fclose, /* close file */
};
-diff -urNp linux-2.6.38.1/fs/nfsd/nfsctl.c linux-2.6.38.1-new/fs/nfsd/nfsctl.c
+diff -urNp linux-2.6.38.1/fs/nfsd/nfsctl.c linux-2.6.38.1/fs/nfsd/nfsctl.c
--- linux-2.6.38.1/fs/nfsd/nfsctl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/nfsd/nfsctl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/nfsd/nfsctl.c 2011-03-21 18:31:35.000000000 -0400
@@ -180,7 +180,7 @@ static int export_features_open(struct i
return single_open(file, export_features_show, NULL);
}
@@ -32900,9 +32914,9 @@ diff -urNp linux-2.6.38.1/fs/nfsd/nfsctl.c linux-2.6.38.1-new/fs/nfsd/nfsctl.c
.open = export_features_open,
.read = seq_read,
.llseek = seq_lseek,
-diff -urNp linux-2.6.38.1/fs/nfsd/vfs.c linux-2.6.38.1-new/fs/nfsd/vfs.c
+diff -urNp linux-2.6.38.1/fs/nfsd/vfs.c linux-2.6.38.1/fs/nfsd/vfs.c
--- linux-2.6.38.1/fs/nfsd/vfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/nfsd/vfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/nfsd/vfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -898,7 +898,7 @@ nfsd_vfs_read(struct svc_rqst *rqstp, st
} else {
oldfs = get_fs();
@@ -32930,9 +32944,9 @@ diff -urNp linux-2.6.38.1/fs/nfsd/vfs.c linux-2.6.38.1-new/fs/nfsd/vfs.c
set_fs(oldfs);
if (host_err < 0)
-diff -urNp linux-2.6.38.1/fs/nls/nls_base.c linux-2.6.38.1-new/fs/nls/nls_base.c
+diff -urNp linux-2.6.38.1/fs/nls/nls_base.c linux-2.6.38.1/fs/nls/nls_base.c
--- linux-2.6.38.1/fs/nls/nls_base.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/nls/nls_base.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/nls/nls_base.c 2011-03-21 18:31:35.000000000 -0400
@@ -41,7 +41,7 @@ static const struct utf8_table utf8_tabl
{0xF8, 0xF0, 3*6, 0x1FFFFF, 0x10000, /* 4 byte sequence */},
{0xFC, 0xF8, 4*6, 0x3FFFFFF, 0x200000, /* 5 byte sequence */},
@@ -32942,9 +32956,9 @@ diff -urNp linux-2.6.38.1/fs/nls/nls_base.c linux-2.6.38.1-new/fs/nls/nls_base.c
};
#define UNICODE_MAX 0x0010ffff
-diff -urNp linux-2.6.38.1/fs/ntfs/dir.c linux-2.6.38.1-new/fs/ntfs/dir.c
+diff -urNp linux-2.6.38.1/fs/ntfs/dir.c linux-2.6.38.1/fs/ntfs/dir.c
--- linux-2.6.38.1/fs/ntfs/dir.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ntfs/dir.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ntfs/dir.c 2011-03-21 18:31:35.000000000 -0400
@@ -1329,7 +1329,7 @@ find_next_index_buffer:
ia = (INDEX_ALLOCATION*)(kaddr + (ia_pos & ~PAGE_CACHE_MASK &
~(s64)(ndir->itype.index.block_size - 1)));
@@ -32954,9 +32968,9 @@ diff -urNp linux-2.6.38.1/fs/ntfs/dir.c linux-2.6.38.1-new/fs/ntfs/dir.c
ntfs_error(sb, "Out of bounds check failed. Corrupt directory "
"inode 0x%lx or driver bug.", vdir->i_ino);
goto err_out;
-diff -urNp linux-2.6.38.1/fs/ntfs/file.c linux-2.6.38.1-new/fs/ntfs/file.c
+diff -urNp linux-2.6.38.1/fs/ntfs/file.c linux-2.6.38.1/fs/ntfs/file.c
--- linux-2.6.38.1/fs/ntfs/file.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ntfs/file.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ntfs/file.c 2011-03-21 18:31:35.000000000 -0400
@@ -2222,6 +2222,6 @@ const struct inode_operations ntfs_file_
#endif /* NTFS_RW */
};
@@ -32966,9 +32980,9 @@ diff -urNp linux-2.6.38.1/fs/ntfs/file.c linux-2.6.38.1-new/fs/ntfs/file.c
-const struct inode_operations ntfs_empty_inode_ops = {};
+const struct inode_operations ntfs_empty_inode_ops __read_only;
-diff -urNp linux-2.6.38.1/fs/ocfs2/localalloc.c linux-2.6.38.1-new/fs/ocfs2/localalloc.c
+diff -urNp linux-2.6.38.1/fs/ocfs2/localalloc.c linux-2.6.38.1/fs/ocfs2/localalloc.c
--- linux-2.6.38.1/fs/ocfs2/localalloc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ocfs2/localalloc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ocfs2/localalloc.c 2011-03-21 18:31:35.000000000 -0400
@@ -1307,7 +1307,7 @@ static int ocfs2_local_alloc_slide_windo
goto bail;
}
@@ -32978,9 +32992,9 @@ diff -urNp linux-2.6.38.1/fs/ocfs2/localalloc.c linux-2.6.38.1-new/fs/ocfs2/loca
bail:
if (handle)
-diff -urNp linux-2.6.38.1/fs/ocfs2/ocfs2.h linux-2.6.38.1-new/fs/ocfs2/ocfs2.h
+diff -urNp linux-2.6.38.1/fs/ocfs2/ocfs2.h linux-2.6.38.1/fs/ocfs2/ocfs2.h
--- linux-2.6.38.1/fs/ocfs2/ocfs2.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ocfs2/ocfs2.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ocfs2/ocfs2.h 2011-03-21 18:31:35.000000000 -0400
@@ -230,11 +230,11 @@ enum ocfs2_vol_state
struct ocfs2_alloc_stats
@@ -32998,9 +33012,9 @@ diff -urNp linux-2.6.38.1/fs/ocfs2/ocfs2.h linux-2.6.38.1-new/fs/ocfs2/ocfs2.h
};
enum ocfs2_local_alloc_state
-diff -urNp linux-2.6.38.1/fs/ocfs2/suballoc.c linux-2.6.38.1-new/fs/ocfs2/suballoc.c
+diff -urNp linux-2.6.38.1/fs/ocfs2/suballoc.c linux-2.6.38.1/fs/ocfs2/suballoc.c
--- linux-2.6.38.1/fs/ocfs2/suballoc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ocfs2/suballoc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ocfs2/suballoc.c 2011-03-21 18:31:35.000000000 -0400
@@ -877,7 +877,7 @@ static int ocfs2_reserve_suballoc_bits(s
mlog_errno(status);
goto bail;
@@ -33046,9 +33060,9 @@ diff -urNp linux-2.6.38.1/fs/ocfs2/suballoc.c linux-2.6.38.1-new/fs/ocfs2/suball
*num_clusters = res.sr_bits;
}
}
-diff -urNp linux-2.6.38.1/fs/ocfs2/super.c linux-2.6.38.1-new/fs/ocfs2/super.c
+diff -urNp linux-2.6.38.1/fs/ocfs2/super.c linux-2.6.38.1/fs/ocfs2/super.c
--- linux-2.6.38.1/fs/ocfs2/super.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ocfs2/super.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ocfs2/super.c 2011-03-21 18:31:35.000000000 -0400
@@ -297,11 +297,11 @@ static int ocfs2_osb_dump(struct ocfs2_s
"%10s => GlobalAllocs: %d LocalAllocs: %d "
"SubAllocs: %d LAWinMoves: %d SAExtends: %d\n",
@@ -33083,9 +33097,9 @@ diff -urNp linux-2.6.38.1/fs/ocfs2/super.c linux-2.6.38.1-new/fs/ocfs2/super.c
/* Copy the blockcheck stats from the superblock probe */
osb->osb_ecc_stats = *stats;
-diff -urNp linux-2.6.38.1/fs/ocfs2/symlink.c linux-2.6.38.1-new/fs/ocfs2/symlink.c
+diff -urNp linux-2.6.38.1/fs/ocfs2/symlink.c linux-2.6.38.1/fs/ocfs2/symlink.c
--- linux-2.6.38.1/fs/ocfs2/symlink.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ocfs2/symlink.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ocfs2/symlink.c 2011-03-21 18:31:35.000000000 -0400
@@ -148,7 +148,7 @@ bail:
static void ocfs2_fast_put_link(struct dentry *dentry, struct nameidata *nd, void *cookie)
@@ -33095,9 +33109,9 @@ diff -urNp linux-2.6.38.1/fs/ocfs2/symlink.c linux-2.6.38.1-new/fs/ocfs2/symlink
if (!IS_ERR(link))
kfree(link);
}
-diff -urNp linux-2.6.38.1/fs/open.c linux-2.6.38.1-new/fs/open.c
+diff -urNp linux-2.6.38.1/fs/open.c linux-2.6.38.1/fs/open.c
--- linux-2.6.38.1/fs/open.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/open.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/open.c 2011-03-21 18:31:35.000000000 -0400
@@ -112,6 +112,10 @@ static long do_sys_truncate(const char _
error = locks_verify_truncate(inode, NULL, length);
if (!error)
@@ -33235,9 +33249,9 @@ diff -urNp linux-2.6.38.1/fs/open.c linux-2.6.38.1-new/fs/open.c
if (IS_ERR(f)) {
put_unused_fd(fd);
fd = PTR_ERR(f);
-diff -urNp linux-2.6.38.1/fs/partitions/ldm.c linux-2.6.38.1-new/fs/partitions/ldm.c
+diff -urNp linux-2.6.38.1/fs/partitions/ldm.c linux-2.6.38.1/fs/partitions/ldm.c
--- linux-2.6.38.1/fs/partitions/ldm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/partitions/ldm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/partitions/ldm.c 2011-03-21 18:31:35.000000000 -0400
@@ -1313,7 +1313,7 @@ static bool ldm_frag_add (const u8 *data
goto found;
}
@@ -33247,9 +33261,9 @@ diff -urNp linux-2.6.38.1/fs/partitions/ldm.c linux-2.6.38.1-new/fs/partitions/l
if (!f) {
ldm_crit ("Out of memory.");
return false;
-diff -urNp linux-2.6.38.1/fs/pipe.c linux-2.6.38.1-new/fs/pipe.c
+diff -urNp linux-2.6.38.1/fs/pipe.c linux-2.6.38.1/fs/pipe.c
--- linux-2.6.38.1/fs/pipe.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/pipe.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/pipe.c 2011-03-21 18:31:35.000000000 -0400
@@ -420,9 +420,9 @@ redo:
}
if (bufs) /* More to do? */
@@ -33373,9 +33387,9 @@ diff -urNp linux-2.6.38.1/fs/pipe.c linux-2.6.38.1-new/fs/pipe.c
inode->i_fop = &rdwr_pipefifo_fops;
/*
-diff -urNp linux-2.6.38.1/fs/proc/array.c linux-2.6.38.1-new/fs/proc/array.c
+diff -urNp linux-2.6.38.1/fs/proc/array.c linux-2.6.38.1/fs/proc/array.c
--- linux-2.6.38.1/fs/proc/array.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/array.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/array.c 2011-03-21 18:31:35.000000000 -0400
@@ -60,6 +60,7 @@
#include <linux/tty.h>
#include <linux/string.h>
@@ -33478,9 +33492,9 @@ diff -urNp linux-2.6.38.1/fs/proc/array.c linux-2.6.38.1-new/fs/proc/array.c
+ return sprintf(buffer, "%pI4\n", &task->signal->curr_ip);
+}
+#endif
-diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
+diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1/fs/proc/base.c
--- linux-2.6.38.1/fs/proc/base.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/base.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/base.c 2011-03-26 11:59:10.000000000 -0400
@@ -104,6 +104,22 @@ struct pid_entry {
union proc_op op;
};
@@ -33580,7 +33594,28 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
static int proc_pid_syscall(struct task_struct *task, char *buffer)
{
long nr;
-@@ -917,6 +955,9 @@ static ssize_t environ_read(struct file
+@@ -528,7 +566,7 @@ static int proc_pid_syscall(struct task_
+ /************************************************************************/
+
+ /* permission checks */
+-static int proc_fd_access_allowed(struct inode *inode)
++static int proc_fd_access_allowed(struct inode *inode, unsigned int log)
+ {
+ struct task_struct *task;
+ int allowed = 0;
+@@ -538,7 +576,10 @@ static int proc_fd_access_allowed(struct
+ */
+ task = get_proc_task(inode);
+ if (task) {
+- allowed = ptrace_may_access(task, PTRACE_MODE_READ);
++ if (log)
++ allowed = ptrace_may_access_log(task, PTRACE_MODE_READ);
++ else
++ allowed = ptrace_may_access(task, PTRACE_MODE_READ);
+ put_task_struct(task);
+ }
+ return allowed;
+@@ -917,6 +958,9 @@ static ssize_t environ_read(struct file
if (!task)
goto out_no_task;
@@ -33590,7 +33625,37 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
if (!ptrace_may_access(task, PTRACE_MODE_READ))
goto out;
-@@ -1712,7 +1753,11 @@ static struct inode *proc_pid_make_inode
+@@ -1606,7 +1650,7 @@ static void *proc_pid_follow_link(struct
+ path_put(&nd->path);
+
+ /* Are we allowed to snoop on the tasks file descriptors? */
+- if (!proc_fd_access_allowed(inode))
++ if (!proc_fd_access_allowed(inode,0))
+ goto out;
+
+ error = PROC_I(inode)->op.proc_get_link(inode, &nd->path);
+@@ -1645,8 +1689,18 @@ static int proc_pid_readlink(struct dent
+ struct path path;
+
+ /* Are we allowed to snoop on the tasks file descriptors? */
+- if (!proc_fd_access_allowed(inode))
+- goto out;
++ /* logging this is needed for learning on chromium to work properly,
++ but we don't want to flood the logs from 'ps' which does a readlink
++ on /proc/fd/2 of tasks in the listing, nor do we want 'ps' to learn
++ CAP_SYS_PTRACE as it's not necessary for its basic functionality
++ */
++ if (dentry->d_name.name[0] == '2' && dentry->d_name.name[1] == '\0') {
++ if (!proc_fd_access_allowed(inode,0))
++ goto out;
++ } else {
++ if (!proc_fd_access_allowed(inode,1))
++ goto out;
++ }
+
+ error = PROC_I(inode)->op.proc_get_link(inode, &path);
+ if (error)
+@@ -1712,7 +1766,11 @@ static struct inode *proc_pid_make_inode
rcu_read_lock();
cred = __task_cred(task);
inode->i_uid = cred->euid;
@@ -33602,7 +33667,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
rcu_read_unlock();
}
security_task_to_inode(task, inode);
-@@ -1730,6 +1775,9 @@ static int pid_getattr(struct vfsmount *
+@@ -1730,6 +1788,9 @@ static int pid_getattr(struct vfsmount *
struct inode *inode = dentry->d_inode;
struct task_struct *task;
const struct cred *cred;
@@ -33612,7 +33677,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
generic_fillattr(inode, stat);
-@@ -1737,12 +1785,34 @@ static int pid_getattr(struct vfsmount *
+@@ -1737,12 +1798,34 @@ static int pid_getattr(struct vfsmount *
stat->uid = 0;
stat->gid = 0;
task = pid_task(proc_pid(inode), PIDTYPE_PID);
@@ -33648,7 +33713,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
}
}
rcu_read_unlock();
-@@ -1780,11 +1850,20 @@ static int pid_revalidate(struct dentry
+@@ -1780,11 +1863,20 @@ static int pid_revalidate(struct dentry
if (task) {
if ((inode->i_mode == (S_IFDIR|S_IRUGO|S_IXUGO)) ||
@@ -33669,7 +33734,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
rcu_read_unlock();
} else {
inode->i_uid = 0;
-@@ -1905,7 +1984,8 @@ static int proc_fd_info(struct inode *in
+@@ -1905,7 +1997,8 @@ static int proc_fd_info(struct inode *in
int fd = proc_fd(inode);
if (task) {
@@ -33679,7 +33744,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
put_task_struct(task);
}
if (files) {
-@@ -2165,15 +2245,25 @@ static const struct file_operations proc
+@@ -2165,15 +2258,25 @@ static const struct file_operations proc
*/
static int proc_fd_permission(struct inode *inode, int mask, unsigned int flags)
{
@@ -33707,7 +33772,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
return rv;
}
-@@ -2283,6 +2373,9 @@ static struct dentry *proc_pident_lookup
+@@ -2283,6 +2386,9 @@ static struct dentry *proc_pident_lookup
if (!task)
goto out_no_task;
@@ -33717,7 +33782,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
/*
* Yes, it does not scale. And it should not. Don't add
* new entries into /proc/<tgid>/ without very good reasons.
-@@ -2327,6 +2420,9 @@ static int proc_pident_readdir(struct fi
+@@ -2327,6 +2433,9 @@ static int proc_pident_readdir(struct fi
if (!task)
goto out_no_task;
@@ -33727,7 +33792,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
ret = 0;
i = filp->f_pos;
switch (i) {
-@@ -2597,7 +2693,7 @@ static void *proc_self_follow_link(struc
+@@ -2597,7 +2706,7 @@ static void *proc_self_follow_link(struc
static void proc_self_put_link(struct dentry *dentry, struct nameidata *nd,
void *cookie)
{
@@ -33736,7 +33801,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
if (!IS_ERR(s))
__putname(s);
}
-@@ -2777,7 +2873,7 @@ static const struct pid_entry tgid_base_
+@@ -2777,7 +2886,7 @@ static const struct pid_entry tgid_base_
REG("autogroup", S_IRUGO|S_IWUSR, proc_pid_sched_autogroup_operations),
#endif
REG("comm", S_IRUGO|S_IWUSR, proc_pid_set_comm_operations),
@@ -33745,7 +33810,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
INF("syscall", S_IRUSR, proc_pid_syscall),
#endif
INF("cmdline", S_IRUGO, proc_pid_cmdline),
-@@ -2802,10 +2898,10 @@ static const struct pid_entry tgid_base_
+@@ -2802,10 +2911,10 @@ static const struct pid_entry tgid_base_
#ifdef CONFIG_SECURITY
DIR("attr", S_IRUGO|S_IXUGO, proc_attr_dir_inode_operations, proc_attr_dir_operations),
#endif
@@ -33758,7 +33823,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
ONE("stack", S_IRUSR, proc_pid_stack),
#endif
#ifdef CONFIG_SCHEDSTATS
-@@ -2836,6 +2932,9 @@ static const struct pid_entry tgid_base_
+@@ -2836,6 +2945,9 @@ static const struct pid_entry tgid_base_
#ifdef CONFIG_TASK_IO_ACCOUNTING
INF("io", S_IRUGO, proc_tgid_io_accounting),
#endif
@@ -33768,7 +33833,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
};
static int proc_tgid_base_readdir(struct file * filp,
-@@ -2961,7 +3060,14 @@ static struct dentry *proc_pid_instantia
+@@ -2961,7 +3073,14 @@ static struct dentry *proc_pid_instantia
if (!inode)
goto out;
@@ -33783,7 +33848,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
inode->i_op = &proc_tgid_base_inode_operations;
inode->i_fop = &proc_tgid_base_operations;
inode->i_flags|=S_IMMUTABLE;
-@@ -3003,7 +3109,11 @@ struct dentry *proc_pid_lookup(struct in
+@@ -3003,7 +3122,11 @@ struct dentry *proc_pid_lookup(struct in
if (!task)
goto out;
@@ -33795,7 +33860,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
put_task_struct(task);
out:
return result;
-@@ -3068,6 +3178,11 @@ int proc_pid_readdir(struct file * filp,
+@@ -3068,6 +3191,11 @@ int proc_pid_readdir(struct file * filp,
{
unsigned int nr = filp->f_pos - FIRST_PROCESS_ENTRY;
struct task_struct *reaper = get_proc_task(filp->f_path.dentry->d_inode);
@@ -33807,7 +33872,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
struct tgid_iter iter;
struct pid_namespace *ns;
-@@ -3086,8 +3201,27 @@ int proc_pid_readdir(struct file * filp,
+@@ -3086,8 +3214,27 @@ int proc_pid_readdir(struct file * filp,
for (iter = next_tgid(ns, iter);
iter.task;
iter.tgid += 1, iter = next_tgid(ns, iter)) {
@@ -33836,7 +33901,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
put_task_struct(iter.task);
goto out;
}
-@@ -3114,7 +3248,7 @@ static const struct pid_entry tid_base_s
+@@ -3114,7 +3261,7 @@ static const struct pid_entry tid_base_s
REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations),
#endif
REG("comm", S_IRUGO|S_IWUSR, proc_pid_set_comm_operations),
@@ -33845,7 +33910,7 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
INF("syscall", S_IRUSR, proc_pid_syscall),
#endif
INF("cmdline", S_IRUGO, proc_pid_cmdline),
-@@ -3138,10 +3272,10 @@ static const struct pid_entry tid_base_s
+@@ -3138,10 +3285,10 @@ static const struct pid_entry tid_base_s
#ifdef CONFIG_SECURITY
DIR("attr", S_IRUGO|S_IXUGO, proc_attr_dir_inode_operations, proc_attr_dir_operations),
#endif
@@ -33858,9 +33923,9 @@ diff -urNp linux-2.6.38.1/fs/proc/base.c linux-2.6.38.1-new/fs/proc/base.c
ONE("stack", S_IRUSR, proc_pid_stack),
#endif
#ifdef CONFIG_SCHEDSTATS
-diff -urNp linux-2.6.38.1/fs/proc/cmdline.c linux-2.6.38.1-new/fs/proc/cmdline.c
+diff -urNp linux-2.6.38.1/fs/proc/cmdline.c linux-2.6.38.1/fs/proc/cmdline.c
--- linux-2.6.38.1/fs/proc/cmdline.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/cmdline.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/cmdline.c 2011-03-21 18:31:35.000000000 -0400
@@ -23,7 +23,11 @@ static const struct file_operations cmdl
static int __init proc_cmdline_init(void)
@@ -33873,9 +33938,9 @@ diff -urNp linux-2.6.38.1/fs/proc/cmdline.c linux-2.6.38.1-new/fs/proc/cmdline.c
return 0;
}
module_init(proc_cmdline_init);
-diff -urNp linux-2.6.38.1/fs/proc/devices.c linux-2.6.38.1-new/fs/proc/devices.c
+diff -urNp linux-2.6.38.1/fs/proc/devices.c linux-2.6.38.1/fs/proc/devices.c
--- linux-2.6.38.1/fs/proc/devices.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/devices.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/devices.c 2011-03-21 18:31:35.000000000 -0400
@@ -64,7 +64,11 @@ static const struct file_operations proc
static int __init proc_devices_init(void)
@@ -33888,9 +33953,9 @@ diff -urNp linux-2.6.38.1/fs/proc/devices.c linux-2.6.38.1-new/fs/proc/devices.c
return 0;
}
module_init(proc_devices_init);
-diff -urNp linux-2.6.38.1/fs/proc/inode.c linux-2.6.38.1-new/fs/proc/inode.c
+diff -urNp linux-2.6.38.1/fs/proc/inode.c linux-2.6.38.1/fs/proc/inode.c
--- linux-2.6.38.1/fs/proc/inode.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/inode.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/inode.c 2011-03-21 18:31:35.000000000 -0400
@@ -435,7 +435,11 @@ struct inode *proc_get_inode(struct supe
if (de->mode) {
inode->i_mode = de->mode;
@@ -33903,9 +33968,9 @@ diff -urNp linux-2.6.38.1/fs/proc/inode.c linux-2.6.38.1-new/fs/proc/inode.c
}
if (de->size)
inode->i_size = de->size;
-diff -urNp linux-2.6.38.1/fs/proc/internal.h linux-2.6.38.1-new/fs/proc/internal.h
+diff -urNp linux-2.6.38.1/fs/proc/internal.h linux-2.6.38.1/fs/proc/internal.h
--- linux-2.6.38.1/fs/proc/internal.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/internal.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/internal.h 2011-03-21 18:31:35.000000000 -0400
@@ -51,6 +51,9 @@ extern int proc_pid_status(struct seq_fi
struct pid *pid, struct task_struct *task);
extern int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns,
@@ -33916,9 +33981,9 @@ diff -urNp linux-2.6.38.1/fs/proc/internal.h linux-2.6.38.1-new/fs/proc/internal
extern loff_t mem_lseek(struct file *file, loff_t offset, int orig);
extern const struct file_operations proc_maps_operations;
-diff -urNp linux-2.6.38.1/fs/proc/Kconfig linux-2.6.38.1-new/fs/proc/Kconfig
+diff -urNp linux-2.6.38.1/fs/proc/Kconfig linux-2.6.38.1/fs/proc/Kconfig
--- linux-2.6.38.1/fs/proc/Kconfig 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/Kconfig 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/Kconfig 2011-03-21 18:31:35.000000000 -0400
@@ -30,12 +30,12 @@ config PROC_FS
config PROC_KCORE
@@ -33946,9 +34011,9 @@ diff -urNp linux-2.6.38.1/fs/proc/Kconfig linux-2.6.38.1-new/fs/proc/Kconfig
bool "Enable /proc page monitoring" if EXPERT
help
Various /proc files exist to monitor process memory utilization:
-diff -urNp linux-2.6.38.1/fs/proc/kcore.c linux-2.6.38.1-new/fs/proc/kcore.c
+diff -urNp linux-2.6.38.1/fs/proc/kcore.c linux-2.6.38.1/fs/proc/kcore.c
--- linux-2.6.38.1/fs/proc/kcore.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/kcore.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/kcore.c 2011-03-21 18:31:35.000000000 -0400
@@ -478,9 +478,10 @@ read_kcore(struct file *file, char __use
* the addresses in the elf_phdr on our list.
*/
@@ -34007,9 +34072,9 @@ diff -urNp linux-2.6.38.1/fs/proc/kcore.c linux-2.6.38.1-new/fs/proc/kcore.c
if (!capable(CAP_SYS_RAWIO))
return -EPERM;
if (kcore_need_update)
-diff -urNp linux-2.6.38.1/fs/proc/meminfo.c linux-2.6.38.1-new/fs/proc/meminfo.c
+diff -urNp linux-2.6.38.1/fs/proc/meminfo.c linux-2.6.38.1/fs/proc/meminfo.c
--- linux-2.6.38.1/fs/proc/meminfo.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/meminfo.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/meminfo.c 2011-03-21 18:31:35.000000000 -0400
@@ -157,7 +157,7 @@ static int meminfo_proc_show(struct seq_
vmi.used >> 10,
vmi.largest_chunk >> 10
@@ -34019,9 +34084,9 @@ diff -urNp linux-2.6.38.1/fs/proc/meminfo.c linux-2.6.38.1-new/fs/proc/meminfo.c
#endif
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
,K(global_page_state(NR_ANON_TRANSPARENT_HUGEPAGES) *
-diff -urNp linux-2.6.38.1/fs/proc/nommu.c linux-2.6.38.1-new/fs/proc/nommu.c
+diff -urNp linux-2.6.38.1/fs/proc/nommu.c linux-2.6.38.1/fs/proc/nommu.c
--- linux-2.6.38.1/fs/proc/nommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/nommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/nommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -66,7 +66,7 @@ static int nommu_region_show(struct seq_
if (len < 1)
len = 1;
@@ -34031,9 +34096,9 @@ diff -urNp linux-2.6.38.1/fs/proc/nommu.c linux-2.6.38.1-new/fs/proc/nommu.c
}
seq_putc(m, '\n');
-diff -urNp linux-2.6.38.1/fs/proc/proc_net.c linux-2.6.38.1-new/fs/proc/proc_net.c
+diff -urNp linux-2.6.38.1/fs/proc/proc_net.c linux-2.6.38.1/fs/proc/proc_net.c
--- linux-2.6.38.1/fs/proc/proc_net.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/proc_net.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/proc_net.c 2011-03-21 18:31:35.000000000 -0400
@@ -105,6 +105,17 @@ static struct net *get_proc_task_net(str
struct task_struct *task;
struct nsproxy *ns;
@@ -34052,9 +34117,9 @@ diff -urNp linux-2.6.38.1/fs/proc/proc_net.c linux-2.6.38.1-new/fs/proc/proc_net
rcu_read_lock();
task = pid_task(proc_pid(dir), PIDTYPE_PID);
-diff -urNp linux-2.6.38.1/fs/proc/proc_sysctl.c linux-2.6.38.1-new/fs/proc/proc_sysctl.c
+diff -urNp linux-2.6.38.1/fs/proc/proc_sysctl.c linux-2.6.38.1/fs/proc/proc_sysctl.c
--- linux-2.6.38.1/fs/proc/proc_sysctl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/proc_sysctl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/proc_sysctl.c 2011-03-21 18:31:35.000000000 -0400
@@ -8,6 +8,8 @@
#include <linux/namei.h>
#include "internal.h"
@@ -34094,9 +34159,9 @@ diff -urNp linux-2.6.38.1/fs/proc/proc_sysctl.c linux-2.6.38.1-new/fs/proc/proc_
generic_fillattr(inode, stat);
if (table)
stat->mode = (stat->mode & S_IFMT) | table->mode;
-diff -urNp linux-2.6.38.1/fs/proc/root.c linux-2.6.38.1-new/fs/proc/root.c
+diff -urNp linux-2.6.38.1/fs/proc/root.c linux-2.6.38.1/fs/proc/root.c
--- linux-2.6.38.1/fs/proc/root.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/root.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/root.c 2011-03-21 18:31:35.000000000 -0400
@@ -132,7 +132,15 @@ void __init proc_root_init(void)
#ifdef CONFIG_PROC_DEVICETREE
proc_device_tree_init();
@@ -34113,9 +34178,9 @@ diff -urNp linux-2.6.38.1/fs/proc/root.c linux-2.6.38.1-new/fs/proc/root.c
proc_sys_init();
}
-diff -urNp linux-2.6.38.1/fs/proc/task_mmu.c linux-2.6.38.1-new/fs/proc/task_mmu.c
+diff -urNp linux-2.6.38.1/fs/proc/task_mmu.c linux-2.6.38.1/fs/proc/task_mmu.c
--- linux-2.6.38.1/fs/proc/task_mmu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/task_mmu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/task_mmu.c 2011-03-21 18:31:35.000000000 -0400
@@ -49,8 +49,13 @@ void task_mem(struct seq_file *m, struct
"VmExe:\t%8lu kB\n"
"VmLib:\t%8lu kB\n"
@@ -34255,9 +34320,9 @@ diff -urNp linux-2.6.38.1/fs/proc/task_mmu.c linux-2.6.38.1-new/fs/proc/task_mmu
mss.resident >> 10,
(unsigned long)(mss.pss >> (10 + PSS_SHIFT)),
mss.shared_clean >> 10,
-diff -urNp linux-2.6.38.1/fs/proc/task_nommu.c linux-2.6.38.1-new/fs/proc/task_nommu.c
+diff -urNp linux-2.6.38.1/fs/proc/task_nommu.c linux-2.6.38.1/fs/proc/task_nommu.c
--- linux-2.6.38.1/fs/proc/task_nommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/proc/task_nommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/proc/task_nommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -51,7 +51,7 @@ void task_mem(struct seq_file *m, struct
else
bytes += kobjsize(mm);
@@ -34276,9 +34341,9 @@ diff -urNp linux-2.6.38.1/fs/proc/task_nommu.c linux-2.6.38.1-new/fs/proc/task_n
} else if (mm) {
if (vma->vm_start <= mm->start_stack &&
vma->vm_end >= mm->start_stack) {
-diff -urNp linux-2.6.38.1/fs/readdir.c linux-2.6.38.1-new/fs/readdir.c
+diff -urNp linux-2.6.38.1/fs/readdir.c linux-2.6.38.1/fs/readdir.c
--- linux-2.6.38.1/fs/readdir.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/readdir.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/readdir.c 2011-03-21 18:31:35.000000000 -0400
@@ -17,6 +17,7 @@
#include <linux/security.h>
#include <linux/syscalls.h>
@@ -34368,9 +34433,9 @@ diff -urNp linux-2.6.38.1/fs/readdir.c linux-2.6.38.1-new/fs/readdir.c
buf.count = count;
buf.error = 0;
-diff -urNp linux-2.6.38.1/fs/reiserfs/do_balan.c linux-2.6.38.1-new/fs/reiserfs/do_balan.c
+diff -urNp linux-2.6.38.1/fs/reiserfs/do_balan.c linux-2.6.38.1/fs/reiserfs/do_balan.c
--- linux-2.6.38.1/fs/reiserfs/do_balan.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/reiserfs/do_balan.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/reiserfs/do_balan.c 2011-03-21 18:31:35.000000000 -0400
@@ -2051,7 +2051,7 @@ void do_balance(struct tree_balance *tb,
return;
}
@@ -34380,9 +34445,9 @@ diff -urNp linux-2.6.38.1/fs/reiserfs/do_balan.c linux-2.6.38.1-new/fs/reiserfs/
do_balance_starts(tb);
/* balance leaf returns 0 except if combining L R and S into
-diff -urNp linux-2.6.38.1/fs/reiserfs/item_ops.c linux-2.6.38.1-new/fs/reiserfs/item_ops.c
+diff -urNp linux-2.6.38.1/fs/reiserfs/item_ops.c linux-2.6.38.1/fs/reiserfs/item_ops.c
--- linux-2.6.38.1/fs/reiserfs/item_ops.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/reiserfs/item_ops.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/reiserfs/item_ops.c 2011-03-21 18:31:35.000000000 -0400
@@ -102,7 +102,7 @@ static void sd_print_vi(struct virtual_i
vi->vi_index, vi->vi_type, vi->vi_ih);
}
@@ -34437,9 +34502,9 @@ diff -urNp linux-2.6.38.1/fs/reiserfs/item_ops.c linux-2.6.38.1-new/fs/reiserfs/
&stat_data_ops,
&indirect_ops,
&direct_ops,
-diff -urNp linux-2.6.38.1/fs/reiserfs/procfs.c linux-2.6.38.1-new/fs/reiserfs/procfs.c
+diff -urNp linux-2.6.38.1/fs/reiserfs/procfs.c linux-2.6.38.1/fs/reiserfs/procfs.c
--- linux-2.6.38.1/fs/reiserfs/procfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/reiserfs/procfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/reiserfs/procfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -113,7 +113,7 @@ static int show_super(struct seq_file *m
"SMALL_TAILS " : "NO_TAILS ",
replay_only(sb) ? "REPLAY_ONLY " : "",
@@ -34449,9 +34514,9 @@ diff -urNp linux-2.6.38.1/fs/reiserfs/procfs.c linux-2.6.38.1-new/fs/reiserfs/pr
SF(s_disk_reads), SF(s_disk_writes), SF(s_fix_nodes),
SF(s_do_balance), SF(s_unneeded_left_neighbor),
SF(s_good_search_by_key_reada), SF(s_bmaps),
-diff -urNp linux-2.6.38.1/fs/select.c linux-2.6.38.1-new/fs/select.c
+diff -urNp linux-2.6.38.1/fs/select.c linux-2.6.38.1/fs/select.c
--- linux-2.6.38.1/fs/select.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/select.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/select.c 2011-03-21 18:31:35.000000000 -0400
@@ -20,6 +20,7 @@
#include <linux/module.h>
#include <linux/slab.h>
@@ -34468,9 +34533,9 @@ diff -urNp linux-2.6.38.1/fs/select.c linux-2.6.38.1-new/fs/select.c
if (nfds > rlimit(RLIMIT_NOFILE))
return -EINVAL;
-diff -urNp linux-2.6.38.1/fs/seq_file.c linux-2.6.38.1-new/fs/seq_file.c
+diff -urNp linux-2.6.38.1/fs/seq_file.c linux-2.6.38.1/fs/seq_file.c
--- linux-2.6.38.1/fs/seq_file.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/seq_file.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/seq_file.c 2011-03-21 18:31:35.000000000 -0400
@@ -76,7 +76,8 @@ static int traverse(struct seq_file *m,
return 0;
}
@@ -34511,9 +34576,9 @@ diff -urNp linux-2.6.38.1/fs/seq_file.c linux-2.6.38.1-new/fs/seq_file.c
if (!m->buf)
goto Enomem;
m->count = 0;
-diff -urNp linux-2.6.38.1/fs/splice.c linux-2.6.38.1-new/fs/splice.c
+diff -urNp linux-2.6.38.1/fs/splice.c linux-2.6.38.1/fs/splice.c
--- linux-2.6.38.1/fs/splice.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/splice.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/splice.c 2011-03-21 18:31:35.000000000 -0400
@@ -186,7 +186,7 @@ ssize_t splice_to_pipe(struct pipe_inode
pipe_lock(pipe);
@@ -34652,9 +34717,9 @@ diff -urNp linux-2.6.38.1/fs/splice.c linux-2.6.38.1-new/fs/splice.c
ret = -EAGAIN;
pipe_unlock(ipipe);
-diff -urNp linux-2.6.38.1/fs/sysfs/mount.c linux-2.6.38.1-new/fs/sysfs/mount.c
+diff -urNp linux-2.6.38.1/fs/sysfs/mount.c linux-2.6.38.1/fs/sysfs/mount.c
--- linux-2.6.38.1/fs/sysfs/mount.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/sysfs/mount.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/sysfs/mount.c 2011-03-21 18:31:35.000000000 -0400
@@ -36,7 +36,11 @@ struct sysfs_dirent sysfs_root = {
.s_name = "",
.s_count = ATOMIC_INIT(1),
@@ -34667,9 +34732,9 @@ diff -urNp linux-2.6.38.1/fs/sysfs/mount.c linux-2.6.38.1-new/fs/sysfs/mount.c
.s_ino = 1,
};
-diff -urNp linux-2.6.38.1/fs/sysfs/symlink.c linux-2.6.38.1-new/fs/sysfs/symlink.c
+diff -urNp linux-2.6.38.1/fs/sysfs/symlink.c linux-2.6.38.1/fs/sysfs/symlink.c
--- linux-2.6.38.1/fs/sysfs/symlink.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/sysfs/symlink.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/sysfs/symlink.c 2011-03-21 18:31:35.000000000 -0400
@@ -286,7 +286,7 @@ static void *sysfs_follow_link(struct de
static void sysfs_put_link(struct dentry *dentry, struct nameidata *nd, void *cookie)
@@ -34679,9 +34744,9 @@ diff -urNp linux-2.6.38.1/fs/sysfs/symlink.c linux-2.6.38.1-new/fs/sysfs/symlink
if (!IS_ERR(page))
free_page((unsigned long)page);
}
-diff -urNp linux-2.6.38.1/fs/ubifs/debug.c linux-2.6.38.1-new/fs/ubifs/debug.c
+diff -urNp linux-2.6.38.1/fs/ubifs/debug.c linux-2.6.38.1/fs/ubifs/debug.c
--- linux-2.6.38.1/fs/ubifs/debug.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/ubifs/debug.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/ubifs/debug.c 2011-03-21 18:31:35.000000000 -0400
@@ -2813,19 +2813,19 @@ int dbg_debugfs_init_fs(struct ubifs_inf
}
@@ -34705,9 +34770,9 @@ diff -urNp linux-2.6.38.1/fs/ubifs/debug.c linux-2.6.38.1-new/fs/ubifs/debug.c
if (IS_ERR(dent))
goto out_remove;
d->dfs_dump_tnc = dent;
-diff -urNp linux-2.6.38.1/fs/udf/misc.c linux-2.6.38.1-new/fs/udf/misc.c
+diff -urNp linux-2.6.38.1/fs/udf/misc.c linux-2.6.38.1/fs/udf/misc.c
--- linux-2.6.38.1/fs/udf/misc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/udf/misc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/udf/misc.c 2011-03-21 18:31:35.000000000 -0400
@@ -142,8 +142,8 @@ struct genericFormat *udf_add_extendedat
iinfo->i_lenEAttr += size;
return (struct genericFormat *)&ea[offset];
@@ -34728,9 +34793,9 @@ diff -urNp linux-2.6.38.1/fs/udf/misc.c linux-2.6.38.1-new/fs/udf/misc.c
u8 checksum = 0;
int i;
for (i = 0; i < sizeof(struct tag); ++i)
-diff -urNp linux-2.6.38.1/fs/udf/udfdecl.h linux-2.6.38.1-new/fs/udf/udfdecl.h
+diff -urNp linux-2.6.38.1/fs/udf/udfdecl.h linux-2.6.38.1/fs/udf/udfdecl.h
--- linux-2.6.38.1/fs/udf/udfdecl.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/udf/udfdecl.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/udf/udfdecl.h 2011-03-21 18:31:35.000000000 -0400
@@ -26,7 +26,7 @@ do { \
printk(f, ##a); \
} while (0)
@@ -34740,9 +34805,9 @@ diff -urNp linux-2.6.38.1/fs/udf/udfdecl.h linux-2.6.38.1-new/fs/udf/udfdecl.h
#endif
#define udf_info(f, a...) \
-diff -urNp linux-2.6.38.1/fs/utimes.c linux-2.6.38.1-new/fs/utimes.c
+diff -urNp linux-2.6.38.1/fs/utimes.c linux-2.6.38.1/fs/utimes.c
--- linux-2.6.38.1/fs/utimes.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/utimes.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/utimes.c 2011-03-21 18:31:35.000000000 -0400
@@ -1,6 +1,7 @@
#include <linux/compiler.h>
#include <linux/file.h>
@@ -34764,9 +34829,9 @@ diff -urNp linux-2.6.38.1/fs/utimes.c linux-2.6.38.1-new/fs/utimes.c
mutex_lock(&inode->i_mutex);
error = notify_change(path->dentry, &newattrs);
mutex_unlock(&inode->i_mutex);
-diff -urNp linux-2.6.38.1/fs/xattr_acl.c linux-2.6.38.1-new/fs/xattr_acl.c
+diff -urNp linux-2.6.38.1/fs/xattr_acl.c linux-2.6.38.1/fs/xattr_acl.c
--- linux-2.6.38.1/fs/xattr_acl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/xattr_acl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/xattr_acl.c 2011-03-21 18:31:35.000000000 -0400
@@ -17,8 +17,8 @@
struct posix_acl *
posix_acl_from_xattr(const void *value, size_t size)
@@ -34778,9 +34843,9 @@ diff -urNp linux-2.6.38.1/fs/xattr_acl.c linux-2.6.38.1-new/fs/xattr_acl.c
int count;
struct posix_acl *acl;
struct posix_acl_entry *acl_e;
-diff -urNp linux-2.6.38.1/fs/xattr.c linux-2.6.38.1-new/fs/xattr.c
+diff -urNp linux-2.6.38.1/fs/xattr.c linux-2.6.38.1/fs/xattr.c
--- linux-2.6.38.1/fs/xattr.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/xattr.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/xattr.c 2011-03-21 18:31:35.000000000 -0400
@@ -247,7 +247,7 @@ EXPORT_SYMBOL_GPL(vfs_removexattr);
* Extended attribute SET operations
*/
@@ -34843,9 +34908,9 @@ diff -urNp linux-2.6.38.1/fs/xattr.c linux-2.6.38.1-new/fs/xattr.c
mnt_drop_write(f->f_path.mnt);
}
fput(f);
-diff -urNp linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl32.c linux-2.6.38.1-new/fs/xfs/linux-2.6/xfs_ioctl32.c
+diff -urNp linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl32.c linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl32.c
--- linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl32.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/xfs/linux-2.6/xfs_ioctl32.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl32.c 2011-03-21 18:31:35.000000000 -0400
@@ -73,6 +73,7 @@ xfs_compat_ioc_fsgeometry_v1(
xfs_fsop_geom_t fsgeo;
int error;
@@ -34854,9 +34919,9 @@ diff -urNp linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl32.c linux-2.6.38.1-new/fs/x
error = xfs_fs_geometry(mp, &fsgeo, 3);
if (error)
return -error;
-diff -urNp linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl.c linux-2.6.38.1-new/fs/xfs/linux-2.6/xfs_ioctl.c
+diff -urNp linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl.c linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl.c
--- linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/xfs/linux-2.6/xfs_ioctl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl.c 2011-03-21 18:31:35.000000000 -0400
@@ -128,7 +128,7 @@ xfs_find_handle(
}
@@ -34874,9 +34939,9 @@ diff -urNp linux-2.6.38.1/fs/xfs/linux-2.6/xfs_ioctl.c linux-2.6.38.1-new/fs/xfs
error = xfs_fs_geometry(mp, &fsgeo, 4);
if (error)
return -error;
-diff -urNp linux-2.6.38.1/fs/xfs/linux-2.6/xfs_iops.c linux-2.6.38.1-new/fs/xfs/linux-2.6/xfs_iops.c
+diff -urNp linux-2.6.38.1/fs/xfs/linux-2.6/xfs_iops.c linux-2.6.38.1/fs/xfs/linux-2.6/xfs_iops.c
--- linux-2.6.38.1/fs/xfs/linux-2.6/xfs_iops.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/xfs/linux-2.6/xfs_iops.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/xfs/linux-2.6/xfs_iops.c 2011-03-21 18:31:35.000000000 -0400
@@ -436,7 +436,7 @@ xfs_vn_put_link(
struct nameidata *nd,
void *p)
@@ -34886,9 +34951,9 @@ diff -urNp linux-2.6.38.1/fs/xfs/linux-2.6/xfs_iops.c linux-2.6.38.1-new/fs/xfs/
if (!IS_ERR(s))
kfree(s);
-diff -urNp linux-2.6.38.1/fs/xfs/xfs_bmap.c linux-2.6.38.1-new/fs/xfs/xfs_bmap.c
+diff -urNp linux-2.6.38.1/fs/xfs/xfs_bmap.c linux-2.6.38.1/fs/xfs/xfs_bmap.c
--- linux-2.6.38.1/fs/xfs/xfs_bmap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/fs/xfs/xfs_bmap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/fs/xfs/xfs_bmap.c 2011-03-21 18:31:35.000000000 -0400
@@ -287,7 +287,7 @@ xfs_bmap_validate_ret(
int nmap,
int ret_nmap);
@@ -34898,9 +34963,9 @@ diff -urNp linux-2.6.38.1/fs/xfs/xfs_bmap.c linux-2.6.38.1-new/fs/xfs/xfs_bmap.c
#endif /* DEBUG */
STATIC int
-diff -urNp linux-2.6.38.1/grsecurity/gracl_alloc.c linux-2.6.38.1-new/grsecurity/gracl_alloc.c
+diff -urNp linux-2.6.38.1/grsecurity/gracl_alloc.c linux-2.6.38.1/grsecurity/gracl_alloc.c
--- linux-2.6.38.1/grsecurity/gracl_alloc.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/gracl_alloc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/gracl_alloc.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,105 @@
+#include <linux/kernel.h>
+#include <linux/mm.h>
@@ -35007,10 +35072,10 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl_alloc.c linux-2.6.38.1-new/grsecurity
+ else
+ return 1;
+}
-diff -urNp linux-2.6.38.1/grsecurity/gracl.c linux-2.6.38.1-new/grsecurity/gracl.c
+diff -urNp linux-2.6.38.1/grsecurity/gracl.c linux-2.6.38.1/grsecurity/gracl.c
--- linux-2.6.38.1/grsecurity/gracl.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/gracl.c 2011-03-24 23:08:27.000000000 -0400
-@@ -0,0 +1,4033 @@
++++ linux-2.6.38.1/grsecurity/gracl.c 2011-03-26 17:50:26.000000000 -0400
+@@ -0,0 +1,4078 @@
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/sched.h>
@@ -35123,6 +35188,11 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl.c linux-2.6.38.1-new/grsecurity/gracl
+ return dentry->d_inode->i_sb->s_dev;
+}
+
++dev_t gr_get_dev_from_dentry(struct dentry *dentry)
++{
++ return __get_dev(dentry);
++}
++
+static char gr_task_roletype_to_char(struct task_struct *task)
+{
+ switch (task->role->roletype &
@@ -37098,6 +37168,26 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl.c linux-2.6.38.1-new/grsecurity/gracl
+ currobj = chk_obj_label(dentry, mnt, curracl);
+ retval = currobj->mode & mode;
+
++ /* if we're opening a specified transfer file for writing
++ (e.g. /dev/initctl), then transfer our role to init
++ */
++ if (unlikely(currobj->mode & GR_INIT_TRANSFER && retval & GR_WRITE &&
++ current->role->roletype & GR_ROLE_PERSIST)) {
++ struct task_struct *task = init_pid_ns.child_reaper;
++
++ if (task->role != current->role) {
++ task->acl_sp_role = 0;
++ task->acl_role_id = current->acl_role_id;
++ task->role = current->role;
++ rcu_read_lock();
++ read_lock(&grsec_exec_file_lock);
++ gr_apply_subject_to_task(task);
++ read_unlock(&grsec_exec_file_lock);
++ rcu_read_unlock();
++ gr_log_noargs(GR_DONT_AUDIT_GOOD, GR_INIT_TRANSFER_MSG);
++ }
++ }
++
+ if (unlikely
+ ((curracl->mode & (GR_LEARN | GR_INHERITLEARN)) && !(mode & GR_NOPTRACE)
+ && (retval != (mode & ~(GR_AUDITS | GR_SUPPRESS))))) {
@@ -38222,18 +38312,85 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl.c linux-2.6.38.1-new/grsecurity/gracl
+ return error;
+}
+
++/* must be called with
++ rcu_read_lock();
++ read_lock(&tasklist_lock);
++ read_lock(&grsec_exec_file_lock);
++*/
++int gr_apply_subject_to_task(struct task_struct *task)
++{
++ struct acl_object_label *obj;
++ char *tmpname;
++ struct acl_subject_label *tmpsubj;
++ struct file *filp;
++ struct name_entry *nmatch;
++
++ filp = task->exec_file;
++ if (filp == NULL)
++ return 0;
++
++ /* the following is to apply the correct subject
++ on binaries running when the RBAC system
++ is enabled, when the binaries have been
++ replaced or deleted since their execution
++ -----
++ when the RBAC system starts, the inode/dev
++ from exec_file will be one the RBAC system
++ is unaware of. It only knows the inode/dev
++ of the present file on disk, or the absence
++ of it.
++ */
++ preempt_disable();
++ tmpname = gr_to_filename_rbac(filp->f_path.dentry, filp->f_path.mnt);
++
++ nmatch = lookup_name_entry(tmpname);
++ preempt_enable();
++ tmpsubj = NULL;
++ if (nmatch) {
++ if (nmatch->deleted)
++ tmpsubj = lookup_acl_subj_label_deleted(nmatch->inode, nmatch->device, task->role);
++ else
++ tmpsubj = lookup_acl_subj_label(nmatch->inode, nmatch->device, task->role);
++ if (tmpsubj != NULL)
++ task->acl = tmpsubj;
++ }
++ if (tmpsubj == NULL)
++ task->acl = chk_subj_label(filp->f_path.dentry, filp->f_path.mnt,
++ task->role);
++ if (task->acl) {
++ struct acl_subject_label *curr;
++ curr = task->acl;
++
++ task->is_writable = 0;
++ /* ignore additional mmap checks for processes that are writable
++ by the default ACL */
++ obj = chk_obj_label(filp->f_path.dentry, filp->f_path.mnt, default_role->root_label);
++ if (unlikely(obj->mode & GR_WRITE))
++ task->is_writable = 1;
++ obj = chk_obj_label(filp->f_path.dentry, filp->f_path.mnt, task->role->root_label);
++ if (unlikely(obj->mode & GR_WRITE))
++ task->is_writable = 1;
++
++ gr_set_proc_res(task);
++
++#ifdef CONFIG_GRKERNSEC_RBAC_DEBUG
++ printk(KERN_ALERT "gr_set_acls for (%s:%d): role:%s, subject:%s\n", task->comm, task->pid, task->role->rolename, task->acl->filename);
++#endif
++ } else {
++ return 1;
++ }
++
++ return 0;
++}
++
+int
+gr_set_acls(const int type)
+{
-+ struct acl_object_label *obj;
+ struct task_struct *task, *task2;
-+ struct file *filp;
+ struct acl_role_label *role = current->role;
+ __u16 acl_role_id = current->acl_role_id;
+ const struct cred *cred;
-+ char *tmpname;
-+ struct name_entry *nmatch;
-+ struct acl_subject_label *tmpsubj;
++ int ret;
+
+ rcu_read_lock();
+ read_lock(&tasklist_lock);
@@ -38250,63 +38407,16 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl.c linux-2.6.38.1-new/grsecurity/gracl
+ task->acl_role_id = 0;
+ task->acl_sp_role = 0;
+
-+ if ((filp = task->exec_file)) {
++ if (task->exec_file) {
+ cred = __task_cred(task);
+ task->role = lookup_acl_role_label(task, cred->uid, cred->gid);
-+
-+ /* the following is to apply the correct subject
-+ on binaries running when the RBAC system
-+ is enabled, when the binaries have been
-+ replaced or deleted since their execution
-+ -----
-+ when the RBAC system starts, the inode/dev
-+ from exec_file will be one the RBAC system
-+ is unaware of. It only knows the inode/dev
-+ of the present file on disk, or the absence
-+ of it.
-+ */
-+ preempt_disable();
-+ tmpname = gr_to_filename_rbac(filp->f_path.dentry, filp->f_path.mnt);
-+
-+ nmatch = lookup_name_entry(tmpname);
-+ preempt_enable();
-+ tmpsubj = NULL;
-+ if (nmatch) {
-+ if (nmatch->deleted)
-+ tmpsubj = lookup_acl_subj_label_deleted(nmatch->inode, nmatch->device, task->role);
-+ else
-+ tmpsubj = lookup_acl_subj_label(nmatch->inode, nmatch->device, task->role);
-+ if (tmpsubj != NULL)
-+ task->acl = tmpsubj;
-+ }
-+ if (tmpsubj == NULL)
-+ task->acl = chk_subj_label(filp->f_path.dentry, filp->f_path.mnt,
-+ task->role);
-+ if (task->acl) {
-+ struct acl_subject_label *curr;
-+ curr = task->acl;
-+
-+ task->is_writable = 0;
-+ /* ignore additional mmap checks for processes that are writable
-+ by the default ACL */
-+ obj = chk_obj_label(filp->f_path.dentry, filp->f_path.mnt, default_role->root_label);
-+ if (unlikely(obj->mode & GR_WRITE))
-+ task->is_writable = 1;
-+ obj = chk_obj_label(filp->f_path.dentry, filp->f_path.mnt, task->role->root_label);
-+ if (unlikely(obj->mode & GR_WRITE))
-+ task->is_writable = 1;
-+
-+ gr_set_proc_res(task);
-+
-+#ifdef CONFIG_GRKERNSEC_RBAC_DEBUG
-+ printk(KERN_ALERT "gr_set_acls for (%s:%d): role:%s, subject:%s\n", task->comm, task->pid, task->role->rolename, task->acl->filename);
-+#endif
-+ } else {
++ ret = gr_apply_subject_to_task(task);
++ if (ret) {
+ read_unlock(&grsec_exec_file_lock);
+ read_unlock(&tasklist_lock);
+ rcu_read_unlock();
+ gr_log_str_int(GR_DONT_AUDIT_GOOD, GR_DEFACL_MSG, task->comm, task->pid);
-+ return 1;
++ return ret;
+ }
+ } else {
+ // it's a kernel process
@@ -39044,9 +39154,9 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl.c linux-2.6.38.1-new/grsecurity/gracl
+EXPORT_SYMBOL(gr_check_group_change);
+#endif
+
-diff -urNp linux-2.6.38.1/grsecurity/gracl_cap.c linux-2.6.38.1-new/grsecurity/gracl_cap.c
+diff -urNp linux-2.6.38.1/grsecurity/gracl_cap.c linux-2.6.38.1/grsecurity/gracl_cap.c
--- linux-2.6.38.1/grsecurity/gracl_cap.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/gracl_cap.c 2011-03-21 20:22:36.000000000 -0400
++++ linux-2.6.38.1/grsecurity/gracl_cap.c 2011-03-21 20:22:36.000000000 -0400
@@ -0,0 +1,139 @@
+#include <linux/kernel.h>
+#include <linux/module.h>
@@ -39187,10 +39297,10 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl_cap.c linux-2.6.38.1-new/grsecurity/g
+ return 0;
+}
+
-diff -urNp linux-2.6.38.1/grsecurity/gracl_fs.c linux-2.6.38.1-new/grsecurity/gracl_fs.c
+diff -urNp linux-2.6.38.1/grsecurity/gracl_fs.c linux-2.6.38.1/grsecurity/gracl_fs.c
--- linux-2.6.38.1/grsecurity/gracl_fs.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/gracl_fs.c 2011-03-21 18:31:35.000000000 -0400
-@@ -0,0 +1,430 @@
++++ linux-2.6.38.1/grsecurity/gracl_fs.c 2011-03-26 14:32:42.000000000 -0400
+@@ -0,0 +1,431 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
+#include <linux/types.h>
@@ -39594,7 +39704,8 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl_fs.c linux-2.6.38.1-new/grsecurity/gr
+ char *rolename;
+ struct file *exec_file;
+
-+ if (unlikely(current->acl_sp_role && gr_acl_is_enabled())) {
++ if (unlikely(current->acl_sp_role && gr_acl_is_enabled() &&
++ !(current->role->roletype & GR_ROLE_PERSIST))) {
+ id = current->acl_role_id;
+ rolename = current->role->rolename;
+ gr_set_acls(1);
@@ -39621,9 +39732,9 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl_fs.c linux-2.6.38.1-new/grsecurity/gr
+
+ return 0;
+}
-diff -urNp linux-2.6.38.1/grsecurity/gracl_ip.c linux-2.6.38.1-new/grsecurity/gracl_ip.c
+diff -urNp linux-2.6.38.1/grsecurity/gracl_ip.c linux-2.6.38.1/grsecurity/gracl_ip.c
--- linux-2.6.38.1/grsecurity/gracl_ip.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/gracl_ip.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/gracl_ip.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,382 @@
+#include <linux/kernel.h>
+#include <asm/uaccess.h>
@@ -40007,9 +40118,9 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl_ip.c linux-2.6.38.1-new/grsecurity/gr
+
+ return gr_search_connectbind(GR_CONNECT | GR_CONNECTOVERRIDE, sk, &sin, SOCK_DGRAM);
+}
-diff -urNp linux-2.6.38.1/grsecurity/gracl_learn.c linux-2.6.38.1-new/grsecurity/gracl_learn.c
+diff -urNp linux-2.6.38.1/grsecurity/gracl_learn.c linux-2.6.38.1/grsecurity/gracl_learn.c
--- linux-2.6.38.1/grsecurity/gracl_learn.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/gracl_learn.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/gracl_learn.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,211 @@
+#include <linux/kernel.h>
+#include <linux/mm.h>
@@ -40222,9 +40333,9 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl_learn.c linux-2.6.38.1-new/grsecurity
+ .release = close_learn,
+ .poll = poll_learn,
+};
-diff -urNp linux-2.6.38.1/grsecurity/gracl_res.c linux-2.6.38.1-new/grsecurity/gracl_res.c
+diff -urNp linux-2.6.38.1/grsecurity/gracl_res.c linux-2.6.38.1/grsecurity/gracl_res.c
--- linux-2.6.38.1/grsecurity/gracl_res.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/gracl_res.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/gracl_res.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,68 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -40294,9 +40405,9 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl_res.c linux-2.6.38.1-new/grsecurity/g
+ rcu_read_unlock();
+ return;
+}
-diff -urNp linux-2.6.38.1/grsecurity/gracl_segv.c linux-2.6.38.1-new/grsecurity/gracl_segv.c
+diff -urNp linux-2.6.38.1/grsecurity/gracl_segv.c linux-2.6.38.1/grsecurity/gracl_segv.c
--- linux-2.6.38.1/grsecurity/gracl_segv.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/gracl_segv.c 2011-03-24 23:09:37.000000000 -0400
++++ linux-2.6.38.1/grsecurity/gracl_segv.c 2011-03-24 23:09:37.000000000 -0400
@@ -0,0 +1,326 @@
+#include <linux/kernel.h>
+#include <linux/mm.h>
@@ -40624,9 +40735,9 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl_segv.c linux-2.6.38.1-new/grsecurity/
+
+ return;
+}
-diff -urNp linux-2.6.38.1/grsecurity/gracl_shm.c linux-2.6.38.1-new/grsecurity/gracl_shm.c
+diff -urNp linux-2.6.38.1/grsecurity/gracl_shm.c linux-2.6.38.1/grsecurity/gracl_shm.c
--- linux-2.6.38.1/grsecurity/gracl_shm.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/gracl_shm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/gracl_shm.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,40 @@
+#include <linux/kernel.h>
+#include <linux/mm.h>
@@ -40668,9 +40779,9 @@ diff -urNp linux-2.6.38.1/grsecurity/gracl_shm.c linux-2.6.38.1-new/grsecurity/g
+
+ return 1;
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_chdir.c linux-2.6.38.1-new/grsecurity/grsec_chdir.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_chdir.c linux-2.6.38.1/grsecurity/grsec_chdir.c
--- linux-2.6.38.1/grsecurity/grsec_chdir.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_chdir.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_chdir.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,19 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -40691,9 +40802,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_chdir.c linux-2.6.38.1-new/grsecurity
+#endif
+ return;
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_chroot.c linux-2.6.38.1-new/grsecurity/grsec_chroot.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_chroot.c linux-2.6.38.1/grsecurity/grsec_chroot.c
--- linux-2.6.38.1/grsecurity/grsec_chroot.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_chroot.c 2011-03-21 21:24:10.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_chroot.c 2011-03-21 21:24:10.000000000 -0400
@@ -0,0 +1,351 @@
+#include <linux/kernel.h>
+#include <linux/module.h>
@@ -41046,10 +41157,10 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_chroot.c linux-2.6.38.1-new/grsecurit
+#ifdef CONFIG_SECURITY
+EXPORT_SYMBOL(gr_handle_chroot_caps);
+#endif
-diff -urNp linux-2.6.38.1/grsecurity/grsec_disabled.c linux-2.6.38.1-new/grsecurity/grsec_disabled.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_disabled.c linux-2.6.38.1/grsecurity/grsec_disabled.c
--- linux-2.6.38.1/grsecurity/grsec_disabled.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_disabled.c 2011-03-21 18:31:35.000000000 -0400
-@@ -0,0 +1,442 @@
++++ linux-2.6.38.1/grsecurity/grsec_disabled.c 2011-03-25 18:57:41.000000000 -0400
+@@ -0,0 +1,447 @@
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/sched.h>
@@ -41484,6 +41595,11 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_disabled.c linux-2.6.38.1-new/grsecur
+ return 0;
+}
+
++dev_t gr_get_dev_from_dentry(struct dentry *dentry)
++{
++ return dentry->d_inode->i_sb->s_dev;
++}
++
+EXPORT_SYMBOL(gr_is_capable);
+EXPORT_SYMBOL(gr_is_capable_nolog);
+EXPORT_SYMBOL(gr_learn_resource);
@@ -41492,9 +41608,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_disabled.c linux-2.6.38.1-new/grsecur
+EXPORT_SYMBOL(gr_check_user_change);
+EXPORT_SYMBOL(gr_check_group_change);
+#endif
-diff -urNp linux-2.6.38.1/grsecurity/grsec_exec.c linux-2.6.38.1-new/grsecurity/grsec_exec.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_exec.c linux-2.6.38.1/grsecurity/grsec_exec.c
--- linux-2.6.38.1/grsecurity/grsec_exec.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_exec.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_exec.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,147 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -41643,9 +41759,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_exec.c linux-2.6.38.1-new/grsecurity/
+ return;
+}
+#endif
-diff -urNp linux-2.6.38.1/grsecurity/grsec_fifo.c linux-2.6.38.1-new/grsecurity/grsec_fifo.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_fifo.c linux-2.6.38.1/grsecurity/grsec_fifo.c
--- linux-2.6.38.1/grsecurity/grsec_fifo.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_fifo.c 2011-03-21 20:33:29.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_fifo.c 2011-03-21 20:33:29.000000000 -0400
@@ -0,0 +1,24 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -41671,9 +41787,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_fifo.c linux-2.6.38.1-new/grsecurity/
+#endif
+ return 0;
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_fork.c linux-2.6.38.1-new/grsecurity/grsec_fork.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_fork.c linux-2.6.38.1/grsecurity/grsec_fork.c
--- linux-2.6.38.1/grsecurity/grsec_fork.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_fork.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_fork.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,23 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -41698,9 +41814,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_fork.c linux-2.6.38.1-new/grsecurity/
+#endif
+ return;
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_init.c linux-2.6.38.1-new/grsecurity/grsec_init.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_init.c linux-2.6.38.1/grsecurity/grsec_init.c
--- linux-2.6.38.1/grsecurity/grsec_init.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_init.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_init.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,270 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -41972,9 +42088,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_init.c linux-2.6.38.1-new/grsecurity/
+
+ return;
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_link.c linux-2.6.38.1-new/grsecurity/grsec_link.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_link.c linux-2.6.38.1/grsecurity/grsec_link.c
--- linux-2.6.38.1/grsecurity/grsec_link.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_link.c 2011-03-21 20:34:41.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_link.c 2011-03-21 20:34:41.000000000 -0400
@@ -0,0 +1,43 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -42019,9 +42135,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_link.c linux-2.6.38.1-new/grsecurity/
+#endif
+ return 0;
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_log.c linux-2.6.38.1-new/grsecurity/grsec_log.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_log.c linux-2.6.38.1/grsecurity/grsec_log.c
--- linux-2.6.38.1/grsecurity/grsec_log.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_log.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_log.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,310 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -42333,10 +42449,10 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_log.c linux-2.6.38.1-new/grsecurity/g
+ gr_log_end(audit);
+ END_LOCKS(audit);
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_mem.c linux-2.6.38.1-new/grsecurity/grsec_mem.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_mem.c linux-2.6.38.1/grsecurity/grsec_mem.c
--- linux-2.6.38.1/grsecurity/grsec_mem.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_mem.c 2011-03-21 18:31:35.000000000 -0400
-@@ -0,0 +1,88 @@
++++ linux-2.6.38.1/grsecurity/grsec_mem.c 2011-03-26 14:40:33.000000000 -0400
+@@ -0,0 +1,100 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
+#include <linux/mm.h>
@@ -42415,7 +42531,19 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_mem.c linux-2.6.38.1-new/grsecurity/g
+void
+gr_log_nonroot_mod_load(const char *modname)
+{
-+ gr_log_str(GR_DONT_AUDIT, GR_NONROOT_MODLOAD_MSG, modname);
++ if (1
++#if !defined(CONFIG_IPV6) && !defined(CONFIG_IPV6_MODULE)
++ /* There are known knowns. These are things we know
++ that we know. There are known unknowns. That is to say,
++ there are things that we know we don't know. But there are
++ also unknown unknowns. There are things we don't know
++ we don't know.
++ This here is a known unknown.
++ */
++ && strcmp(modname, "net-pf-10")
++#endif
++ )
++ gr_log_str(GR_DONT_AUDIT, GR_NONROOT_MODLOAD_MSG, modname);
+ return;
+}
+
@@ -42425,9 +42553,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_mem.c linux-2.6.38.1-new/grsecurity/g
+ gr_log_noargs(GR_DONT_AUDIT, GR_VM86_MSG);
+ return;
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_mount.c linux-2.6.38.1-new/grsecurity/grsec_mount.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_mount.c linux-2.6.38.1/grsecurity/grsec_mount.c
--- linux-2.6.38.1/grsecurity/grsec_mount.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_mount.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_mount.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,62 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -42491,9 +42619,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_mount.c linux-2.6.38.1-new/grsecurity
+#endif
+ return 0;
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_pax.c linux-2.6.38.1-new/grsecurity/grsec_pax.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_pax.c linux-2.6.38.1/grsecurity/grsec_pax.c
--- linux-2.6.38.1/grsecurity/grsec_pax.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_pax.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_pax.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,36 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -42531,9 +42659,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_pax.c linux-2.6.38.1-new/grsecurity/g
+#endif
+ return;
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_ptrace.c linux-2.6.38.1-new/grsecurity/grsec_ptrace.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_ptrace.c linux-2.6.38.1/grsecurity/grsec_ptrace.c
--- linux-2.6.38.1/grsecurity/grsec_ptrace.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_ptrace.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_ptrace.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,14 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -42549,9 +42677,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_ptrace.c linux-2.6.38.1-new/grsecurit
+#endif
+ return;
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_sig.c linux-2.6.38.1-new/grsecurity/grsec_sig.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_sig.c linux-2.6.38.1/grsecurity/grsec_sig.c
--- linux-2.6.38.1/grsecurity/grsec_sig.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_sig.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_sig.c 2011-03-26 19:58:27.000000000 -0400
@@ -0,0 +1,65 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -42618,9 +42746,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_sig.c linux-2.6.38.1-new/grsecurity/g
+ return;
+}
+
-diff -urNp linux-2.6.38.1/grsecurity/grsec_sock.c linux-2.6.38.1-new/grsecurity/grsec_sock.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_sock.c linux-2.6.38.1/grsecurity/grsec_sock.c
--- linux-2.6.38.1/grsecurity/grsec_sock.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_sock.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_sock.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,275 @@
+#include <linux/kernel.h>
+#include <linux/module.h>
@@ -42897,9 +43025,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_sock.c linux-2.6.38.1-new/grsecurity/
+ return current_cap();
+#endif
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsec_sysctl.c linux-2.6.38.1-new/grsecurity/grsec_sysctl.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_sysctl.c linux-2.6.38.1/grsecurity/grsec_sysctl.c
--- linux-2.6.38.1/grsecurity/grsec_sysctl.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_sysctl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_sysctl.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,433 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -43334,9 +43462,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_sysctl.c linux-2.6.38.1-new/grsecurit
+ { }
+};
+#endif
-diff -urNp linux-2.6.38.1/grsecurity/grsec_time.c linux-2.6.38.1-new/grsecurity/grsec_time.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_time.c linux-2.6.38.1/grsecurity/grsec_time.c
--- linux-2.6.38.1/grsecurity/grsec_time.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_time.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_time.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,16 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -43354,9 +43482,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_time.c linux-2.6.38.1-new/grsecurity/
+}
+
+EXPORT_SYMBOL(gr_log_timechange);
-diff -urNp linux-2.6.38.1/grsecurity/grsec_tpe.c linux-2.6.38.1-new/grsecurity/grsec_tpe.c
+diff -urNp linux-2.6.38.1/grsecurity/grsec_tpe.c linux-2.6.38.1/grsecurity/grsec_tpe.c
--- linux-2.6.38.1/grsecurity/grsec_tpe.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsec_tpe.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsec_tpe.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,39 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
@@ -43397,9 +43525,9 @@ diff -urNp linux-2.6.38.1/grsecurity/grsec_tpe.c linux-2.6.38.1-new/grsecurity/g
+#endif
+ return 1;
+}
-diff -urNp linux-2.6.38.1/grsecurity/grsum.c linux-2.6.38.1-new/grsecurity/grsum.c
+diff -urNp linux-2.6.38.1/grsecurity/grsum.c linux-2.6.38.1/grsecurity/grsum.c
--- linux-2.6.38.1/grsecurity/grsum.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/grsum.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/grsum.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,61 @@
+#include <linux/err.h>
+#include <linux/kernel.h>
@@ -43462,10 +43590,10 @@ diff -urNp linux-2.6.38.1/grsecurity/grsum.c linux-2.6.38.1-new/grsecurity/grsum
+
+ return retval;
+}
-diff -urNp linux-2.6.38.1/grsecurity/Kconfig linux-2.6.38.1-new/grsecurity/Kconfig
+diff -urNp linux-2.6.38.1/grsecurity/Kconfig linux-2.6.38.1/grsecurity/Kconfig
--- linux-2.6.38.1/grsecurity/Kconfig 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/Kconfig 2011-03-21 18:31:35.000000000 -0400
-@@ -0,0 +1,1017 @@
++++ linux-2.6.38.1/grsecurity/Kconfig 2011-03-26 19:54:37.000000000 -0400
+@@ -0,0 +1,1020 @@
+#
+# grecurity configuration
+#
@@ -43802,6 +43930,9 @@ diff -urNp linux-2.6.38.1/grsecurity/Kconfig linux-2.6.38.1-new/grsecurity/Kconf
+menu "Role Based Access Control Options"
+depends on GRKERNSEC
+
++config GRKERNSEC_RBAC_DEBUG
++ bool
++
+config GRKERNSEC_NO_RBAC
+ bool "Disable RBAC system"
+ help
@@ -44483,9 +44614,9 @@ diff -urNp linux-2.6.38.1/grsecurity/Kconfig linux-2.6.38.1-new/grsecurity/Kconf
+endmenu
+
+endmenu
-diff -urNp linux-2.6.38.1/grsecurity/Makefile linux-2.6.38.1-new/grsecurity/Makefile
+diff -urNp linux-2.6.38.1/grsecurity/Makefile linux-2.6.38.1/grsecurity/Makefile
--- linux-2.6.38.1/grsecurity/Makefile 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/grsecurity/Makefile 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/grsecurity/Makefile 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,29 @@
+# grsecurity's ACL system was originally written in 2001 by Michael Dalton
+# during 2001-2009 it has been completely redesigned by Brad Spengler
@@ -44516,9 +44647,9 @@ diff -urNp linux-2.6.38.1/grsecurity/Makefile linux-2.6.38.1-new/grsecurity/Make
+ @-chmod -f 700 .
+ @echo ' grsec: protected kernel image paths'
+endif
-diff -urNp linux-2.6.38.1/include/acpi/acoutput.h linux-2.6.38.1-new/include/acpi/acoutput.h
+diff -urNp linux-2.6.38.1/include/acpi/acoutput.h linux-2.6.38.1/include/acpi/acoutput.h
--- linux-2.6.38.1/include/acpi/acoutput.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/acpi/acoutput.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/acpi/acoutput.h 2011-03-21 18:31:35.000000000 -0400
@@ -269,8 +269,8 @@
* leaving no executable debug code!
*/
@@ -44530,9 +44661,9 @@ diff -urNp linux-2.6.38.1/include/acpi/acoutput.h linux-2.6.38.1-new/include/acp
#endif /* ACPI_DEBUG_OUTPUT */
-diff -urNp linux-2.6.38.1/include/acpi/acpi_drivers.h linux-2.6.38.1-new/include/acpi/acpi_drivers.h
+diff -urNp linux-2.6.38.1/include/acpi/acpi_drivers.h linux-2.6.38.1/include/acpi/acpi_drivers.h
--- linux-2.6.38.1/include/acpi/acpi_drivers.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/acpi/acpi_drivers.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/acpi/acpi_drivers.h 2011-03-21 18:31:35.000000000 -0400
@@ -119,8 +119,8 @@ void pci_acpi_crs_quirks(void);
Dock Station
-------------------------------------------------------------------------- */
@@ -44562,9 +44693,9 @@ diff -urNp linux-2.6.38.1/include/acpi/acpi_drivers.h linux-2.6.38.1-new/include
void *context)
{
return -ENODEV;
-diff -urNp linux-2.6.38.1/include/asm-generic/atomic-long.h linux-2.6.38.1-new/include/asm-generic/atomic-long.h
+diff -urNp linux-2.6.38.1/include/asm-generic/atomic-long.h linux-2.6.38.1/include/asm-generic/atomic-long.h
--- linux-2.6.38.1/include/asm-generic/atomic-long.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/asm-generic/atomic-long.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/asm-generic/atomic-long.h 2011-03-21 18:31:35.000000000 -0400
@@ -22,6 +22,12 @@
typedef atomic64_t atomic_long_t;
@@ -44857,9 +44988,9 @@ diff -urNp linux-2.6.38.1/include/asm-generic/atomic-long.h linux-2.6.38.1-new/i
+#endif
+
#endif /* _ASM_GENERIC_ATOMIC_LONG_H */
-diff -urNp linux-2.6.38.1/include/asm-generic/dma-mapping-common.h linux-2.6.38.1-new/include/asm-generic/dma-mapping-common.h
+diff -urNp linux-2.6.38.1/include/asm-generic/dma-mapping-common.h linux-2.6.38.1/include/asm-generic/dma-mapping-common.h
--- linux-2.6.38.1/include/asm-generic/dma-mapping-common.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/asm-generic/dma-mapping-common.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/asm-generic/dma-mapping-common.h 2011-03-21 18:31:35.000000000 -0400
@@ -11,7 +11,7 @@ static inline dma_addr_t dma_map_single_
enum dma_data_direction dir,
struct dma_attrs *attrs)
@@ -44950,9 +45081,9 @@ diff -urNp linux-2.6.38.1/include/asm-generic/dma-mapping-common.h linux-2.6.38.
BUG_ON(!valid_dma_direction(dir));
if (ops->sync_sg_for_device)
-diff -urNp linux-2.6.38.1/include/asm-generic/futex.h linux-2.6.38.1-new/include/asm-generic/futex.h
+diff -urNp linux-2.6.38.1/include/asm-generic/futex.h linux-2.6.38.1/include/asm-generic/futex.h
--- linux-2.6.38.1/include/asm-generic/futex.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/asm-generic/futex.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/asm-generic/futex.h 2011-03-21 18:31:35.000000000 -0400
@@ -6,7 +6,7 @@
#include <asm/errno.h>
@@ -44971,9 +45102,9 @@ diff -urNp linux-2.6.38.1/include/asm-generic/futex.h linux-2.6.38.1-new/include
{
return -ENOSYS;
}
-diff -urNp linux-2.6.38.1/include/asm-generic/int-l64.h linux-2.6.38.1-new/include/asm-generic/int-l64.h
+diff -urNp linux-2.6.38.1/include/asm-generic/int-l64.h linux-2.6.38.1/include/asm-generic/int-l64.h
--- linux-2.6.38.1/include/asm-generic/int-l64.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/asm-generic/int-l64.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/asm-generic/int-l64.h 2011-03-21 18:31:35.000000000 -0400
@@ -46,6 +46,8 @@ typedef unsigned int u32;
typedef signed long s64;
typedef unsigned long u64;
@@ -44983,9 +45114,9 @@ diff -urNp linux-2.6.38.1/include/asm-generic/int-l64.h linux-2.6.38.1-new/inclu
#define S8_C(x) x
#define U8_C(x) x ## U
#define S16_C(x) x
-diff -urNp linux-2.6.38.1/include/asm-generic/int-ll64.h linux-2.6.38.1-new/include/asm-generic/int-ll64.h
+diff -urNp linux-2.6.38.1/include/asm-generic/int-ll64.h linux-2.6.38.1/include/asm-generic/int-ll64.h
--- linux-2.6.38.1/include/asm-generic/int-ll64.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/asm-generic/int-ll64.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/asm-generic/int-ll64.h 2011-03-21 18:31:35.000000000 -0400
@@ -51,6 +51,8 @@ typedef unsigned int u32;
typedef signed long long s64;
typedef unsigned long long u64;
@@ -44995,9 +45126,9 @@ diff -urNp linux-2.6.38.1/include/asm-generic/int-ll64.h linux-2.6.38.1-new/incl
#define S8_C(x) x
#define U8_C(x) x ## U
#define S16_C(x) x
-diff -urNp linux-2.6.38.1/include/asm-generic/kmap_types.h linux-2.6.38.1-new/include/asm-generic/kmap_types.h
+diff -urNp linux-2.6.38.1/include/asm-generic/kmap_types.h linux-2.6.38.1/include/asm-generic/kmap_types.h
--- linux-2.6.38.1/include/asm-generic/kmap_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/asm-generic/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/asm-generic/kmap_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -29,10 +29,11 @@ KMAP_D(16) KM_IRQ_PTE,
KMAP_D(17) KM_NMI,
KMAP_D(18) KM_NMI_PTE,
@@ -45011,9 +45142,9 @@ diff -urNp linux-2.6.38.1/include/asm-generic/kmap_types.h linux-2.6.38.1-new/in
};
#undef KMAP_D
-diff -urNp linux-2.6.38.1/include/asm-generic/pgtable.h linux-2.6.38.1-new/include/asm-generic/pgtable.h
+diff -urNp linux-2.6.38.1/include/asm-generic/pgtable.h linux-2.6.38.1/include/asm-generic/pgtable.h
--- linux-2.6.38.1/include/asm-generic/pgtable.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/asm-generic/pgtable.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/asm-generic/pgtable.h 2011-03-21 18:31:35.000000000 -0400
@@ -447,6 +447,14 @@ static inline int pmd_write(pmd_t pmd)
#endif /* __HAVE_ARCH_PMD_WRITE */
#endif
@@ -45029,9 +45160,9 @@ diff -urNp linux-2.6.38.1/include/asm-generic/pgtable.h linux-2.6.38.1-new/inclu
#endif /* !__ASSEMBLY__ */
#endif /* _ASM_GENERIC_PGTABLE_H */
-diff -urNp linux-2.6.38.1/include/asm-generic/pgtable-nopmd.h linux-2.6.38.1-new/include/asm-generic/pgtable-nopmd.h
+diff -urNp linux-2.6.38.1/include/asm-generic/pgtable-nopmd.h linux-2.6.38.1/include/asm-generic/pgtable-nopmd.h
--- linux-2.6.38.1/include/asm-generic/pgtable-nopmd.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/asm-generic/pgtable-nopmd.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/asm-generic/pgtable-nopmd.h 2011-03-21 18:31:35.000000000 -0400
@@ -1,14 +1,19 @@
#ifndef _PGTABLE_NOPMD_H
#define _PGTABLE_NOPMD_H
@@ -45068,9 +45199,9 @@ diff -urNp linux-2.6.38.1/include/asm-generic/pgtable-nopmd.h linux-2.6.38.1-new
/*
* The "pud_xxx()" functions here are trivial for a folded two-level
* setup: the pmd is never bad, and a pmd always exists (as it's folded
-diff -urNp linux-2.6.38.1/include/asm-generic/pgtable-nopud.h linux-2.6.38.1-new/include/asm-generic/pgtable-nopud.h
+diff -urNp linux-2.6.38.1/include/asm-generic/pgtable-nopud.h linux-2.6.38.1/include/asm-generic/pgtable-nopud.h
--- linux-2.6.38.1/include/asm-generic/pgtable-nopud.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/asm-generic/pgtable-nopud.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/asm-generic/pgtable-nopud.h 2011-03-21 18:31:35.000000000 -0400
@@ -1,10 +1,15 @@
#ifndef _PGTABLE_NOPUD_H
#define _PGTABLE_NOPUD_H
@@ -45101,9 +45232,9 @@ diff -urNp linux-2.6.38.1/include/asm-generic/pgtable-nopud.h linux-2.6.38.1-new
/*
* The "pgd_xxx()" functions here are trivial for a folded two-level
* setup: the pud is never bad, and a pud always exists (as it's folded
-diff -urNp linux-2.6.38.1/include/asm-generic/vmlinux.lds.h linux-2.6.38.1-new/include/asm-generic/vmlinux.lds.h
+diff -urNp linux-2.6.38.1/include/asm-generic/vmlinux.lds.h linux-2.6.38.1/include/asm-generic/vmlinux.lds.h
--- linux-2.6.38.1/include/asm-generic/vmlinux.lds.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/asm-generic/vmlinux.lds.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/asm-generic/vmlinux.lds.h 2011-03-21 18:31:35.000000000 -0400
@@ -213,6 +213,7 @@
.rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \
VMLINUX_SYMBOL(__start_rodata) = .; \
@@ -45140,9 +45271,9 @@ diff -urNp linux-2.6.38.1/include/asm-generic/vmlinux.lds.h linux-2.6.38.1-new/i
/**
* PERCPU - define output section for percpu area, simple version
-diff -urNp linux-2.6.38.1/include/drm/drm_pciids.h linux-2.6.38.1-new/include/drm/drm_pciids.h
+diff -urNp linux-2.6.38.1/include/drm/drm_pciids.h linux-2.6.38.1/include/drm/drm_pciids.h
--- linux-2.6.38.1/include/drm/drm_pciids.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/drm/drm_pciids.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/drm/drm_pciids.h 2011-03-21 18:31:35.000000000 -0400
@@ -458,7 +458,7 @@
{0x1002, 0x9803, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_PALM|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
{0x1002, 0x9804, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_PALM|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
@@ -45246,9 +45377,9 @@ diff -urNp linux-2.6.38.1/include/drm/drm_pciids.h linux-2.6.38.1-new/include/dr
{0x8086, 0x0102, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, 0xffff00, 0}, \
- {0, 0, 0}
+ {0, 0, 0, 0, 0, 0}
-diff -urNp linux-2.6.38.1/include/drm/drmP.h linux-2.6.38.1-new/include/drm/drmP.h
+diff -urNp linux-2.6.38.1/include/drm/drmP.h linux-2.6.38.1/include/drm/drmP.h
--- linux-2.6.38.1/include/drm/drmP.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/drm/drmP.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/drm/drmP.h 2011-03-21 18:31:35.000000000 -0400
@@ -73,6 +73,7 @@
#include <linux/workqueue.h>
#include <linux/poll.h>
@@ -45302,9 +45433,9 @@ diff -urNp linux-2.6.38.1/include/drm/drmP.h linux-2.6.38.1-new/include/drm/drmP
void *dev_private; /**< device private data */
void *mm_private;
struct address_space *dev_mapping;
-diff -urNp linux-2.6.38.1/include/linux/a.out.h linux-2.6.38.1-new/include/linux/a.out.h
+diff -urNp linux-2.6.38.1/include/linux/a.out.h linux-2.6.38.1/include/linux/a.out.h
--- linux-2.6.38.1/include/linux/a.out.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/a.out.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/a.out.h 2011-03-21 18:31:35.000000000 -0400
@@ -39,6 +39,14 @@ enum machine_type {
M_MIPS2 = 152 /* MIPS R6000/R4000 binary */
};
@@ -45320,9 +45451,9 @@ diff -urNp linux-2.6.38.1/include/linux/a.out.h linux-2.6.38.1-new/include/linux
#if !defined (N_MAGIC)
#define N_MAGIC(exec) ((exec).a_info & 0xffff)
#endif
-diff -urNp linux-2.6.38.1/include/linux/atmdev.h linux-2.6.38.1-new/include/linux/atmdev.h
+diff -urNp linux-2.6.38.1/include/linux/atmdev.h linux-2.6.38.1/include/linux/atmdev.h
--- linux-2.6.38.1/include/linux/atmdev.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/atmdev.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/atmdev.h 2011-03-21 18:31:35.000000000 -0400
@@ -237,7 +237,7 @@ struct compat_atm_iobuf {
#endif
@@ -45332,9 +45463,9 @@ diff -urNp linux-2.6.38.1/include/linux/atmdev.h linux-2.6.38.1-new/include/linu
__AAL_STAT_ITEMS
#undef __HANDLE_ITEM
};
-diff -urNp linux-2.6.38.1/include/linux/binfmts.h linux-2.6.38.1-new/include/linux/binfmts.h
+diff -urNp linux-2.6.38.1/include/linux/binfmts.h linux-2.6.38.1/include/linux/binfmts.h
--- linux-2.6.38.1/include/linux/binfmts.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/binfmts.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/binfmts.h 2011-03-21 18:31:35.000000000 -0400
@@ -92,6 +92,7 @@ struct linux_binfmt {
int (*load_binary)(struct linux_binprm *, struct pt_regs * regs);
int (*load_shlib)(struct file *);
@@ -45343,9 +45474,9 @@ diff -urNp linux-2.6.38.1/include/linux/binfmts.h linux-2.6.38.1-new/include/lin
unsigned long min_coredump; /* minimal dump size */
};
-diff -urNp linux-2.6.38.1/include/linux/blkdev.h linux-2.6.38.1-new/include/linux/blkdev.h
+diff -urNp linux-2.6.38.1/include/linux/blkdev.h linux-2.6.38.1/include/linux/blkdev.h
--- linux-2.6.38.1/include/linux/blkdev.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/blkdev.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/blkdev.h 2011-03-21 18:31:35.000000000 -0400
@@ -1247,22 +1247,22 @@ queue_max_integrity_segments(struct requ
#endif /* CONFIG_BLK_DEV_INTEGRITY */
@@ -45381,9 +45512,9 @@ diff -urNp linux-2.6.38.1/include/linux/blkdev.h linux-2.6.38.1-new/include/linu
};
extern int __blkdev_driver_ioctl(struct block_device *, fmode_t, unsigned int,
-diff -urNp linux-2.6.38.1/include/linux/byteorder/little_endian.h linux-2.6.38.1-new/include/linux/byteorder/little_endian.h
+diff -urNp linux-2.6.38.1/include/linux/byteorder/little_endian.h linux-2.6.38.1/include/linux/byteorder/little_endian.h
--- linux-2.6.38.1/include/linux/byteorder/little_endian.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/byteorder/little_endian.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/byteorder/little_endian.h 2011-03-21 18:31:35.000000000 -0400
@@ -42,51 +42,51 @@
static inline __le64 __cpu_to_le64p(const __u64 *p)
@@ -45448,9 +45579,9 @@ diff -urNp linux-2.6.38.1/include/linux/byteorder/little_endian.h linux-2.6.38.1
}
#define __cpu_to_le64s(x) do { (void)(x); } while (0)
#define __le64_to_cpus(x) do { (void)(x); } while (0)
-diff -urNp linux-2.6.38.1/include/linux/cache.h linux-2.6.38.1-new/include/linux/cache.h
+diff -urNp linux-2.6.38.1/include/linux/cache.h linux-2.6.38.1/include/linux/cache.h
--- linux-2.6.38.1/include/linux/cache.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/cache.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/cache.h 2011-03-21 18:31:35.000000000 -0400
@@ -16,6 +16,10 @@
#define __read_mostly
#endif
@@ -45462,9 +45593,9 @@ diff -urNp linux-2.6.38.1/include/linux/cache.h linux-2.6.38.1-new/include/linux
#ifndef ____cacheline_aligned
#define ____cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES)))
#endif
-diff -urNp linux-2.6.38.1/include/linux/capability.h linux-2.6.38.1-new/include/linux/capability.h
+diff -urNp linux-2.6.38.1/include/linux/capability.h linux-2.6.38.1/include/linux/capability.h
--- linux-2.6.38.1/include/linux/capability.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/capability.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/capability.h 2011-03-21 18:31:35.000000000 -0400
@@ -561,6 +561,7 @@ extern const kernel_cap_t __cap_init_eff
(security_real_capable_noaudit((t), (cap)) == 0)
@@ -45473,9 +45604,9 @@ diff -urNp linux-2.6.38.1/include/linux/capability.h linux-2.6.38.1-new/include/
/* audit system wants to get cap info from files as well */
struct dentry;
-diff -urNp linux-2.6.38.1/include/linux/compiler-gcc4.h linux-2.6.38.1-new/include/linux/compiler-gcc4.h
+diff -urNp linux-2.6.38.1/include/linux/compiler-gcc4.h linux-2.6.38.1/include/linux/compiler-gcc4.h
--- linux-2.6.38.1/include/linux/compiler-gcc4.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/compiler-gcc4.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/compiler-gcc4.h 2011-03-21 18:31:35.000000000 -0400
@@ -54,6 +54,10 @@
#endif
@@ -45487,9 +45618,9 @@ diff -urNp linux-2.6.38.1/include/linux/compiler-gcc4.h linux-2.6.38.1-new/inclu
#endif
#if __GNUC_MINOR__ > 0
-diff -urNp linux-2.6.38.1/include/linux/compiler.h linux-2.6.38.1-new/include/linux/compiler.h
+diff -urNp linux-2.6.38.1/include/linux/compiler.h linux-2.6.38.1/include/linux/compiler.h
--- linux-2.6.38.1/include/linux/compiler.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/compiler.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/compiler.h 2011-03-21 18:31:35.000000000 -0400
@@ -273,6 +273,22 @@ void ftrace_likely_update(struct ftrace_
#define __cold
#endif
@@ -45522,9 +45653,9 @@ diff -urNp linux-2.6.38.1/include/linux/compiler.h linux-2.6.38.1-new/include/li
+#define ACCESS_ONCE_RW(x) (*(volatile typeof(x) *)&(x))
#endif /* __LINUX_COMPILER_H */
-diff -urNp linux-2.6.38.1/include/linux/cpuset.h linux-2.6.38.1-new/include/linux/cpuset.h
+diff -urNp linux-2.6.38.1/include/linux/cpuset.h linux-2.6.38.1/include/linux/cpuset.h
--- linux-2.6.38.1/include/linux/cpuset.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/cpuset.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/cpuset.h 2011-03-21 18:31:35.000000000 -0400
@@ -118,7 +118,7 @@ static inline void put_mems_allowed(void
* nodemask.
*/
@@ -45534,9 +45665,9 @@ diff -urNp linux-2.6.38.1/include/linux/cpuset.h linux-2.6.38.1-new/include/linu
}
static inline void set_mems_allowed(nodemask_t nodemask)
-diff -urNp linux-2.6.38.1/include/linux/decompress/mm.h linux-2.6.38.1-new/include/linux/decompress/mm.h
+diff -urNp linux-2.6.38.1/include/linux/decompress/mm.h linux-2.6.38.1/include/linux/decompress/mm.h
--- linux-2.6.38.1/include/linux/decompress/mm.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/decompress/mm.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/decompress/mm.h 2011-03-21 18:31:35.000000000 -0400
@@ -77,7 +77,7 @@ static void free(void *where)
* warnings when not needed (indeed large_malloc / large_free are not
* needed by inflate */
@@ -45546,9 +45677,9 @@ diff -urNp linux-2.6.38.1/include/linux/decompress/mm.h linux-2.6.38.1-new/inclu
#define free(a) kfree(a)
#define large_malloc(a) vmalloc(a)
-diff -urNp linux-2.6.38.1/include/linux/dma-mapping.h linux-2.6.38.1-new/include/linux/dma-mapping.h
+diff -urNp linux-2.6.38.1/include/linux/dma-mapping.h linux-2.6.38.1/include/linux/dma-mapping.h
--- linux-2.6.38.1/include/linux/dma-mapping.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/dma-mapping.h 2011-03-21 18:31:35.000000000 -0400
@@ -16,40 +16,40 @@ enum dma_data_direction {
};
@@ -45604,9 +45735,9 @@ diff -urNp linux-2.6.38.1/include/linux/dma-mapping.h linux-2.6.38.1-new/include
};
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
-diff -urNp linux-2.6.38.1/include/linux/elf.h linux-2.6.38.1-new/include/linux/elf.h
+diff -urNp linux-2.6.38.1/include/linux/elf.h linux-2.6.38.1/include/linux/elf.h
--- linux-2.6.38.1/include/linux/elf.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/elf.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/elf.h 2011-03-21 18:31:35.000000000 -0400
@@ -49,6 +49,17 @@ typedef __s64 Elf64_Sxword;
#define PT_GNU_EH_FRAME 0x6474e550
@@ -45679,9 +45810,9 @@ diff -urNp linux-2.6.38.1/include/linux/elf.h linux-2.6.38.1-new/include/linux/e
#endif
-diff -urNp linux-2.6.38.1/include/linux/fs.h linux-2.6.38.1-new/include/linux/fs.h
+diff -urNp linux-2.6.38.1/include/linux/fs.h linux-2.6.38.1/include/linux/fs.h
--- linux-2.6.38.1/include/linux/fs.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/fs.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/fs.h 2011-03-21 18:31:35.000000000 -0400
@@ -105,6 +105,11 @@ struct inodes_stat_t {
/* File was opened by fanotify and shouldn't generate fanotify events */
#define FMODE_NONOTIFY ((__force fmode_t)0x1000000)
@@ -45830,9 +45961,9 @@ diff -urNp linux-2.6.38.1/include/linux/fs.h linux-2.6.38.1-new/include/linux/fs
};
/*
-diff -urNp linux-2.6.38.1/include/linux/fs_struct.h linux-2.6.38.1-new/include/linux/fs_struct.h
+diff -urNp linux-2.6.38.1/include/linux/fs_struct.h linux-2.6.38.1/include/linux/fs_struct.h
--- linux-2.6.38.1/include/linux/fs_struct.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/fs_struct.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/fs_struct.h 2011-03-21 18:31:35.000000000 -0400
@@ -6,7 +6,7 @@
#include <linux/seqlock.h>
@@ -45842,9 +45973,9 @@ diff -urNp linux-2.6.38.1/include/linux/fs_struct.h linux-2.6.38.1-new/include/l
spinlock_t lock;
seqcount_t seq;
int umask;
-diff -urNp linux-2.6.38.1/include/linux/genhd.h linux-2.6.38.1-new/include/linux/genhd.h
+diff -urNp linux-2.6.38.1/include/linux/genhd.h linux-2.6.38.1/include/linux/genhd.h
--- linux-2.6.38.1/include/linux/genhd.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/genhd.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/genhd.h 2011-03-21 18:31:35.000000000 -0400
@@ -183,7 +183,7 @@ struct gendisk {
struct kobject *slave_dir;
@@ -45854,9 +45985,9 @@ diff -urNp linux-2.6.38.1/include/linux/genhd.h linux-2.6.38.1-new/include/linux
struct disk_events *ev;
#ifdef CONFIG_BLK_DEV_INTEGRITY
struct blk_integrity *integrity;
-diff -urNp linux-2.6.38.1/include/linux/gracl.h linux-2.6.38.1-new/include/linux/gracl.h
+diff -urNp linux-2.6.38.1/include/linux/gracl.h linux-2.6.38.1/include/linux/gracl.h
--- linux-2.6.38.1/include/linux/gracl.h 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/include/linux/gracl.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/gracl.h 2011-03-26 14:27:27.000000000 -0400
@@ -0,0 +1,317 @@
+#ifndef GR_ACL_H
+#define GR_ACL_H
@@ -45869,8 +46000,8 @@ diff -urNp linux-2.6.38.1/include/linux/gracl.h linux-2.6.38.1-new/include/linux
+
+/* Major status information */
+
-+#define GR_VERSION "grsecurity 2.2.1"
-+#define GRSECURITY_VERSION 0x2201
++#define GR_VERSION "grsecurity 2.2.2"
++#define GRSECURITY_VERSION 0x2202
+
+enum {
+ GR_SHUTDOWN = 0,
@@ -46175,9 +46306,9 @@ diff -urNp linux-2.6.38.1/include/linux/gracl.h linux-2.6.38.1-new/include/linux
+
+#endif
+
-diff -urNp linux-2.6.38.1/include/linux/gralloc.h linux-2.6.38.1-new/include/linux/gralloc.h
+diff -urNp linux-2.6.38.1/include/linux/gralloc.h linux-2.6.38.1/include/linux/gralloc.h
--- linux-2.6.38.1/include/linux/gralloc.h 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/include/linux/gralloc.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/gralloc.h 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,9 @@
+#ifndef __GRALLOC_H
+#define __GRALLOC_H
@@ -46188,10 +46319,10 @@ diff -urNp linux-2.6.38.1/include/linux/gralloc.h linux-2.6.38.1-new/include/lin
+void *acl_alloc_num(unsigned long num, unsigned long len);
+
+#endif
-diff -urNp linux-2.6.38.1/include/linux/grdefs.h linux-2.6.38.1-new/include/linux/grdefs.h
+diff -urNp linux-2.6.38.1/include/linux/grdefs.h linux-2.6.38.1/include/linux/grdefs.h
--- linux-2.6.38.1/include/linux/grdefs.h 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/include/linux/grdefs.h 2011-03-21 18:31:35.000000000 -0400
-@@ -0,0 +1,137 @@
++++ linux-2.6.38.1/include/linux/grdefs.h 2011-03-26 16:39:14.000000000 -0400
+@@ -0,0 +1,139 @@
+#ifndef GRDEFS_H
+#define GRDEFS_H
+
@@ -46217,7 +46348,8 @@ diff -urNp linux-2.6.38.1/include/linux/grdefs.h linux-2.6.38.1-new/include/linu
+ GR_ROLE_LEARN = 0x0080,
+ GR_ROLE_TPE = 0x0100,
+ GR_ROLE_DOMAIN = 0x0200,
-+ GR_ROLE_PAM = 0x0400
++ GR_ROLE_PAM = 0x0400,
++ GR_ROLE_PERSIST = 0x0800
+};
+
+/* ACL Subject and Object mode flags */
@@ -46250,7 +46382,8 @@ diff -urNp linux-2.6.38.1/include/linux/grdefs.h linux-2.6.38.1-new/include/linu
+ GR_PTRACERD = 0x00100000,
+ GR_NOPTRACE = 0x00200000,
+ GR_SUPPRESS = 0x00400000,
-+ GR_NOLEARN = 0x00800000
++ GR_NOLEARN = 0x00800000,
++ GR_INIT_TRANSFER= 0x01000000
+};
+
+#define GR_AUDITS (GR_AUDIT_READ | GR_AUDIT_WRITE | GR_AUDIT_APPEND | GR_AUDIT_EXEC | \
@@ -46329,10 +46462,10 @@ diff -urNp linux-2.6.38.1/include/linux/grdefs.h linux-2.6.38.1-new/include/linu
+};
+
+#endif
-diff -urNp linux-2.6.38.1/include/linux/grinternal.h linux-2.6.38.1-new/include/linux/grinternal.h
+diff -urNp linux-2.6.38.1/include/linux/grinternal.h linux-2.6.38.1/include/linux/grinternal.h
--- linux-2.6.38.1/include/linux/grinternal.h 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/include/linux/grinternal.h 2011-03-21 18:31:35.000000000 -0400
-@@ -0,0 +1,216 @@
++++ linux-2.6.38.1/include/linux/grinternal.h 2011-03-26 16:51:07.000000000 -0400
+@@ -0,0 +1,217 @@
+#ifndef __GRINTERNAL_H
+#define __GRINTERNAL_H
+
@@ -46355,7 +46488,7 @@ diff -urNp linux-2.6.38.1/include/linux/grinternal.h linux-2.6.38.1-new/include/
+int gr_check_protected_task(const struct task_struct *task);
+__u32 to_gr_audit(const __u32 reqmode);
+int gr_set_acls(const int type);
-+
++int gr_apply_subject_to_task(struct task_struct *task);
+int gr_acl_is_enabled(void);
+char gr_roletype_to_char(void);
+
@@ -46469,6 +46602,7 @@ diff -urNp linux-2.6.38.1/include/linux/grinternal.h linux-2.6.38.1-new/include/
+enum {
+ GR_DO_AUDIT,
+ GR_DONT_AUDIT,
++ /* used for non-audit messages that we shouldn't kill the task on */
+ GR_DONT_AUDIT_GOOD
+};
+
@@ -46549,10 +46683,10 @@ diff -urNp linux-2.6.38.1/include/linux/grinternal.h linux-2.6.38.1-new/include/
+#endif
+
+#endif
-diff -urNp linux-2.6.38.1/include/linux/grmsg.h linux-2.6.38.1-new/include/linux/grmsg.h
+diff -urNp linux-2.6.38.1/include/linux/grmsg.h linux-2.6.38.1/include/linux/grmsg.h
--- linux-2.6.38.1/include/linux/grmsg.h 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/include/linux/grmsg.h 2011-03-21 18:31:35.000000000 -0400
-@@ -0,0 +1,111 @@
++++ linux-2.6.38.1/include/linux/grmsg.h 2011-03-26 16:52:08.000000000 -0400
+@@ -0,0 +1,112 @@
+#define DEFAULTSECMSG "%.256s[%.16s:%d] uid/euid:%u/%u gid/egid:%u/%u, parent %.256s[%.16s:%d] uid/euid:%u/%u gid/egid:%u/%u"
+#define GR_ACL_PROCACCT_MSG "%.256s[%.16s:%d] IP:%pI4 TTY:%.64s uid/euid:%u/%u gid/egid:%u/%u run time:[%ud %uh %um %us] cpu time:[%ud %uh %um %us] %s with exit code %ld, parent %.256s[%.16s:%d] IP:%pI4 TTY:%.64s uid/euid:%u/%u gid/egid:%u/%u"
+#define GR_PTRACE_ACL_MSG "denied ptrace of %.950s(%.16s:%d) by "
@@ -46664,10 +46798,11 @@ diff -urNp linux-2.6.38.1/include/linux/grmsg.h linux-2.6.38.1-new/include/linux
+#define GR_NONROOT_MODLOAD_MSG "denied kernel module auto-load of %.64s by "
+#define GR_VM86_MSG "denied use of vm86 by "
+#define GR_PTRACE_AUDIT_MSG "process %.950s(%.16s:%d) attached to via ptrace by "
-diff -urNp linux-2.6.38.1/include/linux/grsecurity.h linux-2.6.38.1-new/include/linux/grsecurity.h
++#define GR_INIT_TRANSFER_MSG "persistent special role transferred privilege to init by "
+diff -urNp linux-2.6.38.1/include/linux/grsecurity.h linux-2.6.38.1/include/linux/grsecurity.h
--- linux-2.6.38.1/include/linux/grsecurity.h 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/include/linux/grsecurity.h 2011-03-21 18:31:35.000000000 -0400
-@@ -0,0 +1,214 @@
++++ linux-2.6.38.1/include/linux/grsecurity.h 2011-03-26 19:58:41.000000000 -0400
+@@ -0,0 +1,215 @@
+#ifndef GR_SECURITY_H
+#define GR_SECURITY_H
+#include <linux/fs.h>
@@ -46866,6 +47001,7 @@ diff -urNp linux-2.6.38.1/include/linux/grsecurity.h linux-2.6.38.1-new/include/
+int gr_handle_rofs_mount(struct dentry *dentry, struct vfsmount *mnt, int mnt_flags);
+int gr_handle_rofs_blockwrite(struct dentry *dentry, struct vfsmount *mnt, int acc_mode);
+void gr_audit_ptrace(struct task_struct *task);
++dev_t gr_get_dev_from_dentry(struct dentry *dentry);
+
+#ifdef CONFIG_GRKERNSEC
+void task_grsec_rbac(struct seq_file *m, struct task_struct *p);
@@ -46882,9 +47018,9 @@ diff -urNp linux-2.6.38.1/include/linux/grsecurity.h linux-2.6.38.1-new/include/
+#endif
+
+#endif
-diff -urNp linux-2.6.38.1/include/linux/grsock.h linux-2.6.38.1-new/include/linux/grsock.h
+diff -urNp linux-2.6.38.1/include/linux/grsock.h linux-2.6.38.1/include/linux/grsock.h
--- linux-2.6.38.1/include/linux/grsock.h 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/include/linux/grsock.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/grsock.h 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,19 @@
+#ifndef __GRSOCK_H
+#define __GRSOCK_H
@@ -46905,9 +47041,9 @@ diff -urNp linux-2.6.38.1/include/linux/grsock.h linux-2.6.38.1-new/include/linu
+ const int protocol);
+
+#endif
-diff -urNp linux-2.6.38.1/include/linux/highmem.h linux-2.6.38.1-new/include/linux/highmem.h
+diff -urNp linux-2.6.38.1/include/linux/highmem.h linux-2.6.38.1/include/linux/highmem.h
--- linux-2.6.38.1/include/linux/highmem.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/highmem.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/highmem.h 2011-03-21 18:31:35.000000000 -0400
@@ -185,6 +185,18 @@ static inline void clear_highpage(struct
kunmap_atomic(kaddr, KM_USER0);
}
@@ -46927,9 +47063,9 @@ diff -urNp linux-2.6.38.1/include/linux/highmem.h linux-2.6.38.1-new/include/lin
static inline void zero_user_segments(struct page *page,
unsigned start1, unsigned end1,
unsigned start2, unsigned end2)
-diff -urNp linux-2.6.38.1/include/linux/init.h linux-2.6.38.1-new/include/linux/init.h
+diff -urNp linux-2.6.38.1/include/linux/init.h linux-2.6.38.1/include/linux/init.h
--- linux-2.6.38.1/include/linux/init.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/init.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/init.h 2011-03-21 18:31:35.000000000 -0400
@@ -293,13 +293,13 @@ void __init parse_early_options(char *cm
/* Each module must use one module_init(). */
@@ -46946,9 +47082,9 @@ diff -urNp linux-2.6.38.1/include/linux/init.h linux-2.6.38.1-new/include/linux/
{ return exitfn; } \
void cleanup_module(void) __attribute__((alias(#exitfn)));
-diff -urNp linux-2.6.38.1/include/linux/interrupt.h linux-2.6.38.1-new/include/linux/interrupt.h
+diff -urNp linux-2.6.38.1/include/linux/interrupt.h linux-2.6.38.1/include/linux/interrupt.h
--- linux-2.6.38.1/include/linux/interrupt.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/interrupt.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/interrupt.h 2011-03-21 18:31:35.000000000 -0400
@@ -393,7 +393,7 @@ enum
/* map softirq index to softirq name. update 'softirq_to_name' in
* kernel/softirq.c when adding a new softirq.
@@ -46973,9 +47109,9 @@ diff -urNp linux-2.6.38.1/include/linux/interrupt.h linux-2.6.38.1-new/include/l
extern void softirq_init(void);
static inline void __raise_softirq_irqoff(unsigned int nr)
{
-diff -urNp linux-2.6.38.1/include/linux/jbd2.h linux-2.6.38.1-new/include/linux/jbd2.h
+diff -urNp linux-2.6.38.1/include/linux/jbd2.h linux-2.6.38.1/include/linux/jbd2.h
--- linux-2.6.38.1/include/linux/jbd2.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/jbd2.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/jbd2.h 2011-03-21 18:31:35.000000000 -0400
@@ -67,7 +67,7 @@ extern u8 jbd2_journal_enable_debug;
} \
} while (0)
@@ -46985,9 +47121,9 @@ diff -urNp linux-2.6.38.1/include/linux/jbd2.h linux-2.6.38.1-new/include/linux/
#endif
extern void *jbd2_alloc(size_t size, gfp_t flags);
-diff -urNp linux-2.6.38.1/include/linux/jbd.h linux-2.6.38.1-new/include/linux/jbd.h
+diff -urNp linux-2.6.38.1/include/linux/jbd.h linux-2.6.38.1/include/linux/jbd.h
--- linux-2.6.38.1/include/linux/jbd.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/jbd.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/jbd.h 2011-03-21 18:31:35.000000000 -0400
@@ -67,7 +67,7 @@ extern u8 journal_enable_debug;
} \
} while (0)
@@ -46997,9 +47133,9 @@ diff -urNp linux-2.6.38.1/include/linux/jbd.h linux-2.6.38.1-new/include/linux/j
#endif
static inline void *jbd_alloc(size_t size, gfp_t flags)
-diff -urNp linux-2.6.38.1/include/linux/kallsyms.h linux-2.6.38.1-new/include/linux/kallsyms.h
+diff -urNp linux-2.6.38.1/include/linux/kallsyms.h linux-2.6.38.1/include/linux/kallsyms.h
--- linux-2.6.38.1/include/linux/kallsyms.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/kallsyms.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/kallsyms.h 2011-03-21 18:31:35.000000000 -0400
@@ -15,7 +15,8 @@
struct module;
@@ -47026,9 +47162,9 @@ diff -urNp linux-2.6.38.1/include/linux/kallsyms.h linux-2.6.38.1-new/include/li
/* This macro allows us to keep printk typechecking */
static void __check_printsym_format(const char *fmt, ...)
-diff -urNp linux-2.6.38.1/include/linux/kgdb.h linux-2.6.38.1-new/include/linux/kgdb.h
+diff -urNp linux-2.6.38.1/include/linux/kgdb.h linux-2.6.38.1/include/linux/kgdb.h
--- linux-2.6.38.1/include/linux/kgdb.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/kgdb.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/kgdb.h 2011-03-21 18:31:35.000000000 -0400
@@ -269,22 +269,22 @@ struct kgdb_arch {
*/
struct kgdb_io {
@@ -47062,9 +47198,9 @@ diff -urNp linux-2.6.38.1/include/linux/kgdb.h linux-2.6.38.1-new/include/linux/
extern int kgdb_hex2long(char **ptr, unsigned long *long_val);
extern char *kgdb_mem2hex(char *mem, char *buf, int count);
-diff -urNp linux-2.6.38.1/include/linux/kvm_host.h linux-2.6.38.1-new/include/linux/kvm_host.h
+diff -urNp linux-2.6.38.1/include/linux/kvm_host.h linux-2.6.38.1/include/linux/kvm_host.h
--- linux-2.6.38.1/include/linux/kvm_host.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/kvm_host.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/kvm_host.h 2011-03-21 18:31:35.000000000 -0400
@@ -288,7 +288,7 @@ void kvm_vcpu_uninit(struct kvm_vcpu *vc
void vcpu_load(struct kvm_vcpu *vcpu);
void vcpu_put(struct kvm_vcpu *vcpu);
@@ -47083,9 +47219,9 @@ diff -urNp linux-2.6.38.1/include/linux/kvm_host.h linux-2.6.38.1-new/include/li
void kvm_arch_exit(void);
int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu);
-diff -urNp linux-2.6.38.1/include/linux/libata.h linux-2.6.38.1-new/include/linux/libata.h
+diff -urNp linux-2.6.38.1/include/linux/libata.h linux-2.6.38.1/include/linux/libata.h
--- linux-2.6.38.1/include/linux/libata.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/libata.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/libata.h 2011-03-21 18:31:35.000000000 -0400
@@ -65,11 +65,11 @@
#ifdef ATA_VERBOSE_DEBUG
#define VPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args)
@@ -47151,9 +47287,9 @@ diff -urNp linux-2.6.38.1/include/linux/libata.h linux-2.6.38.1-new/include/linu
extern int ata_scsi_detect(struct scsi_host_template *sht);
extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg);
extern int ata_scsi_queuecmd(struct Scsi_Host *h, struct scsi_cmnd *cmd);
-diff -urNp linux-2.6.38.1/include/linux/lockd/bind.h linux-2.6.38.1-new/include/linux/lockd/bind.h
+diff -urNp linux-2.6.38.1/include/linux/lockd/bind.h linux-2.6.38.1/include/linux/lockd/bind.h
--- linux-2.6.38.1/include/linux/lockd/bind.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/lockd/bind.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/lockd/bind.h 2011-03-21 18:31:35.000000000 -0400
@@ -23,13 +23,13 @@ struct svc_rqst;
* This is the set of functions for lockd->nfsd communication
*/
@@ -47171,9 +47307,9 @@ diff -urNp linux-2.6.38.1/include/linux/lockd/bind.h linux-2.6.38.1-new/include/
/*
* Similar to nfs_client_initdata, but without the NFS-specific
-diff -urNp linux-2.6.38.1/include/linux/mm.h linux-2.6.38.1-new/include/linux/mm.h
+diff -urNp linux-2.6.38.1/include/linux/mm.h linux-2.6.38.1/include/linux/mm.h
--- linux-2.6.38.1/include/linux/mm.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/mm.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/mm.h 2011-03-21 18:31:35.000000000 -0400
@@ -113,7 +113,14 @@ extern unsigned int kobjsize(const void
#define VM_CAN_NONLINEAR 0x08000000 /* Has ->fault & does nonlinear pages */
@@ -47274,9 +47410,9 @@ diff -urNp linux-2.6.38.1/include/linux/mm.h linux-2.6.38.1-new/include/linux/mm
+
#endif /* __KERNEL__ */
#endif /* _LINUX_MM_H */
-diff -urNp linux-2.6.38.1/include/linux/mm_types.h linux-2.6.38.1-new/include/linux/mm_types.h
+diff -urNp linux-2.6.38.1/include/linux/mm_types.h linux-2.6.38.1/include/linux/mm_types.h
--- linux-2.6.38.1/include/linux/mm_types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/mm_types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/mm_types.h 2011-03-21 18:31:35.000000000 -0400
@@ -183,6 +183,8 @@ struct vm_area_struct {
#ifdef CONFIG_NUMA
struct mempolicy *vm_policy; /* NUMA policy for the VMA */
@@ -47311,9 +47447,9 @@ diff -urNp linux-2.6.38.1/include/linux/mm_types.h linux-2.6.38.1-new/include/li
};
/* Future-safe accessor for struct mm_struct's cpu_vm_mask. */
-diff -urNp linux-2.6.38.1/include/linux/mmu_notifier.h linux-2.6.38.1-new/include/linux/mmu_notifier.h
+diff -urNp linux-2.6.38.1/include/linux/mmu_notifier.h linux-2.6.38.1/include/linux/mmu_notifier.h
--- linux-2.6.38.1/include/linux/mmu_notifier.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/mmu_notifier.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/mmu_notifier.h 2011-03-21 18:31:35.000000000 -0400
@@ -255,12 +255,12 @@ static inline void mmu_notifier_mm_destr
*/
#define ptep_clear_flush_notify(__vma, __address, __ptep) \
@@ -47330,9 +47466,9 @@ diff -urNp linux-2.6.38.1/include/linux/mmu_notifier.h linux-2.6.38.1-new/includ
})
#define pmdp_clear_flush_notify(__vma, __address, __pmdp) \
-diff -urNp linux-2.6.38.1/include/linux/mmzone.h linux-2.6.38.1-new/include/linux/mmzone.h
+diff -urNp linux-2.6.38.1/include/linux/mmzone.h linux-2.6.38.1/include/linux/mmzone.h
--- linux-2.6.38.1/include/linux/mmzone.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/mmzone.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/mmzone.h 2011-03-21 18:31:35.000000000 -0400
@@ -355,7 +355,7 @@ struct zone {
unsigned long flags; /* zone flags, see below */
@@ -47342,9 +47478,9 @@ diff -urNp linux-2.6.38.1/include/linux/mmzone.h linux-2.6.38.1-new/include/linu
/*
* The target ratio of ACTIVE_ANON to INACTIVE_ANON pages on
-diff -urNp linux-2.6.38.1/include/linux/mod_devicetable.h linux-2.6.38.1-new/include/linux/mod_devicetable.h
+diff -urNp linux-2.6.38.1/include/linux/mod_devicetable.h linux-2.6.38.1/include/linux/mod_devicetable.h
--- linux-2.6.38.1/include/linux/mod_devicetable.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/mod_devicetable.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/mod_devicetable.h 2011-03-21 18:31:35.000000000 -0400
@@ -12,7 +12,7 @@
typedef unsigned long kernel_ulong_t;
#endif
@@ -47363,9 +47499,9 @@ diff -urNp linux-2.6.38.1/include/linux/mod_devicetable.h linux-2.6.38.1-new/inc
struct hid_device_id {
__u16 bus;
-diff -urNp linux-2.6.38.1/include/linux/module.h linux-2.6.38.1-new/include/linux/module.h
+diff -urNp linux-2.6.38.1/include/linux/module.h linux-2.6.38.1/include/linux/module.h
--- linux-2.6.38.1/include/linux/module.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/module.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/module.h 2011-03-21 18:31:35.000000000 -0400
@@ -324,19 +324,16 @@ struct module
int (*init)(void);
@@ -47441,9 +47577,9 @@ diff -urNp linux-2.6.38.1/include/linux/module.h linux-2.6.38.1-new/include/linu
}
/* Search for module by name: must hold module_mutex. */
-diff -urNp linux-2.6.38.1/include/linux/moduleloader.h linux-2.6.38.1-new/include/linux/moduleloader.h
+diff -urNp linux-2.6.38.1/include/linux/moduleloader.h linux-2.6.38.1/include/linux/moduleloader.h
--- linux-2.6.38.1/include/linux/moduleloader.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/moduleloader.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/moduleloader.h 2011-03-21 18:31:35.000000000 -0400
@@ -20,9 +20,21 @@ unsigned int arch_mod_section_prepend(st
sections. Returns NULL on failure. */
void *module_alloc(unsigned long size);
@@ -47466,9 +47602,9 @@ diff -urNp linux-2.6.38.1/include/linux/moduleloader.h linux-2.6.38.1-new/includ
/* Apply the given relocation to the (simplified) ELF. Return -error
or 0. */
int apply_relocate(Elf_Shdr *sechdrs,
-diff -urNp linux-2.6.38.1/include/linux/moduleparam.h linux-2.6.38.1-new/include/linux/moduleparam.h
+diff -urNp linux-2.6.38.1/include/linux/moduleparam.h linux-2.6.38.1/include/linux/moduleparam.h
--- linux-2.6.38.1/include/linux/moduleparam.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/moduleparam.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/moduleparam.h 2011-03-21 18:31:35.000000000 -0400
@@ -255,7 +255,7 @@ static inline void __kernel_param_unlock
* @len is usually just sizeof(string).
*/
@@ -47487,9 +47623,9 @@ diff -urNp linux-2.6.38.1/include/linux/moduleparam.h linux-2.6.38.1-new/include
= { ARRAY_SIZE(array), nump, &param_ops_##type, \
sizeof(array[0]), array }; \
__module_param_call(MODULE_PARAM_PREFIX, name, \
-diff -urNp linux-2.6.38.1/include/linux/namei.h linux-2.6.38.1-new/include/linux/namei.h
+diff -urNp linux-2.6.38.1/include/linux/namei.h linux-2.6.38.1/include/linux/namei.h
--- linux-2.6.38.1/include/linux/namei.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/namei.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/namei.h 2011-03-21 18:31:35.000000000 -0400
@@ -25,7 +25,7 @@ struct nameidata {
unsigned seq;
int last_type;
@@ -47514,9 +47650,9 @@ diff -urNp linux-2.6.38.1/include/linux/namei.h linux-2.6.38.1-new/include/linux
{
return nd->saved_names[nd->depth];
}
-diff -urNp linux-2.6.38.1/include/linux/netfilter/xt_gradm.h linux-2.6.38.1-new/include/linux/netfilter/xt_gradm.h
+diff -urNp linux-2.6.38.1/include/linux/netfilter/xt_gradm.h linux-2.6.38.1/include/linux/netfilter/xt_gradm.h
--- linux-2.6.38.1/include/linux/netfilter/xt_gradm.h 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/include/linux/netfilter/xt_gradm.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/netfilter/xt_gradm.h 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,9 @@
+#ifndef _LINUX_NETFILTER_XT_GRADM_H
+#define _LINUX_NETFILTER_XT_GRADM_H 1
@@ -47527,9 +47663,9 @@ diff -urNp linux-2.6.38.1/include/linux/netfilter/xt_gradm.h linux-2.6.38.1-new/
+};
+
+#endif
-diff -urNp linux-2.6.38.1/include/linux/oprofile.h linux-2.6.38.1-new/include/linux/oprofile.h
+diff -urNp linux-2.6.38.1/include/linux/oprofile.h linux-2.6.38.1/include/linux/oprofile.h
--- linux-2.6.38.1/include/linux/oprofile.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/oprofile.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/oprofile.h 2011-03-21 18:31:35.000000000 -0400
@@ -132,9 +132,9 @@ int oprofilefs_create_ulong(struct super
int oprofilefs_create_ro_ulong(struct super_block * sb, struct dentry * root,
char const * name, ulong * val);
@@ -47542,9 +47678,9 @@ diff -urNp linux-2.6.38.1/include/linux/oprofile.h linux-2.6.38.1-new/include/li
/** create a directory */
struct dentry * oprofilefs_mkdir(struct super_block * sb, struct dentry * root,
-diff -urNp linux-2.6.38.1/include/linux/pipe_fs_i.h linux-2.6.38.1-new/include/linux/pipe_fs_i.h
+diff -urNp linux-2.6.38.1/include/linux/pipe_fs_i.h linux-2.6.38.1/include/linux/pipe_fs_i.h
--- linux-2.6.38.1/include/linux/pipe_fs_i.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/pipe_fs_i.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/pipe_fs_i.h 2011-03-21 18:31:35.000000000 -0400
@@ -46,9 +46,9 @@ struct pipe_buffer {
struct pipe_inode_info {
wait_queue_head_t wait;
@@ -47558,9 +47694,9 @@ diff -urNp linux-2.6.38.1/include/linux/pipe_fs_i.h linux-2.6.38.1-new/include/l
unsigned int r_counter;
unsigned int w_counter;
struct page *tmp_page;
-diff -urNp linux-2.6.38.1/include/linux/pm_runtime.h linux-2.6.38.1-new/include/linux/pm_runtime.h
+diff -urNp linux-2.6.38.1/include/linux/pm_runtime.h linux-2.6.38.1/include/linux/pm_runtime.h
--- linux-2.6.38.1/include/linux/pm_runtime.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/pm_runtime.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/pm_runtime.h 2011-03-21 18:31:35.000000000 -0400
@@ -89,7 +89,7 @@ static inline bool pm_runtime_enabled(st
static inline void pm_runtime_mark_last_busy(struct device *dev)
@@ -47570,9 +47706,9 @@ diff -urNp linux-2.6.38.1/include/linux/pm_runtime.h linux-2.6.38.1-new/include/
}
#else /* !CONFIG_PM_RUNTIME */
-diff -urNp linux-2.6.38.1/include/linux/poison.h linux-2.6.38.1-new/include/linux/poison.h
+diff -urNp linux-2.6.38.1/include/linux/poison.h linux-2.6.38.1/include/linux/poison.h
--- linux-2.6.38.1/include/linux/poison.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/poison.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/poison.h 2011-03-21 18:31:35.000000000 -0400
@@ -19,8 +19,8 @@
* under normal circumstances, used to verify that nobody uses
* non-initialized list entries.
@@ -47584,9 +47720,9 @@ diff -urNp linux-2.6.38.1/include/linux/poison.h linux-2.6.38.1-new/include/linu
/********** include/linux/timer.h **********/
/*
-diff -urNp linux-2.6.38.1/include/linux/proc_fs.h linux-2.6.38.1-new/include/linux/proc_fs.h
+diff -urNp linux-2.6.38.1/include/linux/proc_fs.h linux-2.6.38.1/include/linux/proc_fs.h
--- linux-2.6.38.1/include/linux/proc_fs.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/proc_fs.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/proc_fs.h 2011-03-21 18:31:35.000000000 -0400
@@ -155,6 +155,19 @@ static inline struct proc_dir_entry *pro
return proc_create_data(name, mode, parent, proc_fops, NULL);
}
@@ -47607,9 +47743,25 @@ diff -urNp linux-2.6.38.1/include/linux/proc_fs.h linux-2.6.38.1-new/include/lin
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
mode_t mode, struct proc_dir_entry *base,
read_proc_t *read_proc, void * data)
-diff -urNp linux-2.6.38.1/include/linux/random.h linux-2.6.38.1-new/include/linux/random.h
+diff -urNp linux-2.6.38.1/include/linux/ptrace.h linux-2.6.38.1/include/linux/ptrace.h
+--- linux-2.6.38.1/include/linux/ptrace.h 2011-03-14 21:20:32.000000000 -0400
++++ linux-2.6.38.1/include/linux/ptrace.h 2011-03-26 11:36:13.000000000 -0400
+@@ -115,10 +115,10 @@ extern void __ptrace_unlink(struct task_
+ extern void exit_ptrace(struct task_struct *tracer);
+ #define PTRACE_MODE_READ 1
+ #define PTRACE_MODE_ATTACH 2
+-/* Returns 0 on success, -errno on denial. */
+-extern int __ptrace_may_access(struct task_struct *task, unsigned int mode);
+ /* Returns true on success, false on denial. */
+ extern bool ptrace_may_access(struct task_struct *task, unsigned int mode);
++/* Returns true on success, false on denial. */
++extern bool ptrace_may_access_log(struct task_struct *task, unsigned int mode);
+
+ static inline int ptrace_reparented(struct task_struct *child)
+ {
+diff -urNp linux-2.6.38.1/include/linux/random.h linux-2.6.38.1/include/linux/random.h
--- linux-2.6.38.1/include/linux/random.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/random.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/random.h 2011-03-21 18:31:35.000000000 -0400
@@ -80,12 +80,17 @@ void srandom32(u32 seed);
u32 prandom32(struct rnd_state *);
@@ -47629,9 +47781,9 @@ diff -urNp linux-2.6.38.1/include/linux/random.h linux-2.6.38.1-new/include/linu
}
/**
-diff -urNp linux-2.6.38.1/include/linux/reiserfs_fs.h linux-2.6.38.1-new/include/linux/reiserfs_fs.h
+diff -urNp linux-2.6.38.1/include/linux/reiserfs_fs.h linux-2.6.38.1/include/linux/reiserfs_fs.h
--- linux-2.6.38.1/include/linux/reiserfs_fs.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/reiserfs_fs.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/reiserfs_fs.h 2011-03-21 18:31:35.000000000 -0400
@@ -1403,7 +1403,7 @@ static inline loff_t max_reiserfs_offset
#define REISERFS_USER_MEM 1 /* reiserfs user memory mode */
@@ -47678,9 +47830,9 @@ diff -urNp linux-2.6.38.1/include/linux/reiserfs_fs.h linux-2.6.38.1-new/include
#define op_bytes_number(ih,bsize) item_ops[le_ih_k_type (ih)]->bytes_number (ih, bsize)
#define op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]->is_left_mergeable (key, bsize)
-diff -urNp linux-2.6.38.1/include/linux/reiserfs_fs_sb.h linux-2.6.38.1-new/include/linux/reiserfs_fs_sb.h
+diff -urNp linux-2.6.38.1/include/linux/reiserfs_fs_sb.h linux-2.6.38.1/include/linux/reiserfs_fs_sb.h
--- linux-2.6.38.1/include/linux/reiserfs_fs_sb.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/reiserfs_fs_sb.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/reiserfs_fs_sb.h 2011-03-21 18:31:35.000000000 -0400
@@ -386,7 +386,7 @@ struct reiserfs_sb_info {
/* Comment? -Hans */
wait_queue_head_t s_wait;
@@ -47690,9 +47842,9 @@ diff -urNp linux-2.6.38.1/include/linux/reiserfs_fs_sb.h linux-2.6.38.1-new/incl
// tree gets re-balanced
unsigned long s_properties; /* File system properties. Currently holds
on-disk FS format */
-diff -urNp linux-2.6.38.1/include/linux/rmap.h linux-2.6.38.1-new/include/linux/rmap.h
+diff -urNp linux-2.6.38.1/include/linux/rmap.h linux-2.6.38.1/include/linux/rmap.h
--- linux-2.6.38.1/include/linux/rmap.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/rmap.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/rmap.h 2011-03-21 18:31:35.000000000 -0400
@@ -145,8 +145,8 @@ static inline void anon_vma_unlock(struc
void anon_vma_init(void); /* create anon_vma_cachep */
int anon_vma_prepare(struct vm_area_struct *);
@@ -47704,9 +47856,9 @@ diff -urNp linux-2.6.38.1/include/linux/rmap.h linux-2.6.38.1-new/include/linux/
void __anon_vma_link(struct vm_area_struct *);
void anon_vma_free(struct anon_vma *);
-diff -urNp linux-2.6.38.1/include/linux/sched.h linux-2.6.38.1-new/include/linux/sched.h
+diff -urNp linux-2.6.38.1/include/linux/sched.h linux-2.6.38.1/include/linux/sched.h
--- linux-2.6.38.1/include/linux/sched.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/sched.h 2011-03-21 23:47:41.000000000 -0400
++++ linux-2.6.38.1/include/linux/sched.h 2011-03-26 17:18:15.000000000 -0400
@@ -99,6 +99,7 @@ struct robust_list_head;
struct bio_list;
struct fs_struct;
@@ -47804,7 +47956,7 @@ diff -urNp linux-2.6.38.1/include/linux/sched.h linux-2.6.38.1-new/include/linux
#ifdef CONFIG_DEBUG_MUTEXES
/* mutex deadlock detection */
struct mutex_waiter *blocked_on;
-@@ -1499,6 +1516,20 @@ struct task_struct {
+@@ -1499,6 +1516,21 @@ struct task_struct {
unsigned long default_timer_slack_ns;
struct list_head *scm_work_list;
@@ -47816,6 +47968,7 @@ diff -urNp linux-2.6.38.1/include/linux/sched.h linux-2.6.38.1-new/include/linux
+ struct acl_role_label *role;
+ struct file *exec_file;
+ u16 acl_role_id;
++ /* is this the task that authenticated to the special role */
+ u8 acl_sp_role;
+ u8 is_writable;
+ u8 brute;
@@ -47825,7 +47978,7 @@ diff -urNp linux-2.6.38.1/include/linux/sched.h linux-2.6.38.1-new/include/linux
#ifdef CONFIG_FUNCTION_GRAPH_TRACER
/* Index of current stored address in ret_stack */
int curr_ret_stack;
-@@ -1530,6 +1561,52 @@ struct task_struct {
+@@ -1530,6 +1562,52 @@ struct task_struct {
#endif
};
@@ -47878,7 +48031,7 @@ diff -urNp linux-2.6.38.1/include/linux/sched.h linux-2.6.38.1-new/include/linux
/* Future-safe accessor for struct task_struct's cpus_allowed. */
#define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
-@@ -2169,7 +2246,7 @@ extern void __cleanup_sighand(struct sig
+@@ -2169,7 +2247,7 @@ extern void __cleanup_sighand(struct sig
extern void exit_itimers(struct signal_struct *);
extern void flush_itimer_signals(void);
@@ -47887,7 +48040,7 @@ diff -urNp linux-2.6.38.1/include/linux/sched.h linux-2.6.38.1-new/include/linux
extern void daemonize(const char *, ...);
extern int allow_signal(int);
-@@ -2294,8 +2371,8 @@ static inline void unlock_task_sighand(s
+@@ -2294,8 +2372,8 @@ static inline void unlock_task_sighand(s
#ifndef __HAVE_THREAD_FUNCTIONS
@@ -47898,7 +48051,7 @@ diff -urNp linux-2.6.38.1/include/linux/sched.h linux-2.6.38.1-new/include/linux
static inline void setup_thread_stack(struct task_struct *p, struct task_struct *org)
{
-@@ -2310,13 +2387,17 @@ static inline unsigned long *end_of_stac
+@@ -2310,13 +2388,17 @@ static inline unsigned long *end_of_stac
#endif
@@ -47918,9 +48071,9 @@ diff -urNp linux-2.6.38.1/include/linux/sched.h linux-2.6.38.1-new/include/linux
extern void thread_info_cache_init(void);
#ifdef CONFIG_DEBUG_STACK_USAGE
-diff -urNp linux-2.6.38.1/include/linux/screen_info.h linux-2.6.38.1-new/include/linux/screen_info.h
+diff -urNp linux-2.6.38.1/include/linux/screen_info.h linux-2.6.38.1/include/linux/screen_info.h
--- linux-2.6.38.1/include/linux/screen_info.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/screen_info.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/screen_info.h 2011-03-21 18:31:35.000000000 -0400
@@ -43,7 +43,8 @@ struct screen_info {
__u16 pages; /* 0x32 */
__u16 vesa_attributes; /* 0x34 */
@@ -47931,9 +48084,9 @@ diff -urNp linux-2.6.38.1/include/linux/screen_info.h linux-2.6.38.1-new/include
} __attribute__((packed));
#define VIDEO_TYPE_MDA 0x10 /* Monochrome Text Display */
-diff -urNp linux-2.6.38.1/include/linux/security.h linux-2.6.38.1-new/include/linux/security.h
+diff -urNp linux-2.6.38.1/include/linux/security.h linux-2.6.38.1/include/linux/security.h
--- linux-2.6.38.1/include/linux/security.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/security.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/security.h 2011-03-21 18:31:35.000000000 -0400
@@ -35,6 +35,7 @@
#include <linux/key.h>
#include <linux/xfrm.h>
@@ -47942,9 +48095,9 @@ diff -urNp linux-2.6.38.1/include/linux/security.h linux-2.6.38.1-new/include/li
#include <net/flow.h>
/* Maximum number of letters for an LSM name string */
-diff -urNp linux-2.6.38.1/include/linux/shm.h linux-2.6.38.1-new/include/linux/shm.h
+diff -urNp linux-2.6.38.1/include/linux/shm.h linux-2.6.38.1/include/linux/shm.h
--- linux-2.6.38.1/include/linux/shm.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/shm.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/shm.h 2011-03-21 18:31:35.000000000 -0400
@@ -95,6 +95,10 @@ struct shmid_kernel /* private to the ke
pid_t shm_cprid;
pid_t shm_lprid;
@@ -47956,9 +48109,9 @@ diff -urNp linux-2.6.38.1/include/linux/shm.h linux-2.6.38.1-new/include/linux/s
};
/* shm_mode upper byte flags */
-diff -urNp linux-2.6.38.1/include/linux/skbuff.h linux-2.6.38.1-new/include/linux/skbuff.h
+diff -urNp linux-2.6.38.1/include/linux/skbuff.h linux-2.6.38.1/include/linux/skbuff.h
--- linux-2.6.38.1/include/linux/skbuff.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/skbuff.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/skbuff.h 2011-03-21 18:31:35.000000000 -0400
@@ -589,7 +589,7 @@ static inline struct skb_shared_hwtstamp
*/
static inline int skb_queue_empty(const struct sk_buff_head *list)
@@ -47986,9 +48139,9 @@ diff -urNp linux-2.6.38.1/include/linux/skbuff.h linux-2.6.38.1-new/include/linu
}
/**
-diff -urNp linux-2.6.38.1/include/linux/slab.h linux-2.6.38.1-new/include/linux/slab.h
+diff -urNp linux-2.6.38.1/include/linux/slab.h linux-2.6.38.1/include/linux/slab.h
--- linux-2.6.38.1/include/linux/slab.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/slab.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/slab.h 2011-03-21 18:31:35.000000000 -0400
@@ -11,6 +11,7 @@
#include <linux/gfp.h>
@@ -48060,9 +48213,9 @@ diff -urNp linux-2.6.38.1/include/linux/slab.h linux-2.6.38.1-new/include/linux/
+})
+
#endif /* _LINUX_SLAB_H */
-diff -urNp linux-2.6.38.1/include/linux/slub_def.h linux-2.6.38.1-new/include/linux/slub_def.h
+diff -urNp linux-2.6.38.1/include/linux/slub_def.h linux-2.6.38.1/include/linux/slub_def.h
--- linux-2.6.38.1/include/linux/slub_def.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/slub_def.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/slub_def.h 2011-03-21 18:31:35.000000000 -0400
@@ -79,7 +79,7 @@ struct kmem_cache {
struct kmem_cache_order_objects max;
struct kmem_cache_order_objects min;
@@ -48072,9 +48225,9 @@ diff -urNp linux-2.6.38.1/include/linux/slub_def.h linux-2.6.38.1-new/include/li
void (*ctor)(void *);
int inuse; /* Offset to metadata */
int align; /* Alignment */
-diff -urNp linux-2.6.38.1/include/linux/sonet.h linux-2.6.38.1-new/include/linux/sonet.h
+diff -urNp linux-2.6.38.1/include/linux/sonet.h linux-2.6.38.1/include/linux/sonet.h
--- linux-2.6.38.1/include/linux/sonet.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/sonet.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/sonet.h 2011-03-21 18:31:35.000000000 -0400
@@ -61,7 +61,7 @@ struct sonet_stats {
#include <asm/atomic.h>
@@ -48084,9 +48237,9 @@ diff -urNp linux-2.6.38.1/include/linux/sonet.h linux-2.6.38.1-new/include/linux
__SONET_ITEMS
#undef __HANDLE_ITEM
};
-diff -urNp linux-2.6.38.1/include/linux/sunrpc/clnt.h linux-2.6.38.1-new/include/linux/sunrpc/clnt.h
+diff -urNp linux-2.6.38.1/include/linux/sunrpc/clnt.h linux-2.6.38.1/include/linux/sunrpc/clnt.h
--- linux-2.6.38.1/include/linux/sunrpc/clnt.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/sunrpc/clnt.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/sunrpc/clnt.h 2011-03-21 18:31:35.000000000 -0400
@@ -168,9 +168,9 @@ static inline unsigned short rpc_get_por
{
switch (sap->sa_family) {
@@ -48117,9 +48270,9 @@ diff -urNp linux-2.6.38.1/include/linux/sunrpc/clnt.h linux-2.6.38.1-new/include
}
#endif /* __KERNEL__ */
-diff -urNp linux-2.6.38.1/include/linux/suspend.h linux-2.6.38.1-new/include/linux/suspend.h
+diff -urNp linux-2.6.38.1/include/linux/suspend.h linux-2.6.38.1/include/linux/suspend.h
--- linux-2.6.38.1/include/linux/suspend.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/suspend.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/suspend.h 2011-03-21 18:31:35.000000000 -0400
@@ -106,15 +106,15 @@ typedef int __bitwise suspend_state_t;
* which require special recovery actions in that situation.
*/
@@ -48172,9 +48325,9 @@ diff -urNp linux-2.6.38.1/include/linux/suspend.h linux-2.6.38.1-new/include/lin
};
#ifdef CONFIG_HIBERNATION
-diff -urNp linux-2.6.38.1/include/linux/sysctl.h linux-2.6.38.1-new/include/linux/sysctl.h
+diff -urNp linux-2.6.38.1/include/linux/sysctl.h linux-2.6.38.1/include/linux/sysctl.h
--- linux-2.6.38.1/include/linux/sysctl.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/sysctl.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/sysctl.h 2011-03-21 18:31:35.000000000 -0400
@@ -155,7 +155,11 @@ enum
KERN_PANIC_ON_NMI=76, /* int: whether we will panic on an unrecovered */
};
@@ -48197,9 +48350,9 @@ diff -urNp linux-2.6.38.1/include/linux/sysctl.h linux-2.6.38.1-new/include/linu
extern int proc_dointvec(struct ctl_table *, int,
void __user *, size_t *, loff_t *);
extern int proc_dointvec_minmax(struct ctl_table *, int,
-diff -urNp linux-2.6.38.1/include/linux/sysfs.h linux-2.6.38.1-new/include/linux/sysfs.h
+diff -urNp linux-2.6.38.1/include/linux/sysfs.h linux-2.6.38.1/include/linux/sysfs.h
--- linux-2.6.38.1/include/linux/sysfs.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/sysfs.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/sysfs.h 2011-03-21 18:31:35.000000000 -0400
@@ -110,8 +110,8 @@ struct bin_attribute {
#define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr)
@@ -48211,9 +48364,9 @@ diff -urNp linux-2.6.38.1/include/linux/sysfs.h linux-2.6.38.1-new/include/linux
};
struct sysfs_dirent;
-diff -urNp linux-2.6.38.1/include/linux/tty.h linux-2.6.38.1-new/include/linux/tty.h
+diff -urNp linux-2.6.38.1/include/linux/tty.h linux-2.6.38.1/include/linux/tty.h
--- linux-2.6.38.1/include/linux/tty.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/tty.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/tty.h 2011-03-21 18:31:35.000000000 -0400
@@ -13,6 +13,8 @@
#include <linux/tty_driver.h>
#include <linux/tty_ldisc.h>
@@ -48250,9 +48403,9 @@ diff -urNp linux-2.6.38.1/include/linux/tty.h linux-2.6.38.1-new/include/linux/t
/* n_tty.c */
extern struct tty_ldisc_ops tty_ldisc_N_TTY;
-diff -urNp linux-2.6.38.1/include/linux/tty_ldisc.h linux-2.6.38.1-new/include/linux/tty_ldisc.h
+diff -urNp linux-2.6.38.1/include/linux/tty_ldisc.h linux-2.6.38.1/include/linux/tty_ldisc.h
--- linux-2.6.38.1/include/linux/tty_ldisc.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/tty_ldisc.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/tty_ldisc.h 2011-03-21 18:31:35.000000000 -0400
@@ -148,7 +148,7 @@ struct tty_ldisc_ops {
struct module *owner;
@@ -48262,9 +48415,9 @@ diff -urNp linux-2.6.38.1/include/linux/tty_ldisc.h linux-2.6.38.1-new/include/l
};
struct tty_ldisc {
-diff -urNp linux-2.6.38.1/include/linux/types.h linux-2.6.38.1-new/include/linux/types.h
+diff -urNp linux-2.6.38.1/include/linux/types.h linux-2.6.38.1/include/linux/types.h
--- linux-2.6.38.1/include/linux/types.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/types.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/types.h 2011-03-21 18:31:35.000000000 -0400
@@ -207,10 +207,26 @@ typedef struct {
int counter;
} atomic_t;
@@ -48292,9 +48445,9 @@ diff -urNp linux-2.6.38.1/include/linux/types.h linux-2.6.38.1-new/include/linux
#endif
struct list_head {
-diff -urNp linux-2.6.38.1/include/linux/uaccess.h linux-2.6.38.1-new/include/linux/uaccess.h
+diff -urNp linux-2.6.38.1/include/linux/uaccess.h linux-2.6.38.1/include/linux/uaccess.h
--- linux-2.6.38.1/include/linux/uaccess.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/uaccess.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/uaccess.h 2011-03-21 18:31:35.000000000 -0400
@@ -76,11 +76,11 @@ static inline unsigned long __copy_from_
long ret; \
mm_segment_t old_fs = get_fs(); \
@@ -48330,9 +48483,9 @@ diff -urNp linux-2.6.38.1/include/linux/uaccess.h linux-2.6.38.1-new/include/lin
+extern long notrace __probe_kernel_write(void *dst, const void *src, size_t size);
#endif /* __LINUX_UACCESS_H__ */
-diff -urNp linux-2.6.38.1/include/linux/unaligned/access_ok.h linux-2.6.38.1-new/include/linux/unaligned/access_ok.h
+diff -urNp linux-2.6.38.1/include/linux/unaligned/access_ok.h linux-2.6.38.1/include/linux/unaligned/access_ok.h
--- linux-2.6.38.1/include/linux/unaligned/access_ok.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/unaligned/access_ok.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/unaligned/access_ok.h 2011-03-21 18:31:35.000000000 -0400
@@ -6,32 +6,32 @@
static inline u16 get_unaligned_le16(const void *p)
@@ -48372,9 +48525,9 @@ diff -urNp linux-2.6.38.1/include/linux/unaligned/access_ok.h linux-2.6.38.1-new
}
static inline void put_unaligned_le16(u16 val, void *p)
-diff -urNp linux-2.6.38.1/include/linux/usb/hcd.h linux-2.6.38.1-new/include/linux/usb/hcd.h
+diff -urNp linux-2.6.38.1/include/linux/usb/hcd.h linux-2.6.38.1/include/linux/usb/hcd.h
--- linux-2.6.38.1/include/linux/usb/hcd.h 2011-03-23 17:20:08.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/usb/hcd.h 2011-03-23 17:21:51.000000000 -0400
++++ linux-2.6.38.1/include/linux/usb/hcd.h 2011-03-23 17:21:51.000000000 -0400
@@ -589,7 +589,7 @@ struct usb_mon_operations {
/* void (*urb_unlink)(struct usb_bus *bus, struct urb *urb); */
};
@@ -48393,9 +48546,9 @@ diff -urNp linux-2.6.38.1/include/linux/usb/hcd.h linux-2.6.38.1-new/include/lin
void usb_mon_deregister(void);
#else
-diff -urNp linux-2.6.38.1/include/linux/vmalloc.h linux-2.6.38.1-new/include/linux/vmalloc.h
+diff -urNp linux-2.6.38.1/include/linux/vmalloc.h linux-2.6.38.1/include/linux/vmalloc.h
--- linux-2.6.38.1/include/linux/vmalloc.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/vmalloc.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/vmalloc.h 2011-03-21 18:31:35.000000000 -0400
@@ -13,6 +13,11 @@ struct vm_area_struct; /* vma defining
#define VM_MAP 0x00000004 /* vmap()ed pages */
#define VM_USERMAP 0x00000008 /* suitable for remap_vmalloc_range */
@@ -48512,9 +48665,9 @@ diff -urNp linux-2.6.38.1/include/linux/vmalloc.h linux-2.6.38.1-new/include/lin
+})
+
#endif /* _LINUX_VMALLOC_H */
-diff -urNp linux-2.6.38.1/include/linux/vmstat.h linux-2.6.38.1-new/include/linux/vmstat.h
+diff -urNp linux-2.6.38.1/include/linux/vmstat.h linux-2.6.38.1/include/linux/vmstat.h
--- linux-2.6.38.1/include/linux/vmstat.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/linux/vmstat.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/linux/vmstat.h 2011-03-21 18:31:35.000000000 -0400
@@ -140,18 +140,18 @@ static inline void vm_events_fold_cpu(in
/*
* Zone based page accounting with per cpu differentials.
@@ -48578,9 +48731,9 @@ diff -urNp linux-2.6.38.1/include/linux/vmstat.h linux-2.6.38.1-new/include/linu
}
static inline void __dec_zone_page_state(struct page *page,
-diff -urNp linux-2.6.38.1/include/net/inetpeer.h linux-2.6.38.1-new/include/net/inetpeer.h
+diff -urNp linux-2.6.38.1/include/net/inetpeer.h linux-2.6.38.1/include/net/inetpeer.h
--- linux-2.6.38.1/include/net/inetpeer.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/net/inetpeer.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/net/inetpeer.h 2011-03-21 18:31:35.000000000 -0400
@@ -38,8 +38,8 @@ struct inet_peer {
*/
union {
@@ -48601,9 +48754,9 @@ diff -urNp linux-2.6.38.1/include/net/inetpeer.h linux-2.6.38.1-new/include/net/
}
#endif /* _NET_INETPEER_H */
-diff -urNp linux-2.6.38.1/include/net/irda/ircomm_tty.h linux-2.6.38.1-new/include/net/irda/ircomm_tty.h
+diff -urNp linux-2.6.38.1/include/net/irda/ircomm_tty.h linux-2.6.38.1/include/net/irda/ircomm_tty.h
--- linux-2.6.38.1/include/net/irda/ircomm_tty.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/net/irda/ircomm_tty.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/net/irda/ircomm_tty.h 2011-03-21 18:31:35.000000000 -0400
@@ -35,6 +35,7 @@
#include <linux/termios.h>
#include <linux/timer.h>
@@ -48623,9 +48776,9 @@ diff -urNp linux-2.6.38.1/include/net/irda/ircomm_tty.h linux-2.6.38.1-new/inclu
/* Protect concurent access to :
* o self->open_count
-diff -urNp linux-2.6.38.1/include/net/neighbour.h linux-2.6.38.1-new/include/net/neighbour.h
+diff -urNp linux-2.6.38.1/include/net/neighbour.h linux-2.6.38.1/include/net/neighbour.h
--- linux-2.6.38.1/include/net/neighbour.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/net/neighbour.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/net/neighbour.h 2011-03-21 18:31:35.000000000 -0400
@@ -118,12 +118,12 @@ struct neighbour {
struct neigh_ops {
@@ -48645,9 +48798,9 @@ diff -urNp linux-2.6.38.1/include/net/neighbour.h linux-2.6.38.1-new/include/net
};
struct pneigh_entry {
-diff -urNp linux-2.6.38.1/include/net/netlink.h linux-2.6.38.1-new/include/net/netlink.h
+diff -urNp linux-2.6.38.1/include/net/netlink.h linux-2.6.38.1/include/net/netlink.h
--- linux-2.6.38.1/include/net/netlink.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/net/netlink.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/net/netlink.h 2011-03-21 18:31:35.000000000 -0400
@@ -562,7 +562,7 @@ static inline void *nlmsg_get_pos(struct
static inline void nlmsg_trim(struct sk_buff *skb, const void *mark)
{
@@ -48657,9 +48810,9 @@ diff -urNp linux-2.6.38.1/include/net/netlink.h linux-2.6.38.1-new/include/net/n
}
/**
-diff -urNp linux-2.6.38.1/include/net/sctp/sctp.h linux-2.6.38.1-new/include/net/sctp/sctp.h
+diff -urNp linux-2.6.38.1/include/net/sctp/sctp.h linux-2.6.38.1/include/net/sctp/sctp.h
--- linux-2.6.38.1/include/net/sctp/sctp.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/net/sctp/sctp.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/net/sctp/sctp.h 2011-03-21 18:31:35.000000000 -0400
@@ -316,9 +316,9 @@ do { \
#else /* SCTP_DEBUG */
@@ -48673,9 +48826,9 @@ diff -urNp linux-2.6.38.1/include/net/sctp/sctp.h linux-2.6.38.1-new/include/net
#define SCTP_ENABLE_DEBUG
#define SCTP_DISABLE_DEBUG
#define SCTP_ASSERT(expr, str, func)
-diff -urNp linux-2.6.38.1/include/net/tcp.h linux-2.6.38.1-new/include/net/tcp.h
+diff -urNp linux-2.6.38.1/include/net/tcp.h linux-2.6.38.1/include/net/tcp.h
--- linux-2.6.38.1/include/net/tcp.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/net/tcp.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/net/tcp.h 2011-03-21 18:31:35.000000000 -0400
@@ -1382,7 +1382,7 @@ enum tcp_seq_states {
struct tcp_seq_afinfo {
char *name;
@@ -48685,9 +48838,9 @@ diff -urNp linux-2.6.38.1/include/net/tcp.h linux-2.6.38.1-new/include/net/tcp.h
struct seq_operations seq_ops;
};
-diff -urNp linux-2.6.38.1/include/net/udp.h linux-2.6.38.1-new/include/net/udp.h
+diff -urNp linux-2.6.38.1/include/net/udp.h linux-2.6.38.1/include/net/udp.h
--- linux-2.6.38.1/include/net/udp.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/net/udp.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/net/udp.h 2011-03-21 18:31:35.000000000 -0400
@@ -223,7 +223,7 @@ struct udp_seq_afinfo {
char *name;
sa_family_t family;
@@ -48697,9 +48850,9 @@ diff -urNp linux-2.6.38.1/include/net/udp.h linux-2.6.38.1-new/include/net/udp.h
struct seq_operations seq_ops;
};
-diff -urNp linux-2.6.38.1/include/sound/ac97_codec.h linux-2.6.38.1-new/include/sound/ac97_codec.h
+diff -urNp linux-2.6.38.1/include/sound/ac97_codec.h linux-2.6.38.1/include/sound/ac97_codec.h
--- linux-2.6.38.1/include/sound/ac97_codec.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/sound/ac97_codec.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/sound/ac97_codec.h 2011-03-21 18:31:35.000000000 -0400
@@ -419,15 +419,15 @@
struct snd_ac97;
@@ -48723,9 +48876,9 @@ diff -urNp linux-2.6.38.1/include/sound/ac97_codec.h linux-2.6.38.1-new/include/
};
struct snd_ac97_bus_ops {
-diff -urNp linux-2.6.38.1/include/trace/events/irq.h linux-2.6.38.1-new/include/trace/events/irq.h
+diff -urNp linux-2.6.38.1/include/trace/events/irq.h linux-2.6.38.1/include/trace/events/irq.h
--- linux-2.6.38.1/include/trace/events/irq.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/trace/events/irq.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/trace/events/irq.h 2011-03-21 18:31:35.000000000 -0400
@@ -36,7 +36,7 @@ struct softirq_action;
*/
TRACE_EVENT(irq_handler_entry,
@@ -48744,9 +48897,9 @@ diff -urNp linux-2.6.38.1/include/trace/events/irq.h linux-2.6.38.1-new/include/
TP_ARGS(irq, action, ret),
-diff -urNp linux-2.6.38.1/include/video/uvesafb.h linux-2.6.38.1-new/include/video/uvesafb.h
+diff -urNp linux-2.6.38.1/include/video/uvesafb.h linux-2.6.38.1/include/video/uvesafb.h
--- linux-2.6.38.1/include/video/uvesafb.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/include/video/uvesafb.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/include/video/uvesafb.h 2011-03-21 18:31:35.000000000 -0400
@@ -177,6 +177,7 @@ struct uvesafb_par {
u8 ypan; /* 0 - nothing, 1 - ypan, 2 - ywrap */
u8 pmi_setpal; /* PMI for palette changes */
@@ -48755,9 +48908,9 @@ diff -urNp linux-2.6.38.1/include/video/uvesafb.h linux-2.6.38.1-new/include/vid
void *pmi_start;
void *pmi_pal;
u8 *vbe_state_orig; /*
-diff -urNp linux-2.6.38.1/init/do_mounts.c linux-2.6.38.1-new/init/do_mounts.c
+diff -urNp linux-2.6.38.1/init/do_mounts.c linux-2.6.38.1/init/do_mounts.c
--- linux-2.6.38.1/init/do_mounts.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/init/do_mounts.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/init/do_mounts.c 2011-03-21 18:31:35.000000000 -0400
@@ -287,7 +287,7 @@ static void __init get_fs_names(char *pa
static int __init do_mount_root(char *name, char *fs, int flags, void *data)
@@ -48797,9 +48950,9 @@ diff -urNp linux-2.6.38.1/init/do_mounts.c linux-2.6.38.1-new/init/do_mounts.c
+ sys_mount((__force char __user *)".", (__force char __user *)"/", NULL, MS_MOVE, NULL);
sys_chroot((const char __user __force *)".");
}
-diff -urNp linux-2.6.38.1/init/do_mounts.h linux-2.6.38.1-new/init/do_mounts.h
+diff -urNp linux-2.6.38.1/init/do_mounts.h linux-2.6.38.1/init/do_mounts.h
--- linux-2.6.38.1/init/do_mounts.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/init/do_mounts.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/init/do_mounts.h 2011-03-21 18:31:35.000000000 -0400
@@ -15,15 +15,15 @@ extern int root_mountflags;
static inline int create_dev(char *name, dev_t dev)
@@ -48819,9 +48972,9 @@ diff -urNp linux-2.6.38.1/init/do_mounts.h linux-2.6.38.1-new/init/do_mounts.h
return 0;
if (!S_ISBLK(stat.st_mode))
return 0;
-diff -urNp linux-2.6.38.1/init/do_mounts_initrd.c linux-2.6.38.1-new/init/do_mounts_initrd.c
+diff -urNp linux-2.6.38.1/init/do_mounts_initrd.c linux-2.6.38.1/init/do_mounts_initrd.c
--- linux-2.6.38.1/init/do_mounts_initrd.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/init/do_mounts_initrd.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/init/do_mounts_initrd.c 2011-03-21 18:31:35.000000000 -0400
@@ -44,13 +44,13 @@ static void __init handle_initrd(void)
create_dev("/dev/root.old", Root_RAM0);
/* mount initrd on rootfs' /root */
@@ -48896,9 +49049,9 @@ diff -urNp linux-2.6.38.1/init/do_mounts_initrd.c linux-2.6.38.1-new/init/do_mou
+ sys_unlink((__force const char __user *)"/initrd.image");
return 0;
}
-diff -urNp linux-2.6.38.1/init/do_mounts_md.c linux-2.6.38.1-new/init/do_mounts_md.c
+diff -urNp linux-2.6.38.1/init/do_mounts_md.c linux-2.6.38.1/init/do_mounts_md.c
--- linux-2.6.38.1/init/do_mounts_md.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/init/do_mounts_md.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/init/do_mounts_md.c 2011-03-21 18:31:35.000000000 -0400
@@ -170,7 +170,7 @@ static void __init md_setup_drive(void)
partitioned ? "_d" : "", minor,
md_setup_args[ent].device_names);
@@ -48917,9 +49070,9 @@ diff -urNp linux-2.6.38.1/init/do_mounts_md.c linux-2.6.38.1-new/init/do_mounts_
sys_ioctl(fd, BLKRRPART, 0);
}
sys_close(fd);
-diff -urNp linux-2.6.38.1/init/initramfs.c linux-2.6.38.1-new/init/initramfs.c
+diff -urNp linux-2.6.38.1/init/initramfs.c linux-2.6.38.1/init/initramfs.c
--- linux-2.6.38.1/init/initramfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/init/initramfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/init/initramfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -74,7 +74,7 @@ static void __init free_hash(void)
}
}
@@ -49028,9 +49181,9 @@ diff -urNp linux-2.6.38.1/init/initramfs.c linux-2.6.38.1-new/init/initramfs.c
state = SkipIt;
next_state = Reset;
return 0;
-diff -urNp linux-2.6.38.1/init/Kconfig linux-2.6.38.1-new/init/Kconfig
+diff -urNp linux-2.6.38.1/init/Kconfig linux-2.6.38.1/init/Kconfig
--- linux-2.6.38.1/init/Kconfig 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/init/Kconfig 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/init/Kconfig 2011-03-21 18:31:35.000000000 -0400
@@ -1185,7 +1185,7 @@ config SLUB_DEBUG
config COMPAT_BRK
@@ -49040,9 +49193,9 @@ diff -urNp linux-2.6.38.1/init/Kconfig linux-2.6.38.1-new/init/Kconfig
help
Randomizing heap placement makes heap exploits harder, but it
also breaks ancient binaries (including anything libc5 based).
-diff -urNp linux-2.6.38.1/init/main.c linux-2.6.38.1-new/init/main.c
+diff -urNp linux-2.6.38.1/init/main.c linux-2.6.38.1/init/main.c
--- linux-2.6.38.1/init/main.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/init/main.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/init/main.c 2011-03-21 18:31:35.000000000 -0400
@@ -96,6 +96,8 @@ static inline void mark_rodata_ro(void)
extern void tc_init(void);
#endif
@@ -49152,9 +49305,9 @@ diff -urNp linux-2.6.38.1/init/main.c linux-2.6.38.1-new/init/main.c
/*
* Ok, we have completed the initial bootup, and
* we're essentially up and running. Get rid of the
-diff -urNp linux-2.6.38.1/ipc/mqueue.c linux-2.6.38.1-new/ipc/mqueue.c
+diff -urNp linux-2.6.38.1/ipc/mqueue.c linux-2.6.38.1/ipc/mqueue.c
--- linux-2.6.38.1/ipc/mqueue.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/ipc/mqueue.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/ipc/mqueue.c 2011-03-21 18:31:35.000000000 -0400
@@ -154,6 +154,7 @@ static struct inode *mqueue_get_inode(st
mq_bytes = (mq_msg_tblsz +
(info->attr.mq_maxmsg * info->attr.mq_msgsize));
@@ -49163,9 +49316,9 @@ diff -urNp linux-2.6.38.1/ipc/mqueue.c linux-2.6.38.1-new/ipc/mqueue.c
spin_lock(&mq_lock);
if (u->mq_bytes + mq_bytes < u->mq_bytes ||
u->mq_bytes + mq_bytes >
-diff -urNp linux-2.6.38.1/ipc/shm.c linux-2.6.38.1-new/ipc/shm.c
+diff -urNp linux-2.6.38.1/ipc/shm.c linux-2.6.38.1/ipc/shm.c
--- linux-2.6.38.1/ipc/shm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/ipc/shm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/ipc/shm.c 2011-03-21 18:31:35.000000000 -0400
@@ -69,6 +69,14 @@ static void shm_destroy (struct ipc_name
static int sysvipc_shm_proc_show(struct seq_file *s, void *it);
#endif
@@ -49227,9 +49380,9 @@ diff -urNp linux-2.6.38.1/ipc/shm.c linux-2.6.38.1-new/ipc/shm.c
size = i_size_read(path.dentry->d_inode);
shm_unlock(shp);
-diff -urNp linux-2.6.38.1/kernel/acct.c linux-2.6.38.1-new/kernel/acct.c
+diff -urNp linux-2.6.38.1/kernel/acct.c linux-2.6.38.1/kernel/acct.c
--- linux-2.6.38.1/kernel/acct.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/acct.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/acct.c 2011-03-21 18:31:35.000000000 -0400
@@ -570,7 +570,7 @@ static void do_acct_process(struct bsd_a
*/
flim = current->signal->rlim[RLIMIT_FSIZE].rlim_cur;
@@ -49239,9 +49392,9 @@ diff -urNp linux-2.6.38.1/kernel/acct.c linux-2.6.38.1-new/kernel/acct.c
sizeof(acct_t), &file->f_pos);
current->signal->rlim[RLIMIT_FSIZE].rlim_cur = flim;
set_fs(fs);
-diff -urNp linux-2.6.38.1/kernel/capability.c linux-2.6.38.1-new/kernel/capability.c
+diff -urNp linux-2.6.38.1/kernel/capability.c linux-2.6.38.1/kernel/capability.c
--- linux-2.6.38.1/kernel/capability.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/capability.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/capability.c 2011-03-21 18:31:35.000000000 -0400
@@ -205,6 +205,9 @@ SYSCALL_DEFINE2(capget, cap_user_header_
* before modification is attempted and the application
* fails.
@@ -49280,9 +49433,9 @@ diff -urNp linux-2.6.38.1/kernel/capability.c linux-2.6.38.1-new/kernel/capabili
+
EXPORT_SYMBOL(capable);
+EXPORT_SYMBOL(capable_nolog);
-diff -urNp linux-2.6.38.1/kernel/compat.c linux-2.6.38.1-new/kernel/compat.c
+diff -urNp linux-2.6.38.1/kernel/compat.c linux-2.6.38.1/kernel/compat.c
--- linux-2.6.38.1/kernel/compat.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/compat.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/compat.c 2011-03-21 18:31:35.000000000 -0400
@@ -13,6 +13,7 @@
#include <linux/linkage.h>
@@ -49291,9 +49444,9 @@ diff -urNp linux-2.6.38.1/kernel/compat.c linux-2.6.38.1-new/kernel/compat.c
#include <linux/errno.h>
#include <linux/time.h>
#include <linux/signal.h>
-diff -urNp linux-2.6.38.1/kernel/configs.c linux-2.6.38.1-new/kernel/configs.c
+diff -urNp linux-2.6.38.1/kernel/configs.c linux-2.6.38.1/kernel/configs.c
--- linux-2.6.38.1/kernel/configs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/configs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/configs.c 2011-03-21 18:31:35.000000000 -0400
@@ -74,8 +74,19 @@ static int __init ikconfig_init(void)
struct proc_dir_entry *entry;
@@ -49314,9 +49467,9 @@ diff -urNp linux-2.6.38.1/kernel/configs.c linux-2.6.38.1-new/kernel/configs.c
if (!entry)
return -ENOMEM;
-diff -urNp linux-2.6.38.1/kernel/cred.c linux-2.6.38.1-new/kernel/cred.c
+diff -urNp linux-2.6.38.1/kernel/cred.c linux-2.6.38.1/kernel/cred.c
--- linux-2.6.38.1/kernel/cred.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/cred.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/cred.c 2011-03-21 18:31:35.000000000 -0400
@@ -483,6 +483,8 @@ int commit_creds(struct cred *new)
get_cred(new); /* we will require a ref for the subj creds too */
@@ -49326,9 +49479,9 @@ diff -urNp linux-2.6.38.1/kernel/cred.c linux-2.6.38.1-new/kernel/cred.c
/* dumpability changes */
if (old->euid != new->euid ||
old->egid != new->egid ||
-diff -urNp linux-2.6.38.1/kernel/debug/debug_core.c linux-2.6.38.1-new/kernel/debug/debug_core.c
+diff -urNp linux-2.6.38.1/kernel/debug/debug_core.c linux-2.6.38.1/kernel/debug/debug_core.c
--- linux-2.6.38.1/kernel/debug/debug_core.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/debug/debug_core.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/debug/debug_core.c 2011-03-21 18:31:35.000000000 -0400
@@ -72,7 +72,7 @@ int kgdb_io_module_registered;
/* Guard for recursive entry */
static int exception_level;
@@ -49356,9 +49509,9 @@ diff -urNp linux-2.6.38.1/kernel/debug/debug_core.c linux-2.6.38.1-new/kernel/de
{
BUG_ON(kgdb_connected);
-diff -urNp linux-2.6.38.1/kernel/debug/kdb/kdb_main.c linux-2.6.38.1-new/kernel/debug/kdb/kdb_main.c
+diff -urNp linux-2.6.38.1/kernel/debug/kdb/kdb_main.c linux-2.6.38.1/kernel/debug/kdb/kdb_main.c
--- linux-2.6.38.1/kernel/debug/kdb/kdb_main.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/debug/kdb/kdb_main.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/debug/kdb/kdb_main.c 2011-03-21 18:31:35.000000000 -0400
@@ -1980,7 +1980,7 @@ static int kdb_lsmod(int argc, const cha
list_for_each_entry(mod, kdb_modules, list) {
@@ -49377,9 +49530,9 @@ diff -urNp linux-2.6.38.1/kernel/debug/kdb/kdb_main.c linux-2.6.38.1-new/kernel/
#ifdef CONFIG_MODULE_UNLOAD
{
-diff -urNp linux-2.6.38.1/kernel/exit.c linux-2.6.38.1-new/kernel/exit.c
+diff -urNp linux-2.6.38.1/kernel/exit.c linux-2.6.38.1/kernel/exit.c
--- linux-2.6.38.1/kernel/exit.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/exit.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/exit.c 2011-03-21 18:31:35.000000000 -0400
@@ -57,6 +57,10 @@
#include <asm/pgtable.h>
#include <asm/mmu_context.h>
@@ -49499,9 +49652,9 @@ diff -urNp linux-2.6.38.1/kernel/exit.c linux-2.6.38.1-new/kernel/exit.c
exit_mm(tsk);
if (group_dead)
-diff -urNp linux-2.6.38.1/kernel/fork.c linux-2.6.38.1-new/kernel/fork.c
+diff -urNp linux-2.6.38.1/kernel/fork.c linux-2.6.38.1/kernel/fork.c
--- linux-2.6.38.1/kernel/fork.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/fork.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/fork.c 2011-03-21 18:31:35.000000000 -0400
@@ -280,7 +280,7 @@ static struct task_struct *dup_task_stru
*stackend = STACK_END_MAGIC; /* for overflow detection */
@@ -49798,9 +49951,9 @@ diff -urNp linux-2.6.38.1/kernel/fork.c linux-2.6.38.1-new/kernel/fork.c
new_fs = NULL;
else
new_fs = fs;
-diff -urNp linux-2.6.38.1/kernel/futex.c linux-2.6.38.1-new/kernel/futex.c
+diff -urNp linux-2.6.38.1/kernel/futex.c linux-2.6.38.1/kernel/futex.c
--- linux-2.6.38.1/kernel/futex.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/futex.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/futex.c 2011-03-21 18:31:35.000000000 -0400
@@ -54,6 +54,7 @@
#include <linux/mount.h>
#include <linux/pagemap.h>
@@ -49867,9 +50020,9 @@ diff -urNp linux-2.6.38.1/kernel/futex.c linux-2.6.38.1-new/kernel/futex.c
if (curval == -EFAULT)
futex_cmpxchg_enabled = 1;
-diff -urNp linux-2.6.38.1/kernel/futex_compat.c linux-2.6.38.1-new/kernel/futex_compat.c
+diff -urNp linux-2.6.38.1/kernel/futex_compat.c linux-2.6.38.1/kernel/futex_compat.c
--- linux-2.6.38.1/kernel/futex_compat.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/futex_compat.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/futex_compat.c 2011-03-21 18:31:35.000000000 -0400
@@ -10,6 +10,7 @@
#include <linux/compat.h>
#include <linux/nsproxy.h>
@@ -49907,9 +50060,9 @@ diff -urNp linux-2.6.38.1/kernel/futex_compat.c linux-2.6.38.1-new/kernel/futex_
head = p->compat_robust_list;
rcu_read_unlock();
}
-diff -urNp linux-2.6.38.1/kernel/gcov/base.c linux-2.6.38.1-new/kernel/gcov/base.c
+diff -urNp linux-2.6.38.1/kernel/gcov/base.c linux-2.6.38.1/kernel/gcov/base.c
--- linux-2.6.38.1/kernel/gcov/base.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/gcov/base.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/gcov/base.c 2011-03-21 18:31:35.000000000 -0400
@@ -102,11 +102,6 @@ void gcov_enable_events(void)
}
@@ -49931,9 +50084,9 @@ diff -urNp linux-2.6.38.1/kernel/gcov/base.c linux-2.6.38.1-new/kernel/gcov/base
if (prev)
prev->next = info->next;
else
-diff -urNp linux-2.6.38.1/kernel/hrtimer.c linux-2.6.38.1-new/kernel/hrtimer.c
+diff -urNp linux-2.6.38.1/kernel/hrtimer.c linux-2.6.38.1/kernel/hrtimer.c
--- linux-2.6.38.1/kernel/hrtimer.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/hrtimer.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/hrtimer.c 2011-03-21 18:31:35.000000000 -0400
@@ -1371,7 +1371,7 @@ void hrtimer_peek_ahead_timers(void)
local_irq_restore(flags);
}
@@ -49943,9 +50096,9 @@ diff -urNp linux-2.6.38.1/kernel/hrtimer.c linux-2.6.38.1-new/kernel/hrtimer.c
{
hrtimer_peek_ahead_timers();
}
-diff -urNp linux-2.6.38.1/kernel/jump_label.c linux-2.6.38.1-new/kernel/jump_label.c
+diff -urNp linux-2.6.38.1/kernel/jump_label.c linux-2.6.38.1/kernel/jump_label.c
--- linux-2.6.38.1/kernel/jump_label.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/jump_label.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/jump_label.c 2011-03-21 18:31:35.000000000 -0400
@@ -49,6 +49,17 @@ void jump_label_unlock(void)
mutex_unlock(&jump_label_mutex);
}
@@ -49986,9 +50139,9 @@ diff -urNp linux-2.6.38.1/kernel/jump_label.c linux-2.6.38.1-new/kernel/jump_lab
iter++;
}
}
-diff -urNp linux-2.6.38.1/kernel/kallsyms.c linux-2.6.38.1-new/kernel/kallsyms.c
+diff -urNp linux-2.6.38.1/kernel/kallsyms.c linux-2.6.38.1/kernel/kallsyms.c
--- linux-2.6.38.1/kernel/kallsyms.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/kallsyms.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/kallsyms.c 2011-03-21 18:31:35.000000000 -0400
@@ -11,6 +11,9 @@
* Changed the compression method from stem compression to "table lookup"
* compression (see scripts/kallsyms.c for a more complete description)
@@ -50091,10 +50244,10 @@ diff -urNp linux-2.6.38.1/kernel/kallsyms.c linux-2.6.38.1-new/kernel/kallsyms.c
if (!iter)
return -ENOMEM;
reset_iter(iter, 0);
-diff -urNp linux-2.6.38.1/kernel/kmod.c linux-2.6.38.1-new/kernel/kmod.c
+diff -urNp linux-2.6.38.1/kernel/kmod.c linux-2.6.38.1/kernel/kmod.c
--- linux-2.6.38.1/kernel/kmod.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/kmod.c 2011-03-21 18:31:35.000000000 -0400
-@@ -90,6 +90,28 @@ int __request_module(bool wait, const ch
++++ linux-2.6.38.1/kernel/kmod.c 2011-03-26 13:28:34.000000000 -0400
+@@ -90,6 +90,18 @@ int __request_module(bool wait, const ch
if (ret)
return ret;
@@ -50105,17 +50258,7 @@ diff -urNp linux-2.6.38.1/kernel/kmod.c linux-2.6.38.1-new/kernel/kmod.c
+ auto-loaded
+ */
+ if (current_uid()) {
-+#if !defined(CONFIG_IPV6) && !defined(CONFIG_IPV6_MODULE)
-+ /* There are known knowns. These are things we know
-+ that we know. There are known unknowns. That is to say,
-+ there are things that we know we don't know. But there are
-+ also unknown unknowns. There are things we don't know
-+ we don't know.
-+ This here is a known unknown.
-+ */
-+ if (strcmp(module_name, "net-pf-10"))
-+#endif
-+ gr_log_nonroot_mod_load(module_name);
++ gr_log_nonroot_mod_load(module_name);
+ return -EPERM;
+ }
+#endif
@@ -50123,9 +50266,9 @@ diff -urNp linux-2.6.38.1/kernel/kmod.c linux-2.6.38.1-new/kernel/kmod.c
/* If modprobe needs a service that is in a module, we get a recursive
* loop. Limit the number of running kmod threads to max_threads/2 or
* MAX_KMOD_CONCURRENT, whichever is the smaller. A cleaner method
-diff -urNp linux-2.6.38.1/kernel/kprobes.c linux-2.6.38.1-new/kernel/kprobes.c
+diff -urNp linux-2.6.38.1/kernel/kprobes.c linux-2.6.38.1/kernel/kprobes.c
--- linux-2.6.38.1/kernel/kprobes.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/kprobes.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/kprobes.c 2011-03-21 18:31:35.000000000 -0400
@@ -185,7 +185,7 @@ static kprobe_opcode_t __kprobes *__get_
* kernel image and loaded module images reside. This is required
* so x86_64 can correctly handle the %rip-relative fixups.
@@ -50162,9 +50305,9 @@ diff -urNp linux-2.6.38.1/kernel/kprobes.c linux-2.6.38.1-new/kernel/kprobes.c
head = &kprobe_table[i];
preempt_disable();
-diff -urNp linux-2.6.38.1/kernel/lockdep.c linux-2.6.38.1-new/kernel/lockdep.c
+diff -urNp linux-2.6.38.1/kernel/lockdep.c linux-2.6.38.1/kernel/lockdep.c
--- linux-2.6.38.1/kernel/lockdep.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/lockdep.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/lockdep.c 2011-03-21 18:31:35.000000000 -0400
@@ -571,6 +571,10 @@ static int static_obj(void *obj)
end = (unsigned long) &_end,
addr = (unsigned long) obj;
@@ -50193,9 +50336,9 @@ diff -urNp linux-2.6.38.1/kernel/lockdep.c linux-2.6.38.1-new/kernel/lockdep.c
if (very_verbose(class)) {
printk("\nacquire class [%p] %s", class->key, class->name);
if (class->name_version > 1)
-diff -urNp linux-2.6.38.1/kernel/lockdep_proc.c linux-2.6.38.1-new/kernel/lockdep_proc.c
+diff -urNp linux-2.6.38.1/kernel/lockdep_proc.c linux-2.6.38.1/kernel/lockdep_proc.c
--- linux-2.6.38.1/kernel/lockdep_proc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/lockdep_proc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/lockdep_proc.c 2011-03-21 18:31:35.000000000 -0400
@@ -39,7 +39,7 @@ static void l_stop(struct seq_file *m, v
static void print_name(struct seq_file *m, struct lock_class *class)
@@ -50205,9 +50348,9 @@ diff -urNp linux-2.6.38.1/kernel/lockdep_proc.c linux-2.6.38.1-new/kernel/lockde
const char *name = class->name;
if (!name) {
-diff -urNp linux-2.6.38.1/kernel/module.c linux-2.6.38.1-new/kernel/module.c
+diff -urNp linux-2.6.38.1/kernel/module.c linux-2.6.38.1/kernel/module.c
--- linux-2.6.38.1/kernel/module.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/module.c 2011-03-21 18:31:35.000000000 -0400
@@ -118,7 +118,8 @@ static BLOCKING_NOTIFIER_HEAD(module_not
/* Bounds of module allocation, for speeding __module_address.
@@ -50819,9 +50962,9 @@ diff -urNp linux-2.6.38.1/kernel/module.c linux-2.6.38.1-new/kernel/module.c
mod = NULL;
}
return mod;
-diff -urNp linux-2.6.38.1/kernel/panic.c linux-2.6.38.1-new/kernel/panic.c
+diff -urNp linux-2.6.38.1/kernel/panic.c linux-2.6.38.1/kernel/panic.c
--- linux-2.6.38.1/kernel/panic.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/panic.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/panic.c 2011-03-21 18:31:35.000000000 -0400
@@ -369,7 +369,7 @@ static void warn_slowpath_common(const c
const char *board;
@@ -50841,9 +50984,9 @@ diff -urNp linux-2.6.38.1/kernel/panic.c linux-2.6.38.1-new/kernel/panic.c
__builtin_return_address(0));
}
EXPORT_SYMBOL(__stack_chk_fail);
-diff -urNp linux-2.6.38.1/kernel/pid.c linux-2.6.38.1-new/kernel/pid.c
+diff -urNp linux-2.6.38.1/kernel/pid.c linux-2.6.38.1/kernel/pid.c
--- linux-2.6.38.1/kernel/pid.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/pid.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/pid.c 2011-03-21 18:31:35.000000000 -0400
@@ -33,6 +33,7 @@
#include <linux/rculist.h>
#include <linux/bootmem.h>
@@ -50878,9 +51021,9 @@ diff -urNp linux-2.6.38.1/kernel/pid.c linux-2.6.38.1-new/kernel/pid.c
}
struct task_struct *find_task_by_vpid(pid_t vnr)
-diff -urNp linux-2.6.38.1/kernel/posix-cpu-timers.c linux-2.6.38.1-new/kernel/posix-cpu-timers.c
+diff -urNp linux-2.6.38.1/kernel/posix-cpu-timers.c linux-2.6.38.1/kernel/posix-cpu-timers.c
--- linux-2.6.38.1/kernel/posix-cpu-timers.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/posix-cpu-timers.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/posix-cpu-timers.c 2011-03-21 18:31:35.000000000 -0400
@@ -6,6 +6,7 @@
#include <linux/posix-timers.h>
#include <linux/errno.h>
@@ -50889,9 +51032,9 @@ diff -urNp linux-2.6.38.1/kernel/posix-cpu-timers.c linux-2.6.38.1-new/kernel/po
#include <asm/uaccess.h>
#include <linux/kernel_stat.h>
#include <trace/events/timer.h>
-diff -urNp linux-2.6.38.1/kernel/posix-timers.c linux-2.6.38.1-new/kernel/posix-timers.c
+diff -urNp linux-2.6.38.1/kernel/posix-timers.c linux-2.6.38.1/kernel/posix-timers.c
--- linux-2.6.38.1/kernel/posix-timers.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/posix-timers.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/posix-timers.c 2011-03-21 18:31:35.000000000 -0400
@@ -42,6 +42,7 @@
#include <linux/compiler.h>
#include <linux/idr.h>
@@ -50914,9 +51057,9 @@ diff -urNp linux-2.6.38.1/kernel/posix-timers.c linux-2.6.38.1-new/kernel/posix-
return CLOCK_DISPATCH(which_clock, clock_set, (which_clock, &new_tp));
}
-diff -urNp linux-2.6.38.1/kernel/power/poweroff.c linux-2.6.38.1-new/kernel/power/poweroff.c
+diff -urNp linux-2.6.38.1/kernel/power/poweroff.c linux-2.6.38.1/kernel/power/poweroff.c
--- linux-2.6.38.1/kernel/power/poweroff.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/power/poweroff.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/power/poweroff.c 2011-03-21 18:31:35.000000000 -0400
@@ -37,7 +37,7 @@ static struct sysrq_key_op sysrq_powerof
.enable_mask = SYSRQ_ENABLE_BOOT,
};
@@ -50926,9 +51069,9 @@ diff -urNp linux-2.6.38.1/kernel/power/poweroff.c linux-2.6.38.1-new/kernel/powe
{
register_sysrq_key('o', &sysrq_poweroff_op);
return 0;
-diff -urNp linux-2.6.38.1/kernel/power/process.c linux-2.6.38.1-new/kernel/power/process.c
+diff -urNp linux-2.6.38.1/kernel/power/process.c linux-2.6.38.1/kernel/power/process.c
--- linux-2.6.38.1/kernel/power/process.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/power/process.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/power/process.c 2011-03-21 18:31:35.000000000 -0400
@@ -41,6 +41,7 @@ static int try_to_freeze_tasks(bool sig_
u64 elapsed_csecs64;
unsigned int elapsed_csecs;
@@ -50971,9 +51114,9 @@ diff -urNp linux-2.6.38.1/kernel/power/process.c linux-2.6.38.1-new/kernel/power
break;
if (pm_wakeup_pending()) {
-diff -urNp linux-2.6.38.1/kernel/printk.c linux-2.6.38.1-new/kernel/printk.c
+diff -urNp linux-2.6.38.1/kernel/printk.c linux-2.6.38.1/kernel/printk.c
--- linux-2.6.38.1/kernel/printk.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/printk.c 2011-03-23 22:30:08.000000000 -0400
++++ linux-2.6.38.1/kernel/printk.c 2011-03-23 22:30:08.000000000 -0400
@@ -279,12 +279,17 @@ static int check_syslog_permissions(int
if (from_file && type != SYSLOG_ACTION_OPEN)
return 0;
@@ -50993,28 +51136,69 @@ diff -urNp linux-2.6.38.1/kernel/printk.c linux-2.6.38.1-new/kernel/printk.c
"but no CAP_SYSLOG (deprecated).\n");
return 0;
}
-diff -urNp linux-2.6.38.1/kernel/ptrace.c linux-2.6.38.1-new/kernel/ptrace.c
+diff -urNp linux-2.6.38.1/kernel/ptrace.c linux-2.6.38.1/kernel/ptrace.c
--- linux-2.6.38.1/kernel/ptrace.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/ptrace.c 2011-03-21 18:31:35.000000000 -0400
-@@ -140,7 +140,7 @@ int __ptrace_may_access(struct task_stru
++++ linux-2.6.38.1/kernel/ptrace.c 2011-03-26 11:42:34.000000000 -0400
+@@ -116,7 +116,8 @@ int ptrace_check_attach(struct task_stru
+ return ret;
+ }
+
+-int __ptrace_may_access(struct task_struct *task, unsigned int mode)
++static int __ptrace_may_access(struct task_struct *task, unsigned int mode,
++ unsigned int log)
+ {
+ const struct cred *cred = current_cred(), *tcred;
+
+@@ -140,7 +141,9 @@ int __ptrace_may_access(struct task_stru
cred->gid != tcred->egid ||
cred->gid != tcred->sgid ||
cred->gid != tcred->gid) &&
- !capable(CAP_SYS_PTRACE)) {
-+ !capable_nolog(CAP_SYS_PTRACE)) {
++ ((!log && !capable_nolog(CAP_SYS_PTRACE)) ||
++ (log && !capable(CAP_SYS_PTRACE)))
++ ) {
rcu_read_unlock();
return -EPERM;
}
-@@ -148,7 +148,7 @@ int __ptrace_may_access(struct task_stru
+@@ -148,7 +151,9 @@ int __ptrace_may_access(struct task_stru
smp_rmb();
if (task->mm)
dumpable = get_dumpable(task->mm);
- if (!dumpable && !capable(CAP_SYS_PTRACE))
-+ if (!dumpable && !capable_nolog(CAP_SYS_PTRACE))
++ if (!dumpable &&
++ ((!log && !capable_nolog(CAP_SYS_PTRACE)) ||
++ (log && !capable(CAP_SYS_PTRACE))))
return -EPERM;
return security_ptrace_access_check(task, mode);
-@@ -198,7 +198,7 @@ static int ptrace_attach(struct task_str
+@@ -158,7 +163,16 @@ bool ptrace_may_access(struct task_struc
+ {
+ int err;
+ task_lock(task);
+- err = __ptrace_may_access(task, mode);
++ err = __ptrace_may_access(task, mode, 0);
++ task_unlock(task);
++ return !err;
++}
++
++bool ptrace_may_access_log(struct task_struct *task, unsigned int mode)
++{
++ int err;
++ task_lock(task);
++ err = __ptrace_may_access(task, mode, 1);
+ task_unlock(task);
+ return !err;
+ }
+@@ -185,7 +199,7 @@ static int ptrace_attach(struct task_str
+ goto out;
+
+ task_lock(task);
+- retval = __ptrace_may_access(task, PTRACE_MODE_ATTACH);
++ retval = __ptrace_may_access(task, PTRACE_MODE_ATTACH, 1);
+ task_unlock(task);
+ if (retval)
+ goto unlock_creds;
+@@ -198,7 +212,7 @@ static int ptrace_attach(struct task_str
goto unlock_tasklist;
task->ptrace = PT_PTRACED;
@@ -51023,7 +51207,7 @@ diff -urNp linux-2.6.38.1/kernel/ptrace.c linux-2.6.38.1-new/kernel/ptrace.c
task->ptrace |= PT_PTRACE_CAP;
__ptrace_link(task, current);
-@@ -369,7 +369,7 @@ int ptrace_readdata(struct task_struct *
+@@ -369,7 +383,7 @@ int ptrace_readdata(struct task_struct *
break;
return -EIO;
}
@@ -51032,7 +51216,7 @@ diff -urNp linux-2.6.38.1/kernel/ptrace.c linux-2.6.38.1-new/kernel/ptrace.c
return -EFAULT;
copied += retval;
src += retval;
-@@ -565,7 +565,7 @@ int ptrace_request(struct task_struct *c
+@@ -565,7 +579,7 @@ int ptrace_request(struct task_struct *c
{
int ret = -EIO;
siginfo_t siginfo;
@@ -51041,7 +51225,7 @@ diff -urNp linux-2.6.38.1/kernel/ptrace.c linux-2.6.38.1-new/kernel/ptrace.c
unsigned long __user *datalp = datavp;
switch (request) {
-@@ -713,14 +713,21 @@ SYSCALL_DEFINE4(ptrace, long, request, l
+@@ -713,14 +727,21 @@ SYSCALL_DEFINE4(ptrace, long, request, l
goto out;
}
@@ -51064,7 +51248,7 @@ diff -urNp linux-2.6.38.1/kernel/ptrace.c linux-2.6.38.1-new/kernel/ptrace.c
goto out_put_task_struct;
}
-@@ -745,7 +752,7 @@ int generic_ptrace_peekdata(struct task_
+@@ -745,7 +766,7 @@ int generic_ptrace_peekdata(struct task_
copied = access_process_vm(tsk, addr, &tmp, sizeof(tmp), 0);
if (copied != sizeof(tmp))
return -EIO;
@@ -51073,7 +51257,7 @@ diff -urNp linux-2.6.38.1/kernel/ptrace.c linux-2.6.38.1-new/kernel/ptrace.c
}
int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr,
-@@ -855,14 +862,21 @@ asmlinkage long compat_sys_ptrace(compat
+@@ -855,14 +876,21 @@ asmlinkage long compat_sys_ptrace(compat
goto out;
}
@@ -51096,9 +51280,9 @@ diff -urNp linux-2.6.38.1/kernel/ptrace.c linux-2.6.38.1-new/kernel/ptrace.c
goto out_put_task_struct;
}
-diff -urNp linux-2.6.38.1/kernel/rcutree.c linux-2.6.38.1-new/kernel/rcutree.c
+diff -urNp linux-2.6.38.1/kernel/rcutree.c linux-2.6.38.1/kernel/rcutree.c
--- linux-2.6.38.1/kernel/rcutree.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/rcutree.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/rcutree.c 2011-03-21 18:31:35.000000000 -0400
@@ -1389,7 +1389,7 @@ __rcu_process_callbacks(struct rcu_state
/*
* Do softirq processing for the current CPU.
@@ -51108,9 +51292,9 @@ diff -urNp linux-2.6.38.1/kernel/rcutree.c linux-2.6.38.1-new/kernel/rcutree.c
{
/*
* Memory references from any prior RCU read-side critical sections
-diff -urNp linux-2.6.38.1/kernel/rcutree_plugin.h linux-2.6.38.1-new/kernel/rcutree_plugin.h
+diff -urNp linux-2.6.38.1/kernel/rcutree_plugin.h linux-2.6.38.1/kernel/rcutree_plugin.h
--- linux-2.6.38.1/kernel/rcutree_plugin.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/rcutree_plugin.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/rcutree_plugin.h 2011-03-21 18:31:35.000000000 -0400
@@ -730,7 +730,7 @@ void synchronize_rcu_expedited(void)
/* Clean up and exit. */
@@ -51120,9 +51304,9 @@ diff -urNp linux-2.6.38.1/kernel/rcutree_plugin.h linux-2.6.38.1-new/kernel/rcut
unlock_mb_ret:
mutex_unlock(&sync_rcu_preempt_exp_mutex);
mb_ret:
-diff -urNp linux-2.6.38.1/kernel/resource.c linux-2.6.38.1-new/kernel/resource.c
+diff -urNp linux-2.6.38.1/kernel/resource.c linux-2.6.38.1/kernel/resource.c
--- linux-2.6.38.1/kernel/resource.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/resource.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/resource.c 2011-03-21 18:31:35.000000000 -0400
@@ -133,8 +133,18 @@ static const struct file_operations proc
static int __init ioresources_init(void)
@@ -51142,9 +51326,9 @@ diff -urNp linux-2.6.38.1/kernel/resource.c linux-2.6.38.1-new/kernel/resource.c
return 0;
}
__initcall(ioresources_init);
-diff -urNp linux-2.6.38.1/kernel/rtmutex.c linux-2.6.38.1-new/kernel/rtmutex.c
+diff -urNp linux-2.6.38.1/kernel/rtmutex.c linux-2.6.38.1/kernel/rtmutex.c
--- linux-2.6.38.1/kernel/rtmutex.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/rtmutex.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/rtmutex.c 2011-03-21 18:31:35.000000000 -0400
@@ -511,7 +511,7 @@ static void wakeup_next_waiter(struct rt
*/
raw_spin_lock_irqsave(&pendowner->pi_lock, flags);
@@ -51154,9 +51338,9 @@ diff -urNp linux-2.6.38.1/kernel/rtmutex.c linux-2.6.38.1-new/kernel/rtmutex.c
WARN_ON(pendowner->pi_blocked_on != waiter);
WARN_ON(pendowner->pi_blocked_on->lock != lock);
-diff -urNp linux-2.6.38.1/kernel/sched.c linux-2.6.38.1-new/kernel/sched.c
+diff -urNp linux-2.6.38.1/kernel/sched.c linux-2.6.38.1/kernel/sched.c
--- linux-2.6.38.1/kernel/sched.c 2011-03-23 17:20:08.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/sched.c 2011-03-23 17:21:51.000000000 -0400
++++ linux-2.6.38.1/kernel/sched.c 2011-03-23 17:21:51.000000000 -0400
@@ -4638,6 +4638,8 @@ int can_nice(const struct task_struct *p
/* convert nice value [19,-20] to rlimit style value [1,40] */
int nice_rlim = 20 - nice;
@@ -51193,9 +51377,9 @@ diff -urNp linux-2.6.38.1/kernel/sched.c linux-2.6.38.1-new/kernel/sched.c
if (cpu != group_first_cpu(sd->groups))
return;
-diff -urNp linux-2.6.38.1/kernel/sched_fair.c linux-2.6.38.1-new/kernel/sched_fair.c
+diff -urNp linux-2.6.38.1/kernel/sched_fair.c linux-2.6.38.1/kernel/sched_fair.c
--- linux-2.6.38.1/kernel/sched_fair.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/sched_fair.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/sched_fair.c 2011-03-21 18:31:35.000000000 -0400
@@ -3960,7 +3960,7 @@ static void nohz_idle_balance(int this_c
* run_rebalance_domains is triggered when needed from the scheduler tick.
* Also triggered for nohz idle balancing (with nohz_balancing_kick set).
@@ -51205,9 +51389,9 @@ diff -urNp linux-2.6.38.1/kernel/sched_fair.c linux-2.6.38.1-new/kernel/sched_fa
{
int this_cpu = smp_processor_id();
struct rq *this_rq = cpu_rq(this_cpu);
-diff -urNp linux-2.6.38.1/kernel/signal.c linux-2.6.38.1-new/kernel/signal.c
+diff -urNp linux-2.6.38.1/kernel/signal.c linux-2.6.38.1/kernel/signal.c
--- linux-2.6.38.1/kernel/signal.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/signal.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/signal.c 2011-03-21 18:31:35.000000000 -0400
@@ -45,12 +45,12 @@ static struct kmem_cache *sigqueue_cache
int print_fatal_signals __read_mostly;
@@ -51310,9 +51494,9 @@ diff -urNp linux-2.6.38.1/kernel/signal.c linux-2.6.38.1-new/kernel/signal.c
return ret;
}
-diff -urNp linux-2.6.38.1/kernel/smp.c linux-2.6.38.1-new/kernel/smp.c
+diff -urNp linux-2.6.38.1/kernel/smp.c linux-2.6.38.1/kernel/smp.c
--- linux-2.6.38.1/kernel/smp.c 2011-03-23 17:20:08.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/smp.c 2011-03-23 17:21:51.000000000 -0400
++++ linux-2.6.38.1/kernel/smp.c 2011-03-26 20:50:44.000000000 -0400
@@ -583,22 +583,22 @@ int smp_call_function(smp_call_func_t fu
}
EXPORT_SYMBOL(smp_call_function);
@@ -51340,9 +51524,9 @@ diff -urNp linux-2.6.38.1/kernel/smp.c linux-2.6.38.1-new/kernel/smp.c
{
raw_spin_unlock_irq(&call_function.lock);
}
-diff -urNp linux-2.6.38.1/kernel/softirq.c linux-2.6.38.1-new/kernel/softirq.c
+diff -urNp linux-2.6.38.1/kernel/softirq.c linux-2.6.38.1/kernel/softirq.c
--- linux-2.6.38.1/kernel/softirq.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/softirq.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/softirq.c 2011-03-21 18:31:35.000000000 -0400
@@ -56,7 +56,7 @@ static struct softirq_action softirq_vec
static DEFINE_PER_CPU(struct task_struct *, ksoftirqd);
@@ -51397,9 +51581,9 @@ diff -urNp linux-2.6.38.1/kernel/softirq.c linux-2.6.38.1-new/kernel/softirq.c
{
struct tasklet_struct *list;
-diff -urNp linux-2.6.38.1/kernel/sys.c linux-2.6.38.1-new/kernel/sys.c
+diff -urNp linux-2.6.38.1/kernel/sys.c linux-2.6.38.1/kernel/sys.c
--- linux-2.6.38.1/kernel/sys.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/sys.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/sys.c 2011-03-21 18:31:35.000000000 -0400
@@ -136,6 +136,12 @@ static int set_one_prio(struct task_stru
error = -EACCES;
goto out;
@@ -51521,9 +51705,9 @@ diff -urNp linux-2.6.38.1/kernel/sys.c linux-2.6.38.1-new/kernel/sys.c
error = -EINVAL;
break;
}
-diff -urNp linux-2.6.38.1/kernel/sysctl.c linux-2.6.38.1-new/kernel/sysctl.c
+diff -urNp linux-2.6.38.1/kernel/sysctl.c linux-2.6.38.1/kernel/sysctl.c
--- linux-2.6.38.1/kernel/sysctl.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/sysctl.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/sysctl.c 2011-03-21 18:31:35.000000000 -0400
@@ -84,6 +84,13 @@
@@ -51712,9 +51896,9 @@ diff -urNp linux-2.6.38.1/kernel/sysctl.c linux-2.6.38.1-new/kernel/sysctl.c
EXPORT_SYMBOL(proc_doulongvec_minmax);
EXPORT_SYMBOL(proc_doulongvec_ms_jiffies_minmax);
EXPORT_SYMBOL(register_sysctl_table);
-diff -urNp linux-2.6.38.1/kernel/sysctl_check.c linux-2.6.38.1-new/kernel/sysctl_check.c
+diff -urNp linux-2.6.38.1/kernel/sysctl_check.c linux-2.6.38.1/kernel/sysctl_check.c
--- linux-2.6.38.1/kernel/sysctl_check.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/sysctl_check.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/sysctl_check.c 2011-03-21 18:31:35.000000000 -0400
@@ -131,6 +131,7 @@ int sysctl_check_table(struct nsproxy *n
set_fail(&fail, table, "Directory with extra2");
} else {
@@ -51723,9 +51907,9 @@ diff -urNp linux-2.6.38.1/kernel/sysctl_check.c linux-2.6.38.1-new/kernel/sysctl
(table->proc_handler == proc_dointvec) ||
(table->proc_handler == proc_dointvec_minmax) ||
(table->proc_handler == proc_dointvec_jiffies) ||
-diff -urNp linux-2.6.38.1/kernel/taskstats.c linux-2.6.38.1-new/kernel/taskstats.c
+diff -urNp linux-2.6.38.1/kernel/taskstats.c linux-2.6.38.1/kernel/taskstats.c
--- linux-2.6.38.1/kernel/taskstats.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/taskstats.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/taskstats.c 2011-03-21 18:31:35.000000000 -0400
@@ -27,9 +27,12 @@
#include <linux/cgroup.h>
#include <linux/fs.h>
@@ -51749,9 +51933,9 @@ diff -urNp linux-2.6.38.1/kernel/taskstats.c linux-2.6.38.1-new/kernel/taskstats
if (info->attrs[TASKSTATS_CMD_ATTR_REGISTER_CPUMASK])
return cmd_attr_register_cpumask(info);
else if (info->attrs[TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK])
-diff -urNp linux-2.6.38.1/kernel/time/tick-broadcast.c linux-2.6.38.1-new/kernel/time/tick-broadcast.c
+diff -urNp linux-2.6.38.1/kernel/time/tick-broadcast.c linux-2.6.38.1/kernel/time/tick-broadcast.c
--- linux-2.6.38.1/kernel/time/tick-broadcast.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/time/tick-broadcast.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/time/tick-broadcast.c 2011-03-21 18:31:35.000000000 -0400
@@ -116,7 +116,7 @@ int tick_device_uses_broadcast(struct cl
* then clear the broadcast bit.
*/
@@ -51761,9 +51945,9 @@ diff -urNp linux-2.6.38.1/kernel/time/tick-broadcast.c linux-2.6.38.1-new/kernel
cpumask_clear_cpu(cpu, tick_get_broadcast_mask());
tick_broadcast_clear_oneshot(cpu);
-diff -urNp linux-2.6.38.1/kernel/time/timekeeping.c linux-2.6.38.1-new/kernel/time/timekeeping.c
+diff -urNp linux-2.6.38.1/kernel/time/timekeeping.c linux-2.6.38.1/kernel/time/timekeeping.c
--- linux-2.6.38.1/kernel/time/timekeeping.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/time/timekeeping.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/time/timekeeping.c 2011-03-21 18:31:35.000000000 -0400
@@ -14,6 +14,7 @@
#include <linux/init.h>
#include <linux/mm.h>
@@ -51781,9 +51965,9 @@ diff -urNp linux-2.6.38.1/kernel/time/timekeeping.c linux-2.6.38.1-new/kernel/ti
write_seqlock_irqsave(&xtime_lock, flags);
timekeeping_forward_now();
-diff -urNp linux-2.6.38.1/kernel/time/timer_list.c linux-2.6.38.1-new/kernel/time/timer_list.c
+diff -urNp linux-2.6.38.1/kernel/time/timer_list.c linux-2.6.38.1/kernel/time/timer_list.c
--- linux-2.6.38.1/kernel/time/timer_list.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/time/timer_list.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/time/timer_list.c 2011-03-21 18:31:35.000000000 -0400
@@ -38,12 +38,16 @@ DECLARE_PER_CPU(struct hrtimer_cpu_base,
static void print_name_offset(struct seq_file *m, void *sym)
@@ -51825,9 +52009,9 @@ diff -urNp linux-2.6.38.1/kernel/time/timer_list.c linux-2.6.38.1-new/kernel/tim
if (!pe)
return -ENOMEM;
return 0;
-diff -urNp linux-2.6.38.1/kernel/time/timer_stats.c linux-2.6.38.1-new/kernel/time/timer_stats.c
+diff -urNp linux-2.6.38.1/kernel/time/timer_stats.c linux-2.6.38.1/kernel/time/timer_stats.c
--- linux-2.6.38.1/kernel/time/timer_stats.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/time/timer_stats.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/time/timer_stats.c 2011-03-21 18:31:35.000000000 -0400
@@ -269,12 +269,16 @@ void timer_stats_update_stats(void *time
static void print_name_offset(struct seq_file *m, unsigned long addr)
@@ -51857,9 +52041,9 @@ diff -urNp linux-2.6.38.1/kernel/time/timer_stats.c linux-2.6.38.1-new/kernel/ti
if (!pe)
return -ENOMEM;
return 0;
-diff -urNp linux-2.6.38.1/kernel/time.c linux-2.6.38.1-new/kernel/time.c
+diff -urNp linux-2.6.38.1/kernel/time.c linux-2.6.38.1/kernel/time.c
--- linux-2.6.38.1/kernel/time.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/time.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/time.c 2011-03-21 18:31:35.000000000 -0400
@@ -163,6 +163,11 @@ int do_sys_settimeofday(struct timespec
return error;
@@ -51872,9 +52056,9 @@ diff -urNp linux-2.6.38.1/kernel/time.c linux-2.6.38.1-new/kernel/time.c
/* SMP safe, global irq locking makes it work. */
sys_tz = *tz;
update_vsyscall_tz();
-diff -urNp linux-2.6.38.1/kernel/timer.c linux-2.6.38.1-new/kernel/timer.c
+diff -urNp linux-2.6.38.1/kernel/timer.c linux-2.6.38.1/kernel/timer.c
--- linux-2.6.38.1/kernel/timer.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/timer.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/timer.c 2011-03-21 18:31:35.000000000 -0400
@@ -1276,7 +1276,7 @@ void update_process_times(int user_tick)
/*
* This function runs timers and the timer-tq in bottom half context.
@@ -51884,9 +52068,9 @@ diff -urNp linux-2.6.38.1/kernel/timer.c linux-2.6.38.1-new/kernel/timer.c
{
struct tvec_base *base = __this_cpu_read(tvec_bases);
-diff -urNp linux-2.6.38.1/kernel/trace/ftrace.c linux-2.6.38.1-new/kernel/trace/ftrace.c
+diff -urNp linux-2.6.38.1/kernel/trace/ftrace.c linux-2.6.38.1/kernel/trace/ftrace.c
--- linux-2.6.38.1/kernel/trace/ftrace.c 2011-03-23 17:20:08.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/trace/ftrace.c 2011-03-23 17:21:51.000000000 -0400
++++ linux-2.6.38.1/kernel/trace/ftrace.c 2011-03-23 17:21:51.000000000 -0400
@@ -1107,13 +1107,18 @@ ftrace_code_disable(struct module *mod,
ip = rec->ip;
@@ -51908,9 +52092,9 @@ diff -urNp linux-2.6.38.1/kernel/trace/ftrace.c linux-2.6.38.1-new/kernel/trace/
}
/*
-diff -urNp linux-2.6.38.1/kernel/trace/ring_buffer.c linux-2.6.38.1-new/kernel/trace/ring_buffer.c
+diff -urNp linux-2.6.38.1/kernel/trace/ring_buffer.c linux-2.6.38.1/kernel/trace/ring_buffer.c
--- linux-2.6.38.1/kernel/trace/ring_buffer.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/trace/ring_buffer.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/trace/ring_buffer.c 2011-03-21 18:31:35.000000000 -0400
@@ -669,7 +669,7 @@ static struct list_head *rb_list_head(st
* the reader page). But if the next page is a header page,
* its flags will be non zero.
@@ -51920,9 +52104,9 @@ diff -urNp linux-2.6.38.1/kernel/trace/ring_buffer.c linux-2.6.38.1-new/kernel/t
rb_is_head_page(struct ring_buffer_per_cpu *cpu_buffer,
struct buffer_page *page, struct list_head *list)
{
-diff -urNp linux-2.6.38.1/kernel/trace/trace.c linux-2.6.38.1-new/kernel/trace/trace.c
+diff -urNp linux-2.6.38.1/kernel/trace/trace.c linux-2.6.38.1/kernel/trace/trace.c
--- linux-2.6.38.1/kernel/trace/trace.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/trace/trace.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/trace/trace.c 2011-03-21 18:31:35.000000000 -0400
@@ -3967,10 +3967,9 @@ static const struct file_operations trac
};
#endif
@@ -51947,9 +52131,9 @@ diff -urNp linux-2.6.38.1/kernel/trace/trace.c linux-2.6.38.1-new/kernel/trace/t
static int once;
struct dentry *d_tracer;
-diff -urNp linux-2.6.38.1/kernel/trace/trace_events.c linux-2.6.38.1-new/kernel/trace/trace_events.c
+diff -urNp linux-2.6.38.1/kernel/trace/trace_events.c linux-2.6.38.1/kernel/trace/trace_events.c
--- linux-2.6.38.1/kernel/trace/trace_events.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/trace/trace_events.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/trace/trace_events.c 2011-03-21 18:31:35.000000000 -0400
@@ -1240,10 +1240,10 @@ static LIST_HEAD(ftrace_module_file_list
struct ftrace_module_file_ops {
struct list_head list;
@@ -51965,9 +52149,9 @@ diff -urNp linux-2.6.38.1/kernel/trace/trace_events.c linux-2.6.38.1-new/kernel/
};
static struct ftrace_module_file_ops *
-diff -urNp linux-2.6.38.1/kernel/trace/trace_output.c linux-2.6.38.1-new/kernel/trace/trace_output.c
+diff -urNp linux-2.6.38.1/kernel/trace/trace_output.c linux-2.6.38.1/kernel/trace/trace_output.c
--- linux-2.6.38.1/kernel/trace/trace_output.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/trace/trace_output.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/trace/trace_output.c 2011-03-21 18:31:35.000000000 -0400
@@ -278,7 +278,7 @@ int trace_seq_path(struct trace_seq *s,
p = d_path(path, s->buffer + s->len, PAGE_SIZE - s->len);
@@ -51977,9 +52161,9 @@ diff -urNp linux-2.6.38.1/kernel/trace/trace_output.c linux-2.6.38.1-new/kernel/
if (p) {
s->len = p - s->buffer;
return 1;
-diff -urNp linux-2.6.38.1/kernel/trace/trace_stack.c linux-2.6.38.1-new/kernel/trace/trace_stack.c
+diff -urNp linux-2.6.38.1/kernel/trace/trace_stack.c linux-2.6.38.1/kernel/trace/trace_stack.c
--- linux-2.6.38.1/kernel/trace/trace_stack.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/kernel/trace/trace_stack.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/kernel/trace/trace_stack.c 2011-03-21 18:31:35.000000000 -0400
@@ -50,7 +50,7 @@ static inline void check_stack(void)
return;
@@ -51989,9 +52173,9 @@ diff -urNp linux-2.6.38.1/kernel/trace/trace_stack.c linux-2.6.38.1-new/kernel/t
return;
local_irq_save(flags);
-diff -urNp linux-2.6.38.1/lib/bug.c linux-2.6.38.1-new/lib/bug.c
+diff -urNp linux-2.6.38.1/lib/bug.c linux-2.6.38.1/lib/bug.c
--- linux-2.6.38.1/lib/bug.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/lib/bug.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/lib/bug.c 2011-03-21 18:31:35.000000000 -0400
@@ -133,6 +133,8 @@ enum bug_trap_type report_bug(unsigned l
return BUG_TRAP_TYPE_NONE;
@@ -52001,9 +52185,9 @@ diff -urNp linux-2.6.38.1/lib/bug.c linux-2.6.38.1-new/lib/bug.c
file = NULL;
line = 0;
-diff -urNp linux-2.6.38.1/lib/debugobjects.c linux-2.6.38.1-new/lib/debugobjects.c
+diff -urNp linux-2.6.38.1/lib/debugobjects.c linux-2.6.38.1/lib/debugobjects.c
--- linux-2.6.38.1/lib/debugobjects.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/lib/debugobjects.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/lib/debugobjects.c 2011-03-21 18:31:35.000000000 -0400
@@ -281,7 +281,7 @@ static void debug_object_is_on_stack(voi
if (limit > 4)
return;
@@ -52013,9 +52197,9 @@ diff -urNp linux-2.6.38.1/lib/debugobjects.c linux-2.6.38.1-new/lib/debugobjects
if (is_on_stack == onstack)
return;
-diff -urNp linux-2.6.38.1/lib/dma-debug.c linux-2.6.38.1-new/lib/dma-debug.c
+diff -urNp linux-2.6.38.1/lib/dma-debug.c linux-2.6.38.1/lib/dma-debug.c
--- linux-2.6.38.1/lib/dma-debug.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/lib/dma-debug.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/lib/dma-debug.c 2011-03-21 18:31:35.000000000 -0400
@@ -862,7 +862,7 @@ out:
static void check_for_stack(struct device *dev, void *addr)
@@ -52025,9 +52209,9 @@ diff -urNp linux-2.6.38.1/lib/dma-debug.c linux-2.6.38.1-new/lib/dma-debug.c
err_printk(dev, NULL, "DMA-API: device driver maps memory from"
"stack [addr=%p]\n", addr);
}
-diff -urNp linux-2.6.38.1/lib/inflate.c linux-2.6.38.1-new/lib/inflate.c
+diff -urNp linux-2.6.38.1/lib/inflate.c linux-2.6.38.1/lib/inflate.c
--- linux-2.6.38.1/lib/inflate.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/lib/inflate.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/lib/inflate.c 2011-03-21 18:31:35.000000000 -0400
@@ -269,7 +269,7 @@ static void free(void *where)
malloc_ptr = free_mem_ptr;
}
@@ -52037,9 +52221,9 @@ diff -urNp linux-2.6.38.1/lib/inflate.c linux-2.6.38.1-new/lib/inflate.c
#define free(a) kfree(a)
#endif
-diff -urNp linux-2.6.38.1/lib/Kconfig.debug linux-2.6.38.1-new/lib/Kconfig.debug
+diff -urNp linux-2.6.38.1/lib/Kconfig.debug linux-2.6.38.1/lib/Kconfig.debug
--- linux-2.6.38.1/lib/Kconfig.debug 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/lib/Kconfig.debug 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/lib/Kconfig.debug 2011-03-21 18:31:35.000000000 -0400
@@ -1066,6 +1066,7 @@ config LATENCYTOP
depends on DEBUG_KERNEL
depends on STACKTRACE_SUPPORT
@@ -52048,9 +52232,9 @@ diff -urNp linux-2.6.38.1/lib/Kconfig.debug linux-2.6.38.1-new/lib/Kconfig.debug
select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE
select KALLSYMS
select KALLSYMS_ALL
-diff -urNp linux-2.6.38.1/lib/kref.c linux-2.6.38.1-new/lib/kref.c
+diff -urNp linux-2.6.38.1/lib/kref.c linux-2.6.38.1/lib/kref.c
--- linux-2.6.38.1/lib/kref.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/lib/kref.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/lib/kref.c 2011-03-21 18:31:35.000000000 -0400
@@ -52,7 +52,7 @@ void kref_get(struct kref *kref)
*/
int kref_put(struct kref *kref, void (*release)(struct kref *kref))
@@ -52060,9 +52244,9 @@ diff -urNp linux-2.6.38.1/lib/kref.c linux-2.6.38.1-new/lib/kref.c
WARN_ON(release == (void (*)(struct kref *))kfree);
if (atomic_dec_and_test(&kref->refcount)) {
-diff -urNp linux-2.6.38.1/lib/radix-tree.c linux-2.6.38.1-new/lib/radix-tree.c
+diff -urNp linux-2.6.38.1/lib/radix-tree.c linux-2.6.38.1/lib/radix-tree.c
--- linux-2.6.38.1/lib/radix-tree.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/lib/radix-tree.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/lib/radix-tree.c 2011-03-21 18:31:35.000000000 -0400
@@ -80,7 +80,7 @@ struct radix_tree_preload {
int nr;
struct radix_tree_node *nodes[RADIX_TREE_MAX_PATH];
@@ -52072,9 +52256,9 @@ diff -urNp linux-2.6.38.1/lib/radix-tree.c linux-2.6.38.1-new/lib/radix-tree.c
static inline void *ptr_to_indirect(void *ptr)
{
-diff -urNp linux-2.6.38.1/lib/vsprintf.c linux-2.6.38.1-new/lib/vsprintf.c
+diff -urNp linux-2.6.38.1/lib/vsprintf.c linux-2.6.38.1/lib/vsprintf.c
--- linux-2.6.38.1/lib/vsprintf.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/lib/vsprintf.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/lib/vsprintf.c 2011-03-21 18:31:35.000000000 -0400
@@ -16,6 +16,9 @@
* - scnprintf and vscnprintf
*/
@@ -52168,14 +52352,14 @@ diff -urNp linux-2.6.38.1/lib/vsprintf.c linux-2.6.38.1-new/lib/vsprintf.c
break;
}
-diff -urNp linux-2.6.38.1/localversion-grsec linux-2.6.38.1-new/localversion-grsec
+diff -urNp linux-2.6.38.1/localversion-grsec linux-2.6.38.1/localversion-grsec
--- linux-2.6.38.1/localversion-grsec 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/localversion-grsec 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/localversion-grsec 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1 @@
+-grsec
-diff -urNp linux-2.6.38.1/Makefile linux-2.6.38.1-new/Makefile
+diff -urNp linux-2.6.38.1/Makefile linux-2.6.38.1/Makefile
--- linux-2.6.38.1/Makefile 2011-03-23 17:20:06.000000000 -0400
-+++ linux-2.6.38.1-new/Makefile 2011-03-23 17:21:43.000000000 -0400
++++ linux-2.6.38.1/Makefile 2011-03-23 17:21:43.000000000 -0400
@@ -233,8 +233,8 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH"
HOSTCC = gcc
@@ -52196,9 +52380,9 @@ diff -urNp linux-2.6.38.1/Makefile linux-2.6.38.1-new/Makefile
vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
$(core-y) $(core-m) $(drivers-y) $(drivers-m) \
-diff -urNp linux-2.6.38.1/mm/bootmem.c linux-2.6.38.1-new/mm/bootmem.c
+diff -urNp linux-2.6.38.1/mm/bootmem.c linux-2.6.38.1/mm/bootmem.c
--- linux-2.6.38.1/mm/bootmem.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/bootmem.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/bootmem.c 2011-03-21 18:31:35.000000000 -0400
@@ -201,19 +201,30 @@ static void __init __free_pages_memory(u
unsigned long __init free_all_memory_core_early(int nodeid)
{
@@ -52232,9 +52416,9 @@ diff -urNp linux-2.6.38.1/mm/bootmem.c linux-2.6.38.1-new/mm/bootmem.c
return count;
}
-diff -urNp linux-2.6.38.1/mm/filemap.c linux-2.6.38.1-new/mm/filemap.c
+diff -urNp linux-2.6.38.1/mm/filemap.c linux-2.6.38.1/mm/filemap.c
--- linux-2.6.38.1/mm/filemap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/filemap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/filemap.c 2011-03-21 18:31:35.000000000 -0400
@@ -1664,7 +1664,7 @@ int generic_file_mmap(struct file * file
struct address_space *mapping = file->f_mapping;
@@ -52252,9 +52436,9 @@ diff -urNp linux-2.6.38.1/mm/filemap.c linux-2.6.38.1-new/mm/filemap.c
if (*pos >= limit) {
send_sig(SIGXFSZ, current, 0);
return -EFBIG;
-diff -urNp linux-2.6.38.1/mm/fremap.c linux-2.6.38.1-new/mm/fremap.c
+diff -urNp linux-2.6.38.1/mm/fremap.c linux-2.6.38.1/mm/fremap.c
--- linux-2.6.38.1/mm/fremap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/fremap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/fremap.c 2011-03-21 18:31:35.000000000 -0400
@@ -156,6 +156,11 @@ SYSCALL_DEFINE5(remap_file_pages, unsign
retry:
vma = find_vma(mm, start);
@@ -52276,9 +52460,9 @@ diff -urNp linux-2.6.38.1/mm/fremap.c linux-2.6.38.1-new/mm/fremap.c
munlock_vma_pages_range(vma, start, start + size);
vma->vm_flags = saved_flags;
}
-diff -urNp linux-2.6.38.1/mm/highmem.c linux-2.6.38.1-new/mm/highmem.c
+diff -urNp linux-2.6.38.1/mm/highmem.c linux-2.6.38.1/mm/highmem.c
--- linux-2.6.38.1/mm/highmem.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/highmem.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/highmem.c 2011-03-21 18:31:35.000000000 -0400
@@ -125,9 +125,10 @@ static void flush_all_zero_pkmaps(void)
* So no dangers, even with speculative execution.
*/
@@ -52304,9 +52488,9 @@ diff -urNp linux-2.6.38.1/mm/highmem.c linux-2.6.38.1-new/mm/highmem.c
pkmap_count[last_pkmap_nr] = 1;
set_page_address(page, (void *)vaddr);
-diff -urNp linux-2.6.38.1/mm/hugetlb.c linux-2.6.38.1-new/mm/hugetlb.c
+diff -urNp linux-2.6.38.1/mm/hugetlb.c linux-2.6.38.1/mm/hugetlb.c
--- linux-2.6.38.1/mm/hugetlb.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/hugetlb.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/hugetlb.c 2011-03-21 18:31:35.000000000 -0400
@@ -2333,6 +2333,27 @@ static int unmap_ref_private(struct mm_s
return 1;
}
@@ -52396,9 +52580,9 @@ diff -urNp linux-2.6.38.1/mm/hugetlb.c linux-2.6.38.1-new/mm/hugetlb.c
ptep = huge_pte_alloc(mm, address, huge_page_size(h));
if (!ptep)
return VM_FAULT_OOM;
-diff -urNp linux-2.6.38.1/mm/Kconfig linux-2.6.38.1-new/mm/Kconfig
+diff -urNp linux-2.6.38.1/mm/Kconfig linux-2.6.38.1/mm/Kconfig
--- linux-2.6.38.1/mm/Kconfig 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/Kconfig 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/Kconfig 2011-03-21 18:31:35.000000000 -0400
@@ -240,7 +240,7 @@ config KSM
config DEFAULT_MMAP_MIN_ADDR
int "Low address space to protect from user allocation"
@@ -52408,9 +52592,9 @@ diff -urNp linux-2.6.38.1/mm/Kconfig linux-2.6.38.1-new/mm/Kconfig
help
This is the portion of low virtual memory which should be protected
from userspace allocation. Keeping a user from writing to low pages
-diff -urNp linux-2.6.38.1/mm/kmemleak.c linux-2.6.38.1-new/mm/kmemleak.c
+diff -urNp linux-2.6.38.1/mm/kmemleak.c linux-2.6.38.1/mm/kmemleak.c
--- linux-2.6.38.1/mm/kmemleak.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/kmemleak.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/kmemleak.c 2011-03-21 18:31:35.000000000 -0400
@@ -357,7 +357,7 @@ static void print_unreferenced(struct se
for (i = 0; i < object->trace_len; i++) {
@@ -52420,9 +52604,9 @@ diff -urNp linux-2.6.38.1/mm/kmemleak.c linux-2.6.38.1-new/mm/kmemleak.c
}
}
-diff -urNp linux-2.6.38.1/mm/maccess.c linux-2.6.38.1-new/mm/maccess.c
+diff -urNp linux-2.6.38.1/mm/maccess.c linux-2.6.38.1/mm/maccess.c
--- linux-2.6.38.1/mm/maccess.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/maccess.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/maccess.c 2011-03-21 18:31:35.000000000 -0400
@@ -15,10 +15,10 @@
* happens, handle that and return -EFAULT.
*/
@@ -52449,9 +52633,9 @@ diff -urNp linux-2.6.38.1/mm/maccess.c linux-2.6.38.1-new/mm/maccess.c
{
long ret;
mm_segment_t old_fs = get_fs();
-diff -urNp linux-2.6.38.1/mm/madvise.c linux-2.6.38.1-new/mm/madvise.c
+diff -urNp linux-2.6.38.1/mm/madvise.c linux-2.6.38.1/mm/madvise.c
--- linux-2.6.38.1/mm/madvise.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/madvise.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/madvise.c 2011-03-21 18:31:35.000000000 -0400
@@ -45,6 +45,10 @@ static long madvise_behavior(struct vm_a
pgoff_t pgoff;
unsigned long new_flags = vma->vm_flags;
@@ -52528,9 +52712,9 @@ diff -urNp linux-2.6.38.1/mm/madvise.c linux-2.6.38.1-new/mm/madvise.c
error = 0;
if (end == start)
goto out;
-diff -urNp linux-2.6.38.1/mm/memory.c linux-2.6.38.1-new/mm/memory.c
+diff -urNp linux-2.6.38.1/mm/memory.c linux-2.6.38.1/mm/memory.c
--- linux-2.6.38.1/mm/memory.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/memory.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/memory.c 2011-03-21 18:31:35.000000000 -0400
@@ -259,8 +259,12 @@ static inline void free_pmd_range(struct
return;
@@ -53060,9 +53244,9 @@ diff -urNp linux-2.6.38.1/mm/memory.c linux-2.6.38.1-new/mm/memory.c
/*
* Make sure the vDSO gets into every core dump.
* Dumping its contents makes post-mortem fully interpretable later
-diff -urNp linux-2.6.38.1/mm/memory-failure.c linux-2.6.38.1-new/mm/memory-failure.c
+diff -urNp linux-2.6.38.1/mm/memory-failure.c linux-2.6.38.1/mm/memory-failure.c
--- linux-2.6.38.1/mm/memory-failure.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/memory-failure.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/memory-failure.c 2011-03-21 18:31:35.000000000 -0400
@@ -58,7 +58,7 @@ int sysctl_memory_failure_early_kill __r
int sysctl_memory_failure_recovery __read_mostly = 1;
@@ -53135,9 +53319,9 @@ diff -urNp linux-2.6.38.1/mm/memory-failure.c linux-2.6.38.1-new/mm/memory-failu
SetPageHWPoison(page);
/* keep elevated page count for bad page */
return ret;
-diff -urNp linux-2.6.38.1/mm/mempolicy.c linux-2.6.38.1-new/mm/mempolicy.c
+diff -urNp linux-2.6.38.1/mm/mempolicy.c linux-2.6.38.1/mm/mempolicy.c
--- linux-2.6.38.1/mm/mempolicy.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/mempolicy.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/mempolicy.c 2011-03-21 18:31:35.000000000 -0400
@@ -643,6 +643,10 @@ static int mbind_range(struct mm_struct
unsigned long vmstart;
unsigned long vmend;
@@ -53218,9 +53402,9 @@ diff -urNp linux-2.6.38.1/mm/mempolicy.c linux-2.6.38.1-new/mm/mempolicy.c
} else if (vma->vm_start <= mm->brk && vma->vm_end >= mm->start_brk) {
seq_printf(m, " heap");
} else if (vma->vm_start <= mm->start_stack &&
-diff -urNp linux-2.6.38.1/mm/migrate.c linux-2.6.38.1-new/mm/migrate.c
+diff -urNp linux-2.6.38.1/mm/migrate.c linux-2.6.38.1/mm/migrate.c
--- linux-2.6.38.1/mm/migrate.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/migrate.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/migrate.c 2011-03-21 18:31:35.000000000 -0400
@@ -1299,6 +1299,14 @@ SYSCALL_DEFINE6(move_pages, pid_t, pid,
if (!mm)
return -EINVAL;
@@ -53246,9 +53430,9 @@ diff -urNp linux-2.6.38.1/mm/migrate.c linux-2.6.38.1-new/mm/migrate.c
rcu_read_unlock();
err = -EPERM;
goto out;
-diff -urNp linux-2.6.38.1/mm/mlock.c linux-2.6.38.1-new/mm/mlock.c
+diff -urNp linux-2.6.38.1/mm/mlock.c linux-2.6.38.1/mm/mlock.c
--- linux-2.6.38.1/mm/mlock.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/mlock.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/mlock.c 2011-03-21 18:31:35.000000000 -0400
@@ -13,6 +13,7 @@
#include <linux/pagemap.h>
#include <linux/mempolicy.h>
@@ -53350,9 +53534,9 @@ diff -urNp linux-2.6.38.1/mm/mlock.c linux-2.6.38.1-new/mm/mlock.c
if (!(flags & MCL_CURRENT) || (current->mm->total_vm <= lock_limit) ||
capable(CAP_IPC_LOCK))
ret = do_mlockall(flags);
-diff -urNp linux-2.6.38.1/mm/mmap.c linux-2.6.38.1-new/mm/mmap.c
+diff -urNp linux-2.6.38.1/mm/mmap.c linux-2.6.38.1/mm/mmap.c
--- linux-2.6.38.1/mm/mmap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/mmap.c 2011-03-21 23:47:41.000000000 -0400
++++ linux-2.6.38.1/mm/mmap.c 2011-03-21 23:47:41.000000000 -0400
@@ -46,6 +46,16 @@
#define arch_rebalance_pgtables(addr, len) (addr)
#endif
@@ -54613,9 +54797,9 @@ diff -urNp linux-2.6.38.1/mm/mmap.c linux-2.6.38.1-new/mm/mmap.c
vma->vm_flags = vm_flags | mm->def_flags | VM_DONTEXPAND;
vma->vm_page_prot = vm_get_page_prot(vma->vm_flags);
-diff -urNp linux-2.6.38.1/mm/mprotect.c linux-2.6.38.1-new/mm/mprotect.c
+diff -urNp linux-2.6.38.1/mm/mprotect.c linux-2.6.38.1/mm/mprotect.c
--- linux-2.6.38.1/mm/mprotect.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/mprotect.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/mprotect.c 2011-03-21 18:31:35.000000000 -0400
@@ -23,10 +23,16 @@
#include <linux/mmu_notifier.h>
#include <linux/migrate.h>
@@ -54842,9 +55026,9 @@ diff -urNp linux-2.6.38.1/mm/mprotect.c linux-2.6.38.1-new/mm/mprotect.c
nstart = tmp;
if (nstart < prev->vm_end)
-diff -urNp linux-2.6.38.1/mm/mremap.c linux-2.6.38.1-new/mm/mremap.c
+diff -urNp linux-2.6.38.1/mm/mremap.c linux-2.6.38.1/mm/mremap.c
--- linux-2.6.38.1/mm/mremap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/mremap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/mremap.c 2011-03-21 18:31:35.000000000 -0400
@@ -114,6 +114,12 @@ static void move_ptes(struct vm_area_str
continue;
pte = ptep_clear_flush(vma, old_addr, old_pte);
@@ -54949,9 +55133,9 @@ diff -urNp linux-2.6.38.1/mm/mremap.c linux-2.6.38.1-new/mm/mremap.c
}
out:
if (ret & ~PAGE_MASK)
-diff -urNp linux-2.6.38.1/mm/nommu.c linux-2.6.38.1-new/mm/nommu.c
+diff -urNp linux-2.6.38.1/mm/nommu.c linux-2.6.38.1/mm/nommu.c
--- linux-2.6.38.1/mm/nommu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/nommu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/nommu.c 2011-03-21 18:31:35.000000000 -0400
@@ -63,7 +63,6 @@ int sysctl_overcommit_memory = OVERCOMMI
int sysctl_overcommit_ratio = 50; /* default is 50% */
int sysctl_max_map_count = DEFAULT_MAX_MAP_COUNT;
@@ -54984,9 +55168,9 @@ diff -urNp linux-2.6.38.1/mm/nommu.c linux-2.6.38.1-new/mm/nommu.c
*region = *vma->vm_region;
new->vm_region = region;
-diff -urNp linux-2.6.38.1/mm/page_alloc.c linux-2.6.38.1-new/mm/page_alloc.c
+diff -urNp linux-2.6.38.1/mm/page_alloc.c linux-2.6.38.1/mm/page_alloc.c
--- linux-2.6.38.1/mm/page_alloc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/page_alloc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/page_alloc.c 2011-03-21 18:31:35.000000000 -0400
@@ -644,6 +644,10 @@ static bool free_pages_prepare(struct pa
int i;
int bad = 0;
@@ -55022,9 +55206,9 @@ diff -urNp linux-2.6.38.1/mm/page_alloc.c linux-2.6.38.1-new/mm/page_alloc.c
if (order && (gfp_flags & __GFP_COMP))
prep_compound_page(page, order);
-diff -urNp linux-2.6.38.1/mm/percpu.c linux-2.6.38.1-new/mm/percpu.c
+diff -urNp linux-2.6.38.1/mm/percpu.c linux-2.6.38.1/mm/percpu.c
--- linux-2.6.38.1/mm/percpu.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/percpu.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/percpu.c 2011-03-21 18:31:35.000000000 -0400
@@ -121,7 +121,7 @@ static unsigned int pcpu_first_unit_cpu
static unsigned int pcpu_last_unit_cpu __read_mostly;
@@ -55034,9 +55218,9 @@ diff -urNp linux-2.6.38.1/mm/percpu.c linux-2.6.38.1-new/mm/percpu.c
EXPORT_SYMBOL_GPL(pcpu_base_addr);
static const int *pcpu_unit_map __read_mostly; /* cpu -> unit */
-diff -urNp linux-2.6.38.1/mm/rmap.c linux-2.6.38.1-new/mm/rmap.c
+diff -urNp linux-2.6.38.1/mm/rmap.c linux-2.6.38.1/mm/rmap.c
--- linux-2.6.38.1/mm/rmap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/rmap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/rmap.c 2011-03-21 18:31:35.000000000 -0400
@@ -117,6 +117,10 @@ int anon_vma_prepare(struct vm_area_stru
struct anon_vma *anon_vma = vma->anon_vma;
struct anon_vma_chain *avc;
@@ -55126,9 +55310,9 @@ diff -urNp linux-2.6.38.1/mm/rmap.c linux-2.6.38.1-new/mm/rmap.c
{
struct anon_vma_chain *avc;
struct anon_vma *anon_vma;
-diff -urNp linux-2.6.38.1/mm/shmem.c linux-2.6.38.1-new/mm/shmem.c
+diff -urNp linux-2.6.38.1/mm/shmem.c linux-2.6.38.1/mm/shmem.c
--- linux-2.6.38.1/mm/shmem.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/shmem.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/shmem.c 2011-03-21 18:31:35.000000000 -0400
@@ -31,7 +31,7 @@
#include <linux/percpu_counter.h>
#include <linux/swap.h>
@@ -55147,9 +55331,9 @@ diff -urNp linux-2.6.38.1/mm/shmem.c linux-2.6.38.1-new/mm/shmem.c
if (entry->val) {
/*
* The more uptodate page coming down from a stacked
-diff -urNp linux-2.6.38.1/mm/slab.c linux-2.6.38.1-new/mm/slab.c
+diff -urNp linux-2.6.38.1/mm/slab.c linux-2.6.38.1/mm/slab.c
--- linux-2.6.38.1/mm/slab.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/slab.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/slab.c 2011-03-21 18:31:35.000000000 -0400
@@ -284,7 +284,7 @@ struct kmem_list3 {
* Need this for bootstrapping a per node allocator.
*/
@@ -55255,9 +55439,9 @@ diff -urNp linux-2.6.38.1/mm/slab.c linux-2.6.38.1-new/mm/slab.c
/**
* ksize - get the actual amount of memory allocated for a given object
* @objp: Pointer to the object
-diff -urNp linux-2.6.38.1/mm/slob.c linux-2.6.38.1-new/mm/slob.c
+diff -urNp linux-2.6.38.1/mm/slob.c linux-2.6.38.1/mm/slob.c
--- linux-2.6.38.1/mm/slob.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/slob.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/slob.c 2011-03-21 18:31:35.000000000 -0400
@@ -29,7 +29,7 @@
* If kmalloc is asked for objects of PAGE_SIZE or larger, it calls
* alloc_pages() directly, allocating compound pages so the page order
@@ -55577,9 +55761,9 @@ diff -urNp linux-2.6.38.1/mm/slob.c linux-2.6.38.1-new/mm/slob.c
}
trace_kmem_cache_free(_RET_IP_, b);
-diff -urNp linux-2.6.38.1/mm/slub.c linux-2.6.38.1-new/mm/slub.c
+diff -urNp linux-2.6.38.1/mm/slub.c linux-2.6.38.1/mm/slub.c
--- linux-2.6.38.1/mm/slub.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/slub.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/slub.c 2011-03-21 18:31:35.000000000 -0400
@@ -390,7 +390,7 @@ static void print_track(const char *s, s
if (!t->addr)
return;
@@ -55733,9 +55917,9 @@ diff -urNp linux-2.6.38.1/mm/slub.c linux-2.6.38.1-new/mm/slub.c
return 0;
}
module_init(slab_proc_init);
-diff -urNp linux-2.6.38.1/mm/util.c linux-2.6.38.1-new/mm/util.c
+diff -urNp linux-2.6.38.1/mm/util.c linux-2.6.38.1/mm/util.c
--- linux-2.6.38.1/mm/util.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/util.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/util.c 2011-03-21 18:31:35.000000000 -0400
@@ -219,6 +219,12 @@ EXPORT_SYMBOL(strndup_user);
void arch_pick_mmap_layout(struct mm_struct *mm)
{
@@ -55749,9 +55933,9 @@ diff -urNp linux-2.6.38.1/mm/util.c linux-2.6.38.1-new/mm/util.c
mm->get_unmapped_area = arch_get_unmapped_area;
mm->unmap_area = arch_unmap_area;
}
-diff -urNp linux-2.6.38.1/mm/vmalloc.c linux-2.6.38.1-new/mm/vmalloc.c
+diff -urNp linux-2.6.38.1/mm/vmalloc.c linux-2.6.38.1/mm/vmalloc.c
--- linux-2.6.38.1/mm/vmalloc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/vmalloc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/vmalloc.c 2011-03-21 18:31:35.000000000 -0400
@@ -39,8 +39,19 @@ static void vunmap_pte_range(pmd_t *pmd,
pte = pte_offset_kernel(pmd, addr);
@@ -55984,9 +56168,9 @@ diff -urNp linux-2.6.38.1/mm/vmalloc.c linux-2.6.38.1-new/mm/vmalloc.c
if ((PAGE_SIZE-1) & (unsigned long)addr)
return -EINVAL;
-diff -urNp linux-2.6.38.1/mm/vmstat.c linux-2.6.38.1-new/mm/vmstat.c
+diff -urNp linux-2.6.38.1/mm/vmstat.c linux-2.6.38.1/mm/vmstat.c
--- linux-2.6.38.1/mm/vmstat.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/mm/vmstat.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/mm/vmstat.c 2011-03-21 18:31:35.000000000 -0400
@@ -78,7 +78,7 @@ void vm_events_fold_cpu(int cpu)
*
* vm_stat contains the global counters
@@ -56039,9 +56223,9 @@ diff -urNp linux-2.6.38.1/mm/vmstat.c linux-2.6.38.1-new/mm/vmstat.c
#endif
return 0;
}
-diff -urNp linux-2.6.38.1/net/8021q/vlan.c linux-2.6.38.1-new/net/8021q/vlan.c
+diff -urNp linux-2.6.38.1/net/8021q/vlan.c linux-2.6.38.1/net/8021q/vlan.c
--- linux-2.6.38.1/net/8021q/vlan.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/8021q/vlan.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/8021q/vlan.c 2011-03-21 18:31:35.000000000 -0400
@@ -589,8 +589,7 @@ static int vlan_ioctl_handler(struct net
err = -EPERM;
if (!capable(CAP_NET_ADMIN))
@@ -56052,9 +56236,9 @@ diff -urNp linux-2.6.38.1/net/8021q/vlan.c linux-2.6.38.1-new/net/8021q/vlan.c
struct vlan_net *vn;
vn = net_generic(net, vlan_net_id);
-diff -urNp linux-2.6.38.1/net/atm/atm_misc.c linux-2.6.38.1-new/net/atm/atm_misc.c
+diff -urNp linux-2.6.38.1/net/atm/atm_misc.c linux-2.6.38.1/net/atm/atm_misc.c
--- linux-2.6.38.1/net/atm/atm_misc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/atm/atm_misc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/atm/atm_misc.c 2011-03-21 18:31:35.000000000 -0400
@@ -17,7 +17,7 @@ int atm_charge(struct atm_vcc *vcc, int
if (atomic_read(&sk_atm(vcc)->sk_rmem_alloc) <= sk_atm(vcc)->sk_rcvbuf)
return 1;
@@ -56091,9 +56275,9 @@ diff -urNp linux-2.6.38.1/net/atm/atm_misc.c linux-2.6.38.1-new/net/atm/atm_misc
__SONET_ITEMS
#undef __HANDLE_ITEM
}
-diff -urNp linux-2.6.38.1/net/atm/proc.c linux-2.6.38.1-new/net/atm/proc.c
+diff -urNp linux-2.6.38.1/net/atm/proc.c linux-2.6.38.1/net/atm/proc.c
--- linux-2.6.38.1/net/atm/proc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/atm/proc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/atm/proc.c 2011-03-21 18:31:35.000000000 -0400
@@ -45,9 +45,9 @@ static void add_stats(struct seq_file *s
const struct k_atm_aal_stats *stats)
{
@@ -56132,9 +56316,9 @@ diff -urNp linux-2.6.38.1/net/atm/proc.c linux-2.6.38.1-new/net/atm/proc.c
else
seq_printf(seq, "%3d %3d %5d ",
vcc->dev->number, vcc->vpi, vcc->vci);
-diff -urNp linux-2.6.38.1/net/atm/resources.c linux-2.6.38.1-new/net/atm/resources.c
+diff -urNp linux-2.6.38.1/net/atm/resources.c linux-2.6.38.1/net/atm/resources.c
--- linux-2.6.38.1/net/atm/resources.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/atm/resources.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/atm/resources.c 2011-03-21 18:31:35.000000000 -0400
@@ -160,7 +160,7 @@ EXPORT_SYMBOL(atm_dev_deregister);
static void copy_aal_stats(struct k_atm_aal_stats *from,
struct atm_aal_stats *to)
@@ -56153,9 +56337,9 @@ diff -urNp linux-2.6.38.1/net/atm/resources.c linux-2.6.38.1-new/net/atm/resourc
__AAL_STAT_ITEMS
#undef __HANDLE_ITEM
}
-diff -urNp linux-2.6.38.1/net/bluetooth/bnep/sock.c linux-2.6.38.1-new/net/bluetooth/bnep/sock.c
+diff -urNp linux-2.6.38.1/net/bluetooth/bnep/sock.c linux-2.6.38.1/net/bluetooth/bnep/sock.c
--- linux-2.6.38.1/net/bluetooth/bnep/sock.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/bluetooth/bnep/sock.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/bluetooth/bnep/sock.c 2011-03-21 18:31:35.000000000 -0400
@@ -88,6 +88,7 @@ static int bnep_sock_ioctl(struct socket
sockfd_put(nsock);
return -EBADFD;
@@ -56164,9 +56348,9 @@ diff -urNp linux-2.6.38.1/net/bluetooth/bnep/sock.c linux-2.6.38.1-new/net/bluet
err = bnep_add_connection(&ca, nsock);
if (!err) {
-diff -urNp linux-2.6.38.1/net/bluetooth/sco.c linux-2.6.38.1-new/net/bluetooth/sco.c
+diff -urNp linux-2.6.38.1/net/bluetooth/sco.c linux-2.6.38.1/net/bluetooth/sco.c
--- linux-2.6.38.1/net/bluetooth/sco.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/bluetooth/sco.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/bluetooth/sco.c 2011-03-21 18:31:35.000000000 -0400
@@ -703,6 +703,7 @@ static int sco_sock_getsockopt_old(struc
break;
}
@@ -56175,9 +56359,9 @@ diff -urNp linux-2.6.38.1/net/bluetooth/sco.c linux-2.6.38.1-new/net/bluetooth/s
cinfo.hci_handle = sco_pi(sk)->conn->hcon->handle;
memcpy(cinfo.dev_class, sco_pi(sk)->conn->hcon->dev_class, 3);
-diff -urNp linux-2.6.38.1/net/bridge/br_multicast.c linux-2.6.38.1-new/net/bridge/br_multicast.c
+diff -urNp linux-2.6.38.1/net/bridge/br_multicast.c linux-2.6.38.1/net/bridge/br_multicast.c
--- linux-2.6.38.1/net/bridge/br_multicast.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/bridge/br_multicast.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/bridge/br_multicast.c 2011-03-21 18:31:35.000000000 -0400
@@ -1482,7 +1482,7 @@ static int br_multicast_ipv6_rcv(struct
nexthdr = ip6h->nexthdr;
offset = ipv6_skip_exthdr(skb, sizeof(*ip6h), &nexthdr);
@@ -56187,9 +56371,9 @@ diff -urNp linux-2.6.38.1/net/bridge/br_multicast.c linux-2.6.38.1-new/net/bridg
return 0;
/* Okay, we found ICMPv6 header */
-diff -urNp linux-2.6.38.1/net/bridge/netfilter/ebtables.c linux-2.6.38.1-new/net/bridge/netfilter/ebtables.c
+diff -urNp linux-2.6.38.1/net/bridge/netfilter/ebtables.c linux-2.6.38.1/net/bridge/netfilter/ebtables.c
--- linux-2.6.38.1/net/bridge/netfilter/ebtables.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/bridge/netfilter/ebtables.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/bridge/netfilter/ebtables.c 2011-03-21 18:31:35.000000000 -0400
@@ -1107,6 +1107,8 @@ static int do_replace(struct net *net, c
if (tmp.num_counters >= INT_MAX / sizeof(struct ebt_counter))
return -ENOMEM;
@@ -56208,9 +56392,9 @@ diff -urNp linux-2.6.38.1/net/bridge/netfilter/ebtables.c linux-2.6.38.1-new/net
BUGPRINT("c2u Didn't work\n");
ret = -EFAULT;
break;
-diff -urNp linux-2.6.38.1/net/can/bcm.c linux-2.6.38.1-new/net/can/bcm.c
+diff -urNp linux-2.6.38.1/net/can/bcm.c linux-2.6.38.1/net/can/bcm.c
--- linux-2.6.38.1/net/can/bcm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/can/bcm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/can/bcm.c 2011-03-21 18:31:35.000000000 -0400
@@ -165,9 +165,15 @@ static int bcm_proc_show(struct seq_file
struct bcm_sock *bo = bcm_sk(sk);
struct bcm_op *op;
@@ -56227,9 +56411,9 @@ diff -urNp linux-2.6.38.1/net/can/bcm.c linux-2.6.38.1-new/net/can/bcm.c
seq_printf(m, " / dropped %lu", bo->dropped_usr_msgs);
seq_printf(m, " / bound %s", bcm_proc_getifname(ifname, bo->ifindex));
seq_printf(m, " <<<\n");
-diff -urNp linux-2.6.38.1/net/core/dev.c linux-2.6.38.1-new/net/core/dev.c
+diff -urNp linux-2.6.38.1/net/core/dev.c linux-2.6.38.1/net/core/dev.c
--- linux-2.6.38.1/net/core/dev.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/core/dev.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/core/dev.c 2011-03-21 18:31:35.000000000 -0400
@@ -1124,7 +1124,7 @@ void dev_load(struct net *net, const cha
if (no_module && capable(CAP_NET_ADMIN))
no_module = request_module("netdev-%s", name);
@@ -56257,9 +56441,9 @@ diff -urNp linux-2.6.38.1/net/core/dev.c linux-2.6.38.1-new/net/core/dev.c
{
struct softnet_data *sd = &__get_cpu_var(softnet_data);
unsigned long time_limit = jiffies + 2;
-diff -urNp linux-2.6.38.1/net/core/sock.c linux-2.6.38.1-new/net/core/sock.c
+diff -urNp linux-2.6.38.1/net/core/sock.c linux-2.6.38.1/net/core/sock.c
--- linux-2.6.38.1/net/core/sock.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/core/sock.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/core/sock.c 2011-03-21 18:31:35.000000000 -0400
@@ -934,7 +934,7 @@ int sock_getsockopt(struct socket *sock,
return -ENOTCONN;
if (lv < len)
@@ -56278,9 +56462,9 @@ diff -urNp linux-2.6.38.1/net/core/sock.c linux-2.6.38.1-new/net/core/sock.c
return -EFAULT;
lenout:
if (put_user(len, optlen))
-diff -urNp linux-2.6.38.1/net/dccp/ccids/ccid3.c linux-2.6.38.1-new/net/dccp/ccids/ccid3.c
+diff -urNp linux-2.6.38.1/net/dccp/ccids/ccid3.c linux-2.6.38.1/net/dccp/ccids/ccid3.c
--- linux-2.6.38.1/net/dccp/ccids/ccid3.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/dccp/ccids/ccid3.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/dccp/ccids/ccid3.c 2011-03-21 18:31:35.000000000 -0400
@@ -41,7 +41,7 @@
static int ccid3_debug;
#define ccid3_pr_debug(format, a...) DCCP_PR_DEBUG(ccid3_debug, format, ##a)
@@ -56290,9 +56474,9 @@ diff -urNp linux-2.6.38.1/net/dccp/ccids/ccid3.c linux-2.6.38.1-new/net/dccp/cci
#endif
/*
-diff -urNp linux-2.6.38.1/net/dccp/dccp.h linux-2.6.38.1-new/net/dccp/dccp.h
+diff -urNp linux-2.6.38.1/net/dccp/dccp.h linux-2.6.38.1/net/dccp/dccp.h
--- linux-2.6.38.1/net/dccp/dccp.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/dccp/dccp.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/dccp/dccp.h 2011-03-21 18:31:35.000000000 -0400
@@ -44,9 +44,9 @@ extern int dccp_debug;
#define dccp_pr_debug_cat(format, a...) DCCP_PRINTK(dccp_debug, format, ##a)
#define dccp_debug(fmt, a...) dccp_pr_debug_cat(KERN_DEBUG fmt, ##a)
@@ -56306,9 +56490,9 @@ diff -urNp linux-2.6.38.1/net/dccp/dccp.h linux-2.6.38.1-new/net/dccp/dccp.h
#endif
extern struct inet_hashinfo dccp_hashinfo;
-diff -urNp linux-2.6.38.1/net/decnet/sysctl_net_decnet.c linux-2.6.38.1-new/net/decnet/sysctl_net_decnet.c
+diff -urNp linux-2.6.38.1/net/decnet/sysctl_net_decnet.c linux-2.6.38.1/net/decnet/sysctl_net_decnet.c
--- linux-2.6.38.1/net/decnet/sysctl_net_decnet.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/decnet/sysctl_net_decnet.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/decnet/sysctl_net_decnet.c 2011-03-21 18:31:35.000000000 -0400
@@ -173,7 +173,7 @@ static int dn_node_address_handler(ctl_t
if (len > *lenp) len = *lenp;
@@ -56327,9 +56511,9 @@ diff -urNp linux-2.6.38.1/net/decnet/sysctl_net_decnet.c linux-2.6.38.1-new/net/
return -EFAULT;
*lenp = len;
-diff -urNp linux-2.6.38.1/net/econet/Kconfig linux-2.6.38.1-new/net/econet/Kconfig
+diff -urNp linux-2.6.38.1/net/econet/Kconfig linux-2.6.38.1/net/econet/Kconfig
--- linux-2.6.38.1/net/econet/Kconfig 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/econet/Kconfig 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/econet/Kconfig 2011-03-21 18:31:35.000000000 -0400
@@ -4,7 +4,7 @@
config ECONET
@@ -56339,9 +56523,9 @@ diff -urNp linux-2.6.38.1/net/econet/Kconfig linux-2.6.38.1-new/net/econet/Kconf
---help---
Econet is a fairly old and slow networking protocol mainly used by
Acorn computers to access file and print servers. It uses native
-diff -urNp linux-2.6.38.1/net/ipv4/inet_diag.c linux-2.6.38.1-new/net/ipv4/inet_diag.c
+diff -urNp linux-2.6.38.1/net/ipv4/inet_diag.c linux-2.6.38.1/net/ipv4/inet_diag.c
--- linux-2.6.38.1/net/ipv4/inet_diag.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv4/inet_diag.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv4/inet_diag.c 2011-03-21 18:31:35.000000000 -0400
@@ -114,8 +114,14 @@ static int inet_csk_diag_fill(struct soc
r->idiag_retrans = 0;
@@ -56403,9 +56587,9 @@ diff -urNp linux-2.6.38.1/net/ipv4/inet_diag.c linux-2.6.38.1-new/net/ipv4/inet_
tmo = req->expires - jiffies;
if (tmo < 0)
-diff -urNp linux-2.6.38.1/net/ipv4/inet_hashtables.c linux-2.6.38.1-new/net/ipv4/inet_hashtables.c
+diff -urNp linux-2.6.38.1/net/ipv4/inet_hashtables.c linux-2.6.38.1/net/ipv4/inet_hashtables.c
--- linux-2.6.38.1/net/ipv4/inet_hashtables.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv4/inet_hashtables.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv4/inet_hashtables.c 2011-03-21 18:31:35.000000000 -0400
@@ -18,11 +18,14 @@
#include <linux/sched.h>
#include <linux/slab.h>
@@ -56430,9 +56614,9 @@ diff -urNp linux-2.6.38.1/net/ipv4/inet_hashtables.c linux-2.6.38.1-new/net/ipv4
if (tw) {
inet_twsk_deschedule(tw, death_row);
while (twrefcnt) {
-diff -urNp linux-2.6.38.1/net/ipv4/inetpeer.c linux-2.6.38.1-new/net/ipv4/inetpeer.c
+diff -urNp linux-2.6.38.1/net/ipv4/inetpeer.c linux-2.6.38.1/net/ipv4/inetpeer.c
--- linux-2.6.38.1/net/ipv4/inetpeer.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv4/inetpeer.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv4/inetpeer.c 2011-03-21 18:31:35.000000000 -0400
@@ -509,8 +509,8 @@ struct inet_peer *inet_getpeer(struct in
if (p) {
p->daddr = *daddr;
@@ -56444,9 +56628,9 @@ diff -urNp linux-2.6.38.1/net/ipv4/inetpeer.c linux-2.6.38.1-new/net/ipv4/inetpe
p->tcp_ts_stamp = 0;
INIT_LIST_HEAD(&p->unused);
-diff -urNp linux-2.6.38.1/net/ipv4/ip_fragment.c linux-2.6.38.1-new/net/ipv4/ip_fragment.c
+diff -urNp linux-2.6.38.1/net/ipv4/ip_fragment.c linux-2.6.38.1/net/ipv4/ip_fragment.c
--- linux-2.6.38.1/net/ipv4/ip_fragment.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv4/ip_fragment.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv4/ip_fragment.c 2011-03-21 18:31:35.000000000 -0400
@@ -298,7 +298,7 @@ static inline int ip_frag_too_far(struct
return 0;
@@ -56456,9 +56640,9 @@ diff -urNp linux-2.6.38.1/net/ipv4/ip_fragment.c linux-2.6.38.1-new/net/ipv4/ip_
qp->rid = end;
rc = qp->q.fragments && (end - start) > max;
-diff -urNp linux-2.6.38.1/net/ipv4/netfilter/nf_nat_snmp_basic.c linux-2.6.38.1-new/net/ipv4/netfilter/nf_nat_snmp_basic.c
+diff -urNp linux-2.6.38.1/net/ipv4/netfilter/nf_nat_snmp_basic.c linux-2.6.38.1/net/ipv4/netfilter/nf_nat_snmp_basic.c
--- linux-2.6.38.1/net/ipv4/netfilter/nf_nat_snmp_basic.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv4/netfilter/nf_nat_snmp_basic.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv4/netfilter/nf_nat_snmp_basic.c 2011-03-21 18:31:35.000000000 -0400
@@ -398,7 +398,7 @@ static unsigned char asn1_octets_decode(
*len = 0;
@@ -56468,9 +56652,9 @@ diff -urNp linux-2.6.38.1/net/ipv4/netfilter/nf_nat_snmp_basic.c linux-2.6.38.1-
if (*octets == NULL) {
if (net_ratelimit())
pr_notice("OOM in bsalg (%d)\n", __LINE__);
-diff -urNp linux-2.6.38.1/net/ipv4/route.c linux-2.6.38.1-new/net/ipv4/route.c
+diff -urNp linux-2.6.38.1/net/ipv4/route.c linux-2.6.38.1/net/ipv4/route.c
--- linux-2.6.38.1/net/ipv4/route.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv4/route.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv4/route.c 2011-03-21 18:31:35.000000000 -0400
@@ -2857,7 +2857,7 @@ static int rt_fill_info(struct net *net,
expires = rt->dst.expires ? rt->dst.expires - jiffies : 0;
if (rt->peer) {
@@ -56480,9 +56664,9 @@ diff -urNp linux-2.6.38.1/net/ipv4/route.c linux-2.6.38.1-new/net/ipv4/route.c
if (rt->peer->tcp_ts_stamp) {
ts = rt->peer->tcp_ts;
tsage = get_seconds() - rt->peer->tcp_ts_stamp;
-diff -urNp linux-2.6.38.1/net/ipv4/tcp_ipv4.c linux-2.6.38.1-new/net/ipv4/tcp_ipv4.c
+diff -urNp linux-2.6.38.1/net/ipv4/tcp_ipv4.c linux-2.6.38.1/net/ipv4/tcp_ipv4.c
--- linux-2.6.38.1/net/ipv4/tcp_ipv4.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv4/tcp_ipv4.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv4/tcp_ipv4.c 2011-03-21 18:31:35.000000000 -0400
@@ -86,6 +86,9 @@ int sysctl_tcp_tw_reuse __read_mostly;
int sysctl_tcp_low_latency __read_mostly;
EXPORT_SYMBOL(sysctl_tcp_low_latency);
@@ -56578,9 +56762,9 @@ diff -urNp linux-2.6.38.1/net/ipv4/tcp_ipv4.c linux-2.6.38.1-new/net/ipv4/tcp_ip
}
#define TMPSZ 150
-diff -urNp linux-2.6.38.1/net/ipv4/tcp_minisocks.c linux-2.6.38.1-new/net/ipv4/tcp_minisocks.c
+diff -urNp linux-2.6.38.1/net/ipv4/tcp_minisocks.c linux-2.6.38.1/net/ipv4/tcp_minisocks.c
--- linux-2.6.38.1/net/ipv4/tcp_minisocks.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv4/tcp_minisocks.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv4/tcp_minisocks.c 2011-03-21 18:31:35.000000000 -0400
@@ -27,6 +27,10 @@
#include <net/inet_common.h>
#include <net/xfrm.h>
@@ -56603,9 +56787,9 @@ diff -urNp linux-2.6.38.1/net/ipv4/tcp_minisocks.c linux-2.6.38.1-new/net/ipv4/t
if (!(flg & TCP_FLAG_RST))
req->rsk_ops->send_reset(sk, skb);
-diff -urNp linux-2.6.38.1/net/ipv4/tcp_probe.c linux-2.6.38.1-new/net/ipv4/tcp_probe.c
+diff -urNp linux-2.6.38.1/net/ipv4/tcp_probe.c linux-2.6.38.1/net/ipv4/tcp_probe.c
--- linux-2.6.38.1/net/ipv4/tcp_probe.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv4/tcp_probe.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv4/tcp_probe.c 2011-03-21 18:31:35.000000000 -0400
@@ -202,7 +202,7 @@ static ssize_t tcpprobe_read(struct file
if (cnt + width >= len)
break;
@@ -56615,9 +56799,9 @@ diff -urNp linux-2.6.38.1/net/ipv4/tcp_probe.c linux-2.6.38.1-new/net/ipv4/tcp_p
return -EFAULT;
cnt += width;
}
-diff -urNp linux-2.6.38.1/net/ipv4/tcp_timer.c linux-2.6.38.1-new/net/ipv4/tcp_timer.c
+diff -urNp linux-2.6.38.1/net/ipv4/tcp_timer.c linux-2.6.38.1/net/ipv4/tcp_timer.c
--- linux-2.6.38.1/net/ipv4/tcp_timer.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv4/tcp_timer.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv4/tcp_timer.c 2011-03-21 18:31:35.000000000 -0400
@@ -22,6 +22,10 @@
#include <linux/gfp.h>
#include <net/tcp.h>
@@ -56643,9 +56827,9 @@ diff -urNp linux-2.6.38.1/net/ipv4/tcp_timer.c linux-2.6.38.1-new/net/ipv4/tcp_t
if (retransmits_timed_out(sk, retry_until,
syn_set ? 0 : icsk->icsk_user_timeout, syn_set)) {
/* Has it gone just too far? */
-diff -urNp linux-2.6.38.1/net/ipv4/udp.c linux-2.6.38.1-new/net/ipv4/udp.c
+diff -urNp linux-2.6.38.1/net/ipv4/udp.c linux-2.6.38.1/net/ipv4/udp.c
--- linux-2.6.38.1/net/ipv4/udp.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv4/udp.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv4/udp.c 2011-03-21 18:31:35.000000000 -0400
@@ -86,6 +86,7 @@
#include <linux/types.h>
#include <linux/fcntl.h>
@@ -56729,9 +56913,9 @@ diff -urNp linux-2.6.38.1/net/ipv4/udp.c linux-2.6.38.1-new/net/ipv4/udp.c
atomic_read(&sp->sk_drops), len);
}
-diff -urNp linux-2.6.38.1/net/ipv6/exthdrs.c linux-2.6.38.1-new/net/ipv6/exthdrs.c
+diff -urNp linux-2.6.38.1/net/ipv6/exthdrs.c linux-2.6.38.1/net/ipv6/exthdrs.c
--- linux-2.6.38.1/net/ipv6/exthdrs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv6/exthdrs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv6/exthdrs.c 2011-03-21 18:31:35.000000000 -0400
@@ -634,7 +634,7 @@ static struct tlvtype_proc tlvprochopopt
.type = IPV6_TLV_JUMBO,
.func = ipv6_hop_jumbo,
@@ -56741,9 +56925,9 @@ diff -urNp linux-2.6.38.1/net/ipv6/exthdrs.c linux-2.6.38.1-new/net/ipv6/exthdrs
};
int ipv6_parse_hopopts(struct sk_buff *skb)
-diff -urNp linux-2.6.38.1/net/ipv6/raw.c linux-2.6.38.1-new/net/ipv6/raw.c
+diff -urNp linux-2.6.38.1/net/ipv6/raw.c linux-2.6.38.1/net/ipv6/raw.c
--- linux-2.6.38.1/net/ipv6/raw.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv6/raw.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv6/raw.c 2011-03-21 18:31:35.000000000 -0400
@@ -602,7 +602,7 @@ out:
return err;
}
@@ -56768,9 +56952,9 @@ diff -urNp linux-2.6.38.1/net/ipv6/raw.c linux-2.6.38.1-new/net/ipv6/raw.c
}
static int raw6_seq_show(struct seq_file *seq, void *v)
-diff -urNp linux-2.6.38.1/net/ipv6/tcp_ipv6.c linux-2.6.38.1-new/net/ipv6/tcp_ipv6.c
+diff -urNp linux-2.6.38.1/net/ipv6/tcp_ipv6.c linux-2.6.38.1/net/ipv6/tcp_ipv6.c
--- linux-2.6.38.1/net/ipv6/tcp_ipv6.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv6/tcp_ipv6.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv6/tcp_ipv6.c 2011-03-21 18:31:35.000000000 -0400
@@ -92,6 +92,10 @@ static struct tcp_md5sig_key *tcp_v6_md5
}
#endif
@@ -56870,9 +57054,9 @@ diff -urNp linux-2.6.38.1/net/ipv6/tcp_ipv6.c linux-2.6.38.1-new/net/ipv6/tcp_ip
}
static int tcp6_seq_show(struct seq_file *seq, void *v)
-diff -urNp linux-2.6.38.1/net/ipv6/udp.c linux-2.6.38.1-new/net/ipv6/udp.c
+diff -urNp linux-2.6.38.1/net/ipv6/udp.c linux-2.6.38.1/net/ipv6/udp.c
--- linux-2.6.38.1/net/ipv6/udp.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/ipv6/udp.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/ipv6/udp.c 2011-03-21 18:31:35.000000000 -0400
@@ -50,6 +50,10 @@
#include <linux/seq_file.h>
#include "udp_impl.h"
@@ -56908,9 +57092,9 @@ diff -urNp linux-2.6.38.1/net/ipv6/udp.c linux-2.6.38.1-new/net/ipv6/udp.c
atomic_read(&sp->sk_drops));
}
-diff -urNp linux-2.6.38.1/net/irda/ircomm/ircomm_tty.c linux-2.6.38.1-new/net/irda/ircomm/ircomm_tty.c
+diff -urNp linux-2.6.38.1/net/irda/ircomm/ircomm_tty.c linux-2.6.38.1/net/irda/ircomm/ircomm_tty.c
--- linux-2.6.38.1/net/irda/ircomm/ircomm_tty.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/irda/ircomm/ircomm_tty.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/irda/ircomm/ircomm_tty.c 2011-03-21 18:31:35.000000000 -0400
@@ -281,16 +281,16 @@ static int ircomm_tty_block_til_ready(st
add_wait_queue(&self->open_wait, &wait);
@@ -57033,9 +57217,9 @@ diff -urNp linux-2.6.38.1/net/irda/ircomm/ircomm_tty.c linux-2.6.38.1-new/net/ir
seq_printf(m, "Max data size: %d\n", self->max_data_size);
seq_printf(m, "Max header size: %d\n", self->max_header_size);
-diff -urNp linux-2.6.38.1/net/key/af_key.c linux-2.6.38.1-new/net/key/af_key.c
+diff -urNp linux-2.6.38.1/net/key/af_key.c linux-2.6.38.1/net/key/af_key.c
--- linux-2.6.38.1/net/key/af_key.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/key/af_key.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/key/af_key.c 2011-03-21 18:31:35.000000000 -0400
@@ -3644,7 +3644,11 @@ static int pfkey_seq_show(struct seq_fil
seq_printf(f ,"sk RefCnt Rmem Wmem User Inode\n");
else
@@ -57048,9 +57232,9 @@ diff -urNp linux-2.6.38.1/net/key/af_key.c linux-2.6.38.1-new/net/key/af_key.c
atomic_read(&s->sk_refcnt),
sk_rmem_alloc_get(s),
sk_wmem_alloc_get(s),
-diff -urNp linux-2.6.38.1/net/mac80211/ieee80211_i.h linux-2.6.38.1-new/net/mac80211/ieee80211_i.h
+diff -urNp linux-2.6.38.1/net/mac80211/ieee80211_i.h linux-2.6.38.1/net/mac80211/ieee80211_i.h
--- linux-2.6.38.1/net/mac80211/ieee80211_i.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/mac80211/ieee80211_i.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/mac80211/ieee80211_i.h 2011-03-21 18:31:35.000000000 -0400
@@ -27,6 +27,7 @@
#include <net/ieee80211_radiotap.h>
#include <net/cfg80211.h>
@@ -57068,9 +57252,9 @@ diff -urNp linux-2.6.38.1/net/mac80211/ieee80211_i.h linux-2.6.38.1-new/net/mac8
int monitors, cooked_mntrs;
/* number of interfaces with corresponding FIF_ flags */
int fif_fcsfail, fif_plcpfail, fif_control, fif_other_bss, fif_pspoll,
-diff -urNp linux-2.6.38.1/net/mac80211/iface.c linux-2.6.38.1-new/net/mac80211/iface.c
+diff -urNp linux-2.6.38.1/net/mac80211/iface.c linux-2.6.38.1/net/mac80211/iface.c
--- linux-2.6.38.1/net/mac80211/iface.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/mac80211/iface.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/mac80211/iface.c 2011-03-21 18:31:35.000000000 -0400
@@ -211,7 +211,7 @@ static int ieee80211_do_open(struct net_
break;
}
@@ -57125,9 +57309,9 @@ diff -urNp linux-2.6.38.1/net/mac80211/iface.c linux-2.6.38.1-new/net/mac80211/i
if (local->ops->napi_poll)
napi_disable(&local->napi);
ieee80211_clear_tx_pending(local);
-diff -urNp linux-2.6.38.1/net/mac80211/main.c linux-2.6.38.1-new/net/mac80211/main.c
+diff -urNp linux-2.6.38.1/net/mac80211/main.c linux-2.6.38.1/net/mac80211/main.c
--- linux-2.6.38.1/net/mac80211/main.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/mac80211/main.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/mac80211/main.c 2011-03-21 18:31:35.000000000 -0400
@@ -161,7 +161,7 @@ int ieee80211_hw_config(struct ieee80211
local->hw.conf.power_level = power;
}
@@ -57137,9 +57321,9 @@ diff -urNp linux-2.6.38.1/net/mac80211/main.c linux-2.6.38.1-new/net/mac80211/ma
ret = drv_config(local, changed);
/*
* Goal:
-diff -urNp linux-2.6.38.1/net/mac80211/pm.c linux-2.6.38.1-new/net/mac80211/pm.c
+diff -urNp linux-2.6.38.1/net/mac80211/pm.c linux-2.6.38.1/net/mac80211/pm.c
--- linux-2.6.38.1/net/mac80211/pm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/mac80211/pm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/mac80211/pm.c 2011-03-21 18:31:35.000000000 -0400
@@ -95,7 +95,7 @@ int __ieee80211_suspend(struct ieee80211
}
@@ -57149,9 +57333,9 @@ diff -urNp linux-2.6.38.1/net/mac80211/pm.c linux-2.6.38.1-new/net/mac80211/pm.c
ieee80211_stop_device(local);
local->suspended = true;
-diff -urNp linux-2.6.38.1/net/mac80211/rate.c linux-2.6.38.1-new/net/mac80211/rate.c
+diff -urNp linux-2.6.38.1/net/mac80211/rate.c linux-2.6.38.1/net/mac80211/rate.c
--- linux-2.6.38.1/net/mac80211/rate.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/mac80211/rate.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/mac80211/rate.c 2011-03-21 18:31:35.000000000 -0400
@@ -371,7 +371,7 @@ int ieee80211_init_rate_ctrl_alg(struct
ASSERT_RTNL();
@@ -57161,9 +57345,9 @@ diff -urNp linux-2.6.38.1/net/mac80211/rate.c linux-2.6.38.1-new/net/mac80211/ra
return -EBUSY;
if (local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL) {
-diff -urNp linux-2.6.38.1/net/mac80211/rc80211_pid_debugfs.c linux-2.6.38.1-new/net/mac80211/rc80211_pid_debugfs.c
+diff -urNp linux-2.6.38.1/net/mac80211/rc80211_pid_debugfs.c linux-2.6.38.1/net/mac80211/rc80211_pid_debugfs.c
--- linux-2.6.38.1/net/mac80211/rc80211_pid_debugfs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/mac80211/rc80211_pid_debugfs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/mac80211/rc80211_pid_debugfs.c 2011-03-21 18:31:35.000000000 -0400
@@ -192,7 +192,7 @@ static ssize_t rate_control_pid_events_r
spin_unlock_irqrestore(&events->lock, status);
@@ -57173,9 +57357,9 @@ diff -urNp linux-2.6.38.1/net/mac80211/rc80211_pid_debugfs.c linux-2.6.38.1-new/
return -EFAULT;
return p;
-diff -urNp linux-2.6.38.1/net/mac80211/tx.c linux-2.6.38.1-new/net/mac80211/tx.c
+diff -urNp linux-2.6.38.1/net/mac80211/tx.c linux-2.6.38.1/net/mac80211/tx.c
--- linux-2.6.38.1/net/mac80211/tx.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/mac80211/tx.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/mac80211/tx.c 2011-03-21 18:31:35.000000000 -0400
@@ -173,7 +173,7 @@ static __le16 ieee80211_duration(struct
return cpu_to_le16(dur);
}
@@ -57185,9 +57369,9 @@ diff -urNp linux-2.6.38.1/net/mac80211/tx.c linux-2.6.38.1-new/net/mac80211/tx.c
struct net_device *dev)
{
return local == wdev_priv(dev->ieee80211_ptr);
-diff -urNp linux-2.6.38.1/net/mac80211/util.c linux-2.6.38.1-new/net/mac80211/util.c
+diff -urNp linux-2.6.38.1/net/mac80211/util.c linux-2.6.38.1/net/mac80211/util.c
--- linux-2.6.38.1/net/mac80211/util.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/mac80211/util.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/mac80211/util.c 2011-03-21 18:31:35.000000000 -0400
@@ -1135,7 +1135,7 @@ int ieee80211_reconfig(struct ieee80211_
local->resuming = true;
@@ -57197,9 +57381,9 @@ diff -urNp linux-2.6.38.1/net/mac80211/util.c linux-2.6.38.1-new/net/mac80211/ut
/*
* Upon resume hardware can sometimes be goofy due to
* various platform / driver / bus issues, so restarting
-diff -urNp linux-2.6.38.1/net/netfilter/Kconfig linux-2.6.38.1-new/net/netfilter/Kconfig
+diff -urNp linux-2.6.38.1/net/netfilter/Kconfig linux-2.6.38.1/net/netfilter/Kconfig
--- linux-2.6.38.1/net/netfilter/Kconfig 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/netfilter/Kconfig 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/netfilter/Kconfig 2011-03-21 18:31:35.000000000 -0400
@@ -709,6 +709,16 @@ config NETFILTER_XT_MATCH_ESP
To compile it as a module, choose M here. If unsure, say N.
@@ -57217,9 +57401,9 @@ diff -urNp linux-2.6.38.1/net/netfilter/Kconfig linux-2.6.38.1-new/net/netfilter
config NETFILTER_XT_MATCH_HASHLIMIT
tristate '"hashlimit" match support'
depends on (IP6_NF_IPTABLES || IP6_NF_IPTABLES=n)
-diff -urNp linux-2.6.38.1/net/netfilter/Makefile linux-2.6.38.1-new/net/netfilter/Makefile
+diff -urNp linux-2.6.38.1/net/netfilter/Makefile linux-2.6.38.1/net/netfilter/Makefile
--- linux-2.6.38.1/net/netfilter/Makefile 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/netfilter/Makefile 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/netfilter/Makefile 2011-03-21 18:31:35.000000000 -0400
@@ -74,6 +74,7 @@ obj-$(CONFIG_NETFILTER_XT_MATCH_CPU) +=
obj-$(CONFIG_NETFILTER_XT_MATCH_DCCP) += xt_dccp.o
obj-$(CONFIG_NETFILTER_XT_MATCH_DSCP) += xt_dscp.o
@@ -57228,9 +57412,9 @@ diff -urNp linux-2.6.38.1/net/netfilter/Makefile linux-2.6.38.1-new/net/netfilte
obj-$(CONFIG_NETFILTER_XT_MATCH_HASHLIMIT) += xt_hashlimit.o
obj-$(CONFIG_NETFILTER_XT_MATCH_HELPER) += xt_helper.o
obj-$(CONFIG_NETFILTER_XT_MATCH_HL) += xt_hl.o
-diff -urNp linux-2.6.38.1/net/netfilter/nf_conntrack_netlink.c linux-2.6.38.1-new/net/netfilter/nf_conntrack_netlink.c
+diff -urNp linux-2.6.38.1/net/netfilter/nf_conntrack_netlink.c linux-2.6.38.1/net/netfilter/nf_conntrack_netlink.c
--- linux-2.6.38.1/net/netfilter/nf_conntrack_netlink.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/netfilter/nf_conntrack_netlink.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/netfilter/nf_conntrack_netlink.c 2011-03-21 18:31:35.000000000 -0400
@@ -761,7 +761,7 @@ static const struct nla_policy tuple_nla
static int
ctnetlink_parse_tuple(const struct nlattr * const cda[],
@@ -57240,9 +57424,9 @@ diff -urNp linux-2.6.38.1/net/netfilter/nf_conntrack_netlink.c linux-2.6.38.1-ne
{
struct nlattr *tb[CTA_TUPLE_MAX+1];
int err;
-diff -urNp linux-2.6.38.1/net/netfilter/xt_gradm.c linux-2.6.38.1-new/net/netfilter/xt_gradm.c
+diff -urNp linux-2.6.38.1/net/netfilter/xt_gradm.c linux-2.6.38.1/net/netfilter/xt_gradm.c
--- linux-2.6.38.1/net/netfilter/xt_gradm.c 1969-12-31 19:00:00.000000000 -0500
-+++ linux-2.6.38.1-new/net/netfilter/xt_gradm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/netfilter/xt_gradm.c 2011-03-21 18:31:35.000000000 -0400
@@ -0,0 +1,51 @@
+/*
+ * gradm match for netfilter
@@ -57295,9 +57479,9 @@ diff -urNp linux-2.6.38.1/net/netfilter/xt_gradm.c linux-2.6.38.1-new/net/netfil
+MODULE_LICENSE("GPL");
+MODULE_ALIAS("ipt_gradm");
+MODULE_ALIAS("ip6t_gradm");
-diff -urNp linux-2.6.38.1/net/netlink/af_netlink.c linux-2.6.38.1-new/net/netlink/af_netlink.c
+diff -urNp linux-2.6.38.1/net/netlink/af_netlink.c linux-2.6.38.1/net/netlink/af_netlink.c
--- linux-2.6.38.1/net/netlink/af_netlink.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/netlink/af_netlink.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/netlink/af_netlink.c 2011-03-21 18:31:35.000000000 -0400
@@ -2001,13 +2001,21 @@ static int netlink_seq_show(struct seq_f
struct netlink_sock *nlk = nlk_sk(s);
@@ -57320,9 +57504,9 @@ diff -urNp linux-2.6.38.1/net/netlink/af_netlink.c linux-2.6.38.1-new/net/netlin
atomic_read(&s->sk_refcnt),
atomic_read(&s->sk_drops),
sock_i_ino(s)
-diff -urNp linux-2.6.38.1/net/netrom/af_netrom.c linux-2.6.38.1-new/net/netrom/af_netrom.c
+diff -urNp linux-2.6.38.1/net/netrom/af_netrom.c linux-2.6.38.1/net/netrom/af_netrom.c
--- linux-2.6.38.1/net/netrom/af_netrom.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/netrom/af_netrom.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/netrom/af_netrom.c 2011-03-21 18:31:35.000000000 -0400
@@ -840,6 +840,7 @@ static int nr_getname(struct socket *soc
struct sock *sk = sock->sk;
struct nr_sock *nr = nr_sk(sk);
@@ -57339,9 +57523,9 @@ diff -urNp linux-2.6.38.1/net/netrom/af_netrom.c linux-2.6.38.1-new/net/netrom/a
sax->fsa_ax25.sax25_call = nr->source_addr;
*uaddr_len = sizeof(struct sockaddr_ax25);
}
-diff -urNp linux-2.6.38.1/net/packet/af_packet.c linux-2.6.38.1-new/net/packet/af_packet.c
+diff -urNp linux-2.6.38.1/net/packet/af_packet.c linux-2.6.38.1/net/packet/af_packet.c
--- linux-2.6.38.1/net/packet/af_packet.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/packet/af_packet.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/packet/af_packet.c 2011-03-21 18:31:35.000000000 -0400
@@ -2134,7 +2134,7 @@ static int packet_getsockopt(struct sock
case PACKET_HDRLEN:
if (len > sizeof(int))
@@ -57372,9 +57556,9 @@ diff -urNp linux-2.6.38.1/net/packet/af_packet.c linux-2.6.38.1-new/net/packet/a
atomic_read(&s->sk_refcnt),
s->sk_type,
ntohs(po->num),
-diff -urNp linux-2.6.38.1/net/phonet/af_phonet.c linux-2.6.38.1-new/net/phonet/af_phonet.c
+diff -urNp linux-2.6.38.1/net/phonet/af_phonet.c linux-2.6.38.1/net/phonet/af_phonet.c
--- linux-2.6.38.1/net/phonet/af_phonet.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/phonet/af_phonet.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/phonet/af_phonet.c 2011-03-21 18:31:35.000000000 -0400
@@ -41,7 +41,7 @@ static struct phonet_protocol *phonet_pr
{
struct phonet_protocol *pp;
@@ -57393,9 +57577,9 @@ diff -urNp linux-2.6.38.1/net/phonet/af_phonet.c linux-2.6.38.1-new/net/phonet/a
return -EINVAL;
err = proto_register(pp->prot, 1);
-diff -urNp linux-2.6.38.1/net/phonet/socket.c linux-2.6.38.1-new/net/phonet/socket.c
+diff -urNp linux-2.6.38.1/net/phonet/socket.c linux-2.6.38.1/net/phonet/socket.c
--- linux-2.6.38.1/net/phonet/socket.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/phonet/socket.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/phonet/socket.c 2011-03-21 18:31:35.000000000 -0400
@@ -637,7 +637,12 @@ static int pn_sock_seq_show(struct seq_f
sk->sk_state,
sk_wmem_alloc_get(sk), sk_rmem_alloc_get(sk),
@@ -57410,9 +57594,9 @@ diff -urNp linux-2.6.38.1/net/phonet/socket.c linux-2.6.38.1-new/net/phonet/sock
atomic_read(&sk->sk_drops), &len);
}
seq_printf(seq, "%*s\n", 127 - len, "");
-diff -urNp linux-2.6.38.1/net/sctp/proc.c linux-2.6.38.1-new/net/sctp/proc.c
+diff -urNp linux-2.6.38.1/net/sctp/proc.c linux-2.6.38.1/net/sctp/proc.c
--- linux-2.6.38.1/net/sctp/proc.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/sctp/proc.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/sctp/proc.c 2011-03-21 18:31:35.000000000 -0400
@@ -212,7 +212,12 @@ static int sctp_eps_seq_show(struct seq_
sctp_for_each_hentry(epb, node, &head->chain) {
ep = sctp_ep(epb);
@@ -57441,9 +57625,9 @@ diff -urNp linux-2.6.38.1/net/sctp/proc.c linux-2.6.38.1-new/net/sctp/proc.c
assoc->state, hash,
assoc->assoc_id,
assoc->sndbuf_used,
-diff -urNp linux-2.6.38.1/net/sctp/socket.c linux-2.6.38.1-new/net/sctp/socket.c
+diff -urNp linux-2.6.38.1/net/sctp/socket.c linux-2.6.38.1/net/sctp/socket.c
--- linux-2.6.38.1/net/sctp/socket.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/sctp/socket.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/sctp/socket.c 2011-03-21 18:31:35.000000000 -0400
@@ -1496,7 +1496,7 @@ SCTP_STATIC int sctp_sendmsg(struct kioc
struct sctp_sndrcvinfo *sinfo;
struct sctp_initmsg *sinit;
@@ -57462,9 +57646,9 @@ diff -urNp linux-2.6.38.1/net/sctp/socket.c linux-2.6.38.1-new/net/sctp/socket.c
return -EFAULT;
to += addrlen;
cnt++;
-diff -urNp linux-2.6.38.1/net/socket.c linux-2.6.38.1-new/net/socket.c
+diff -urNp linux-2.6.38.1/net/socket.c linux-2.6.38.1/net/socket.c
--- linux-2.6.38.1/net/socket.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/socket.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/socket.c 2011-03-21 18:31:35.000000000 -0400
@@ -88,6 +88,7 @@
#include <linux/nsproxy.h>
#include <linux/magic.h>
@@ -57615,9 +57799,9 @@ diff -urNp linux-2.6.38.1/net/socket.c linux-2.6.38.1-new/net/socket.c
err =
security_socket_connect(sock, (struct sockaddr *)&address, addrlen);
if (err)
-diff -urNp linux-2.6.38.1/net/sunrpc/sched.c linux-2.6.38.1-new/net/sunrpc/sched.c
+diff -urNp linux-2.6.38.1/net/sunrpc/sched.c linux-2.6.38.1/net/sunrpc/sched.c
--- linux-2.6.38.1/net/sunrpc/sched.c 2011-03-23 17:20:08.000000000 -0400
-+++ linux-2.6.38.1-new/net/sunrpc/sched.c 2011-03-23 17:21:51.000000000 -0400
++++ linux-2.6.38.1/net/sunrpc/sched.c 2011-03-23 17:21:51.000000000 -0400
@@ -234,9 +234,9 @@ static int rpc_wait_bit_killable(void *w
#ifdef RPC_DEBUG
static void rpc_task_set_debuginfo(struct rpc_task *task)
@@ -57630,9 +57814,9 @@ diff -urNp linux-2.6.38.1/net/sunrpc/sched.c linux-2.6.38.1-new/net/sunrpc/sched
}
#else
static inline void rpc_task_set_debuginfo(struct rpc_task *task)
-diff -urNp linux-2.6.38.1/net/sunrpc/xprtrdma/svc_rdma.c linux-2.6.38.1-new/net/sunrpc/xprtrdma/svc_rdma.c
+diff -urNp linux-2.6.38.1/net/sunrpc/xprtrdma/svc_rdma.c linux-2.6.38.1/net/sunrpc/xprtrdma/svc_rdma.c
--- linux-2.6.38.1/net/sunrpc/xprtrdma/svc_rdma.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/sunrpc/xprtrdma/svc_rdma.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/sunrpc/xprtrdma/svc_rdma.c 2011-03-21 18:31:35.000000000 -0400
@@ -109,7 +109,7 @@ static int read_reset_stat(ctl_table *ta
len -= *ppos;
if (len > *lenp)
@@ -57642,9 +57826,9 @@ diff -urNp linux-2.6.38.1/net/sunrpc/xprtrdma/svc_rdma.c linux-2.6.38.1-new/net/
return -EFAULT;
*lenp = len;
*ppos += len;
-diff -urNp linux-2.6.38.1/net/sysctl_net.c linux-2.6.38.1-new/net/sysctl_net.c
+diff -urNp linux-2.6.38.1/net/sysctl_net.c linux-2.6.38.1/net/sysctl_net.c
--- linux-2.6.38.1/net/sysctl_net.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/sysctl_net.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/sysctl_net.c 2011-03-21 18:31:35.000000000 -0400
@@ -46,7 +46,7 @@ static int net_ctl_permissions(struct ct
struct ctl_table *table)
{
@@ -57654,9 +57838,9 @@ diff -urNp linux-2.6.38.1/net/sysctl_net.c linux-2.6.38.1-new/net/sysctl_net.c
int mode = (table->mode >> 6) & 7;
return (mode << 6) | (mode << 3) | mode;
}
-diff -urNp linux-2.6.38.1/net/tipc/socket.c linux-2.6.38.1-new/net/tipc/socket.c
+diff -urNp linux-2.6.38.1/net/tipc/socket.c linux-2.6.38.1/net/tipc/socket.c
--- linux-2.6.38.1/net/tipc/socket.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/tipc/socket.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/tipc/socket.c 2011-03-21 18:31:35.000000000 -0400
@@ -1447,8 +1447,9 @@ static int connect(struct socket *sock,
} else {
if (res == 0)
@@ -57669,9 +57853,9 @@ diff -urNp linux-2.6.38.1/net/tipc/socket.c linux-2.6.38.1-new/net/tipc/socket.c
sock->state = SS_DISCONNECTING;
}
-diff -urNp linux-2.6.38.1/net/unix/af_unix.c linux-2.6.38.1-new/net/unix/af_unix.c
+diff -urNp linux-2.6.38.1/net/unix/af_unix.c linux-2.6.38.1/net/unix/af_unix.c
--- linux-2.6.38.1/net/unix/af_unix.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/unix/af_unix.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/unix/af_unix.c 2011-03-21 18:31:35.000000000 -0400
@@ -765,6 +765,12 @@ static struct sock *unix_find_other(stru
err = -ECONNREFUSED;
if (!S_ISSOCK(inode->i_mode))
@@ -57742,9 +57926,9 @@ diff -urNp linux-2.6.38.1/net/unix/af_unix.c linux-2.6.38.1-new/net/unix/af_unix
atomic_read(&s->sk_refcnt),
0,
s->sk_state == TCP_LISTEN ? __SO_ACCEPTCON : 0,
-diff -urNp linux-2.6.38.1/net/wireless/reg.c linux-2.6.38.1-new/net/wireless/reg.c
+diff -urNp linux-2.6.38.1/net/wireless/reg.c linux-2.6.38.1/net/wireless/reg.c
--- linux-2.6.38.1/net/wireless/reg.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/wireless/reg.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/wireless/reg.c 2011-03-21 18:31:35.000000000 -0400
@@ -54,7 +54,7 @@
printk(KERN_DEBUG pr_fmt(format), ##args); \
} while (0)
@@ -57754,9 +57938,9 @@ diff -urNp linux-2.6.38.1/net/wireless/reg.c linux-2.6.38.1-new/net/wireless/reg
#endif
/* Receipt of information from last regulatory request */
-diff -urNp linux-2.6.38.1/net/wireless/wext-core.c linux-2.6.38.1-new/net/wireless/wext-core.c
+diff -urNp linux-2.6.38.1/net/wireless/wext-core.c linux-2.6.38.1/net/wireless/wext-core.c
--- linux-2.6.38.1/net/wireless/wext-core.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/wireless/wext-core.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/wireless/wext-core.c 2011-03-21 18:31:35.000000000 -0400
@@ -746,8 +746,7 @@ static int ioctl_standard_iw_point(struc
*/
@@ -57790,9 +57974,9 @@ diff -urNp linux-2.6.38.1/net/wireless/wext-core.c linux-2.6.38.1-new/net/wirele
err = handler(dev, info, (union iwreq_data *) iwp, extra);
iwp->length += essid_compat;
-diff -urNp linux-2.6.38.1/net/x25/x25_facilities.c linux-2.6.38.1-new/net/x25/x25_facilities.c
+diff -urNp linux-2.6.38.1/net/x25/x25_facilities.c linux-2.6.38.1/net/x25/x25_facilities.c
--- linux-2.6.38.1/net/x25/x25_facilities.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/x25/x25_facilities.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/x25/x25_facilities.c 2011-03-21 18:31:35.000000000 -0400
@@ -167,7 +167,8 @@ int x25_parse_facilities(struct sk_buff
break;
default:
@@ -57803,9 +57987,9 @@ diff -urNp linux-2.6.38.1/net/x25/x25_facilities.c linux-2.6.38.1-new/net/x25/x2
break;
}
len -= p[1] + 2;
-diff -urNp linux-2.6.38.1/net/xfrm/xfrm_policy.c linux-2.6.38.1-new/net/xfrm/xfrm_policy.c
+diff -urNp linux-2.6.38.1/net/xfrm/xfrm_policy.c linux-2.6.38.1/net/xfrm/xfrm_policy.c
--- linux-2.6.38.1/net/xfrm/xfrm_policy.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/net/xfrm/xfrm_policy.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/net/xfrm/xfrm_policy.c 2011-03-21 18:31:35.000000000 -0400
@@ -1507,7 +1507,7 @@ free_dst:
goto out;
}
@@ -57833,9 +58017,9 @@ diff -urNp linux-2.6.38.1/net/xfrm/xfrm_policy.c linux-2.6.38.1-new/net/xfrm/xfr
xfrm_dst_update_origin(struct dst_entry *dst, struct flowi *fl)
{
#ifdef CONFIG_XFRM_SUB_POLICY
-diff -urNp linux-2.6.38.1/scripts/basic/fixdep.c linux-2.6.38.1-new/scripts/basic/fixdep.c
+diff -urNp linux-2.6.38.1/scripts/basic/fixdep.c linux-2.6.38.1/scripts/basic/fixdep.c
--- linux-2.6.38.1/scripts/basic/fixdep.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/scripts/basic/fixdep.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/scripts/basic/fixdep.c 2011-03-21 18:31:35.000000000 -0400
@@ -235,9 +235,9 @@ static void use_config(const char *m, in
static void parse_config_file(const char *map, size_t len)
@@ -57857,9 +58041,9 @@ diff -urNp linux-2.6.38.1/scripts/basic/fixdep.c linux-2.6.38.1-new/scripts/basi
if (*p != INT_CONF) {
fprintf(stderr, "fixdep: sizeof(int) != 4 or wrong endianess? %#x\n",
-diff -urNp linux-2.6.38.1/scripts/kallsyms.c linux-2.6.38.1-new/scripts/kallsyms.c
+diff -urNp linux-2.6.38.1/scripts/kallsyms.c linux-2.6.38.1/scripts/kallsyms.c
--- linux-2.6.38.1/scripts/kallsyms.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/scripts/kallsyms.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/scripts/kallsyms.c 2011-03-21 18:31:35.000000000 -0400
@@ -43,10 +43,10 @@ struct text_range {
static unsigned long long _text;
@@ -57875,9 +58059,9 @@ diff -urNp linux-2.6.38.1/scripts/kallsyms.c linux-2.6.38.1-new/scripts/kallsyms
};
#define text_range_text (&text_ranges[0])
#define text_range_inittext (&text_ranges[1])
-diff -urNp linux-2.6.38.1/scripts/mod/file2alias.c linux-2.6.38.1-new/scripts/mod/file2alias.c
+diff -urNp linux-2.6.38.1/scripts/mod/file2alias.c linux-2.6.38.1/scripts/mod/file2alias.c
--- linux-2.6.38.1/scripts/mod/file2alias.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/scripts/mod/file2alias.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/scripts/mod/file2alias.c 2011-03-21 18:31:35.000000000 -0400
@@ -72,7 +72,7 @@ static void device_id_check(const char *
unsigned long size, unsigned long id_size,
void *symval)
@@ -57932,9 +58116,9 @@ diff -urNp linux-2.6.38.1/scripts/mod/file2alias.c linux-2.6.38.1-new/scripts/mo
sprintf(alias, "dmi*");
-diff -urNp linux-2.6.38.1/scripts/mod/modpost.c linux-2.6.38.1-new/scripts/mod/modpost.c
+diff -urNp linux-2.6.38.1/scripts/mod/modpost.c linux-2.6.38.1/scripts/mod/modpost.c
--- linux-2.6.38.1/scripts/mod/modpost.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/scripts/mod/modpost.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/scripts/mod/modpost.c 2011-03-21 18:31:35.000000000 -0400
@@ -896,6 +896,7 @@ enum mismatch {
ANY_INIT_TO_ANY_EXIT,
ANY_EXIT_TO_ANY_INIT,
@@ -58002,9 +58186,9 @@ diff -urNp linux-2.6.38.1/scripts/mod/modpost.c linux-2.6.38.1-new/scripts/mod/m
goto close_write;
tmp = NOFAIL(malloc(b->pos));
-diff -urNp linux-2.6.38.1/scripts/mod/modpost.h linux-2.6.38.1-new/scripts/mod/modpost.h
+diff -urNp linux-2.6.38.1/scripts/mod/modpost.h linux-2.6.38.1/scripts/mod/modpost.h
--- linux-2.6.38.1/scripts/mod/modpost.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/scripts/mod/modpost.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/scripts/mod/modpost.h 2011-03-21 18:31:35.000000000 -0400
@@ -92,15 +92,15 @@ void *do_nofail(void *ptr, const char *e
struct buffer {
@@ -58024,9 +58208,9 @@ diff -urNp linux-2.6.38.1/scripts/mod/modpost.h linux-2.6.38.1-new/scripts/mod/m
struct module {
struct module *next;
-diff -urNp linux-2.6.38.1/scripts/mod/sumversion.c linux-2.6.38.1-new/scripts/mod/sumversion.c
+diff -urNp linux-2.6.38.1/scripts/mod/sumversion.c linux-2.6.38.1/scripts/mod/sumversion.c
--- linux-2.6.38.1/scripts/mod/sumversion.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/scripts/mod/sumversion.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/scripts/mod/sumversion.c 2011-03-21 18:31:35.000000000 -0400
@@ -470,7 +470,7 @@ static void write_version(const char *fi
goto out;
}
@@ -58036,9 +58220,9 @@ diff -urNp linux-2.6.38.1/scripts/mod/sumversion.c linux-2.6.38.1-new/scripts/mo
warn("writing sum in %s failed: %s\n",
filename, strerror(errno));
goto out;
-diff -urNp linux-2.6.38.1/scripts/pnmtologo.c linux-2.6.38.1-new/scripts/pnmtologo.c
+diff -urNp linux-2.6.38.1/scripts/pnmtologo.c linux-2.6.38.1/scripts/pnmtologo.c
--- linux-2.6.38.1/scripts/pnmtologo.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/scripts/pnmtologo.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/scripts/pnmtologo.c 2011-03-21 18:31:35.000000000 -0400
@@ -237,14 +237,14 @@ static void write_header(void)
fprintf(out, " * Linux logo %s\n", logoname);
fputs(" */\n\n", out);
@@ -58065,9 +58249,9 @@ diff -urNp linux-2.6.38.1/scripts/pnmtologo.c linux-2.6.38.1-new/scripts/pnmtolo
logoname);
write_hex_cnt = 0;
for (i = 0; i < logo_clutsize; i++) {
-diff -urNp linux-2.6.38.1/security/apparmor/lsm.c linux-2.6.38.1-new/security/apparmor/lsm.c
+diff -urNp linux-2.6.38.1/security/apparmor/lsm.c linux-2.6.38.1/security/apparmor/lsm.c
--- linux-2.6.38.1/security/apparmor/lsm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/apparmor/lsm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/apparmor/lsm.c 2011-03-21 18:31:35.000000000 -0400
@@ -619,7 +619,7 @@ static int apparmor_task_setrlimit(struc
return error;
}
@@ -58077,9 +58261,9 @@ diff -urNp linux-2.6.38.1/security/apparmor/lsm.c linux-2.6.38.1-new/security/ap
.name = "apparmor",
.ptrace_access_check = apparmor_ptrace_access_check,
-diff -urNp linux-2.6.38.1/security/commoncap.c linux-2.6.38.1-new/security/commoncap.c
+diff -urNp linux-2.6.38.1/security/commoncap.c linux-2.6.38.1/security/commoncap.c
--- linux-2.6.38.1/security/commoncap.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/commoncap.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/commoncap.c 2011-03-21 18:31:35.000000000 -0400
@@ -27,6 +27,7 @@
#include <linux/sched.h>
#include <linux/prctl.h>
@@ -58111,9 +58295,9 @@ diff -urNp linux-2.6.38.1/security/commoncap.c linux-2.6.38.1-new/security/commo
if (cred->uid != 0) {
if (bprm->cap_effective)
return 1;
-diff -urNp linux-2.6.38.1/security/integrity/ima/ima_api.c linux-2.6.38.1-new/security/integrity/ima/ima_api.c
+diff -urNp linux-2.6.38.1/security/integrity/ima/ima_api.c linux-2.6.38.1/security/integrity/ima/ima_api.c
--- linux-2.6.38.1/security/integrity/ima/ima_api.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/integrity/ima/ima_api.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/integrity/ima/ima_api.c 2011-03-21 18:31:35.000000000 -0400
@@ -75,7 +75,7 @@ void ima_add_violation(struct inode *ino
int result;
@@ -58123,9 +58307,9 @@ diff -urNp linux-2.6.38.1/security/integrity/ima/ima_api.c linux-2.6.38.1-new/se
entry = kmalloc(sizeof(*entry), GFP_KERNEL);
if (!entry) {
-diff -urNp linux-2.6.38.1/security/integrity/ima/ima_fs.c linux-2.6.38.1-new/security/integrity/ima/ima_fs.c
+diff -urNp linux-2.6.38.1/security/integrity/ima/ima_fs.c linux-2.6.38.1/security/integrity/ima/ima_fs.c
--- linux-2.6.38.1/security/integrity/ima/ima_fs.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/integrity/ima/ima_fs.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/integrity/ima/ima_fs.c 2011-03-21 18:31:35.000000000 -0400
@@ -28,12 +28,12 @@
static int valid_policy = 1;
#define TMPBUFLEN 12
@@ -58141,9 +58325,9 @@ diff -urNp linux-2.6.38.1/security/integrity/ima/ima_fs.c linux-2.6.38.1-new/sec
return simple_read_from_buffer(buf, count, ppos, tmpbuf, len);
}
-diff -urNp linux-2.6.38.1/security/integrity/ima/ima.h linux-2.6.38.1-new/security/integrity/ima/ima.h
+diff -urNp linux-2.6.38.1/security/integrity/ima/ima.h linux-2.6.38.1/security/integrity/ima/ima.h
--- linux-2.6.38.1/security/integrity/ima/ima.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/integrity/ima/ima.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/integrity/ima/ima.h 2011-03-21 18:31:35.000000000 -0400
@@ -85,8 +85,8 @@ void ima_add_violation(struct inode *ino
extern spinlock_t ima_queue_lock;
@@ -58155,9 +58339,9 @@ diff -urNp linux-2.6.38.1/security/integrity/ima/ima.h linux-2.6.38.1-new/securi
struct hlist_head queue[IMA_MEASURE_HTABLE_SIZE];
};
extern struct ima_h_table ima_htable;
-diff -urNp linux-2.6.38.1/security/integrity/ima/ima_queue.c linux-2.6.38.1-new/security/integrity/ima/ima_queue.c
+diff -urNp linux-2.6.38.1/security/integrity/ima/ima_queue.c linux-2.6.38.1/security/integrity/ima/ima_queue.c
--- linux-2.6.38.1/security/integrity/ima/ima_queue.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/integrity/ima/ima_queue.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/integrity/ima/ima_queue.c 2011-03-21 18:31:35.000000000 -0400
@@ -79,7 +79,7 @@ static int ima_add_digest_entry(struct i
INIT_LIST_HEAD(&qe->later);
list_add_tail_rcu(&qe->later, &ima_measurements);
@@ -58167,9 +58351,9 @@ diff -urNp linux-2.6.38.1/security/integrity/ima/ima_queue.c linux-2.6.38.1-new/
key = ima_hash_key(entry->digest);
hlist_add_head_rcu(&qe->hnext, &ima_htable.queue[key]);
return 0;
-diff -urNp linux-2.6.38.1/security/Kconfig linux-2.6.38.1-new/security/Kconfig
+diff -urNp linux-2.6.38.1/security/Kconfig linux-2.6.38.1/security/Kconfig
--- linux-2.6.38.1/security/Kconfig 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/Kconfig 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/Kconfig 2011-03-21 18:31:35.000000000 -0400
@@ -4,6 +4,527 @@
menu "Security options"
@@ -58707,9 +58891,9 @@ diff -urNp linux-2.6.38.1/security/Kconfig linux-2.6.38.1-new/security/Kconfig
help
This is the portion of low virtual memory which should be protected
from userspace allocation. Keeping a user from writing to low pages
-diff -urNp linux-2.6.38.1/security/min_addr.c linux-2.6.38.1-new/security/min_addr.c
+diff -urNp linux-2.6.38.1/security/min_addr.c linux-2.6.38.1/security/min_addr.c
--- linux-2.6.38.1/security/min_addr.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/min_addr.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/min_addr.c 2011-03-21 18:31:35.000000000 -0400
@@ -14,6 +14,7 @@ unsigned long dac_mmap_min_addr = CONFIG
*/
static void update_mmap_min_addr(void)
@@ -58726,9 +58910,9 @@ diff -urNp linux-2.6.38.1/security/min_addr.c linux-2.6.38.1-new/security/min_ad
}
/*
-diff -urNp linux-2.6.38.1/security/security.c linux-2.6.38.1-new/security/security.c
+diff -urNp linux-2.6.38.1/security/security.c linux-2.6.38.1/security/security.c
--- linux-2.6.38.1/security/security.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/security.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/security.c 2011-03-21 18:31:35.000000000 -0400
@@ -25,8 +25,8 @@ static __initdata char chosen_lsm[SECURI
/* things that live in capability.c */
extern void __init security_fixup_ops(struct security_operations *ops);
@@ -58750,9 +58934,9 @@ diff -urNp linux-2.6.38.1/security/security.c linux-2.6.38.1-new/security/securi
}
/* Save user chosen LSM */
-diff -urNp linux-2.6.38.1/security/selinux/hooks.c linux-2.6.38.1-new/security/selinux/hooks.c
+diff -urNp linux-2.6.38.1/security/selinux/hooks.c linux-2.6.38.1/security/selinux/hooks.c
--- linux-2.6.38.1/security/selinux/hooks.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/selinux/hooks.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/selinux/hooks.c 2011-03-21 18:31:35.000000000 -0400
@@ -90,7 +90,6 @@
#define NUM_SEL_MNT_OPTS 5
@@ -58770,9 +58954,9 @@ diff -urNp linux-2.6.38.1/security/selinux/hooks.c linux-2.6.38.1-new/security/s
.name = "selinux",
.ptrace_access_check = selinux_ptrace_access_check,
-diff -urNp linux-2.6.38.1/security/smack/smack_lsm.c linux-2.6.38.1-new/security/smack/smack_lsm.c
+diff -urNp linux-2.6.38.1/security/smack/smack_lsm.c linux-2.6.38.1/security/smack/smack_lsm.c
--- linux-2.6.38.1/security/smack/smack_lsm.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/smack/smack_lsm.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/smack/smack_lsm.c 2011-03-21 18:31:35.000000000 -0400
@@ -3179,7 +3179,7 @@ static int smack_inode_getsecctx(struct
return 0;
}
@@ -58782,9 +58966,9 @@ diff -urNp linux-2.6.38.1/security/smack/smack_lsm.c linux-2.6.38.1-new/security
.name = "smack",
.ptrace_access_check = smack_ptrace_access_check,
-diff -urNp linux-2.6.38.1/security/tomoyo/tomoyo.c linux-2.6.38.1-new/security/tomoyo/tomoyo.c
+diff -urNp linux-2.6.38.1/security/tomoyo/tomoyo.c linux-2.6.38.1/security/tomoyo/tomoyo.c
--- linux-2.6.38.1/security/tomoyo/tomoyo.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/security/tomoyo/tomoyo.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/security/tomoyo/tomoyo.c 2011-03-21 18:31:35.000000000 -0400
@@ -240,7 +240,7 @@ static int tomoyo_sb_pivotroot(struct pa
* tomoyo_security_ops is a "struct security_operations" which is used for
* registering TOMOYO.
@@ -58794,9 +58978,9 @@ diff -urNp linux-2.6.38.1/security/tomoyo/tomoyo.c linux-2.6.38.1-new/security/t
.name = "tomoyo",
.cred_alloc_blank = tomoyo_cred_alloc_blank,
.cred_prepare = tomoyo_cred_prepare,
-diff -urNp linux-2.6.38.1/sound/aoa/codecs/onyx.c linux-2.6.38.1-new/sound/aoa/codecs/onyx.c
+diff -urNp linux-2.6.38.1/sound/aoa/codecs/onyx.c linux-2.6.38.1/sound/aoa/codecs/onyx.c
--- linux-2.6.38.1/sound/aoa/codecs/onyx.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/aoa/codecs/onyx.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/aoa/codecs/onyx.c 2011-03-21 18:31:35.000000000 -0400
@@ -54,7 +54,7 @@ struct onyx {
spdif_locked:1,
analog_locked:1,
@@ -58825,9 +59009,9 @@ diff -urNp linux-2.6.38.1/sound/aoa/codecs/onyx.c linux-2.6.38.1-new/sound/aoa/c
onyx->spdif_locked = onyx->analog_locked = 0;
mutex_unlock(&onyx->mutex);
-diff -urNp linux-2.6.38.1/sound/aoa/codecs/onyx.h linux-2.6.38.1-new/sound/aoa/codecs/onyx.h
+diff -urNp linux-2.6.38.1/sound/aoa/codecs/onyx.h linux-2.6.38.1/sound/aoa/codecs/onyx.h
--- linux-2.6.38.1/sound/aoa/codecs/onyx.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/aoa/codecs/onyx.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/aoa/codecs/onyx.h 2011-03-21 18:31:35.000000000 -0400
@@ -11,6 +11,7 @@
#include <linux/i2c.h>
#include <asm/pmac_low_i2c.h>
@@ -58836,9 +59020,9 @@ diff -urNp linux-2.6.38.1/sound/aoa/codecs/onyx.h linux-2.6.38.1-new/sound/aoa/c
/* PCM3052 register definitions */
-diff -urNp linux-2.6.38.1/sound/core/oss/pcm_oss.c linux-2.6.38.1-new/sound/core/oss/pcm_oss.c
+diff -urNp linux-2.6.38.1/sound/core/oss/pcm_oss.c linux-2.6.38.1/sound/core/oss/pcm_oss.c
--- linux-2.6.38.1/sound/core/oss/pcm_oss.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/core/oss/pcm_oss.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/core/oss/pcm_oss.c 2011-03-21 18:31:35.000000000 -0400
@@ -2971,8 +2971,8 @@ static void snd_pcm_oss_proc_done(struct
}
}
@@ -58850,9 +59034,9 @@ diff -urNp linux-2.6.38.1/sound/core/oss/pcm_oss.c linux-2.6.38.1-new/sound/core
#endif /* CONFIG_SND_VERBOSE_PROCFS */
/*
-diff -urNp linux-2.6.38.1/sound/core/seq/seq_lock.h linux-2.6.38.1-new/sound/core/seq/seq_lock.h
+diff -urNp linux-2.6.38.1/sound/core/seq/seq_lock.h linux-2.6.38.1/sound/core/seq/seq_lock.h
--- linux-2.6.38.1/sound/core/seq/seq_lock.h 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/core/seq/seq_lock.h 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/core/seq/seq_lock.h 2011-03-21 18:31:35.000000000 -0400
@@ -23,10 +23,10 @@ void snd_use_lock_sync_helper(snd_use_lo
#else /* SMP || CONFIG_SND_DEBUG */
@@ -58868,9 +59052,9 @@ diff -urNp linux-2.6.38.1/sound/core/seq/seq_lock.h linux-2.6.38.1-new/sound/cor
#endif /* SMP || CONFIG_SND_DEBUG */
-diff -urNp linux-2.6.38.1/sound/drivers/mts64.c linux-2.6.38.1-new/sound/drivers/mts64.c
+diff -urNp linux-2.6.38.1/sound/drivers/mts64.c linux-2.6.38.1/sound/drivers/mts64.c
--- linux-2.6.38.1/sound/drivers/mts64.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/drivers/mts64.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/drivers/mts64.c 2011-03-21 18:31:35.000000000 -0400
@@ -28,6 +28,7 @@
#include <sound/initval.h>
#include <sound/rawmidi.h>
@@ -58927,9 +59111,9 @@ diff -urNp linux-2.6.38.1/sound/drivers/mts64.c linux-2.6.38.1-new/sound/drivers
return 0;
}
-diff -urNp linux-2.6.38.1/sound/drivers/portman2x4.c linux-2.6.38.1-new/sound/drivers/portman2x4.c
+diff -urNp linux-2.6.38.1/sound/drivers/portman2x4.c linux-2.6.38.1/sound/drivers/portman2x4.c
--- linux-2.6.38.1/sound/drivers/portman2x4.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/drivers/portman2x4.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/drivers/portman2x4.c 2011-03-21 18:31:35.000000000 -0400
@@ -47,6 +47,7 @@
#include <sound/initval.h>
#include <sound/rawmidi.h>
@@ -58947,9 +59131,9 @@ diff -urNp linux-2.6.38.1/sound/drivers/portman2x4.c linux-2.6.38.1-new/sound/dr
int mode[PORTMAN_NUM_INPUT_PORTS];
struct snd_rawmidi_substream *midi_input[PORTMAN_NUM_INPUT_PORTS];
};
-diff -urNp linux-2.6.38.1/sound/oss/sb_audio.c linux-2.6.38.1-new/sound/oss/sb_audio.c
+diff -urNp linux-2.6.38.1/sound/oss/sb_audio.c linux-2.6.38.1/sound/oss/sb_audio.c
--- linux-2.6.38.1/sound/oss/sb_audio.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/oss/sb_audio.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/oss/sb_audio.c 2011-03-21 18:31:35.000000000 -0400
@@ -901,7 +901,7 @@ sb16_copy_from_user(int dev,
buf16 = (signed short *)(localbuf + localoffs);
while (c)
@@ -58959,9 +59143,9 @@ diff -urNp linux-2.6.38.1/sound/oss/sb_audio.c linux-2.6.38.1-new/sound/oss/sb_a
if (copy_from_user(lbuf8,
userbuf+useroffs + p,
locallen))
-diff -urNp linux-2.6.38.1/sound/oss/swarm_cs4297a.c linux-2.6.38.1-new/sound/oss/swarm_cs4297a.c
+diff -urNp linux-2.6.38.1/sound/oss/swarm_cs4297a.c linux-2.6.38.1/sound/oss/swarm_cs4297a.c
--- linux-2.6.38.1/sound/oss/swarm_cs4297a.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/oss/swarm_cs4297a.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/oss/swarm_cs4297a.c 2011-03-21 18:31:35.000000000 -0400
@@ -2606,7 +2606,6 @@ static int __init cs4297a_init(void)
{
struct cs4297a_state *s;
@@ -58996,9 +59180,9 @@ diff -urNp linux-2.6.38.1/sound/oss/swarm_cs4297a.c linux-2.6.38.1-new/sound/oss
list_add(&s->list, &cs4297a_devs);
-diff -urNp linux-2.6.38.1/sound/pci/ac97/ac97_patch.c linux-2.6.38.1-new/sound/pci/ac97/ac97_patch.c
+diff -urNp linux-2.6.38.1/sound/pci/ac97/ac97_patch.c linux-2.6.38.1/sound/pci/ac97/ac97_patch.c
--- linux-2.6.38.1/sound/pci/ac97/ac97_patch.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/pci/ac97/ac97_patch.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/pci/ac97/ac97_patch.c 2011-03-21 18:31:35.000000000 -0400
@@ -1486,7 +1486,7 @@ static const struct snd_ac97_res_table a
{ AC97_VIDEO, 0x9f1f },
{ AC97_AUX, 0x9f1f },
@@ -59017,9 +59201,9 @@ diff -urNp linux-2.6.38.1/sound/pci/ac97/ac97_patch.c linux-2.6.38.1-new/sound/p
};
static int patch_lm4550(struct snd_ac97 *ac97)
-diff -urNp linux-2.6.38.1/sound/pci/ens1370.c linux-2.6.38.1-new/sound/pci/ens1370.c
+diff -urNp linux-2.6.38.1/sound/pci/ens1370.c linux-2.6.38.1/sound/pci/ens1370.c
--- linux-2.6.38.1/sound/pci/ens1370.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/pci/ens1370.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/pci/ens1370.c 2011-03-21 18:31:35.000000000 -0400
@@ -452,7 +452,7 @@ static DEFINE_PCI_DEVICE_TABLE(snd_audio
{ PCI_VDEVICE(ENSONIQ, 0x5880), 0, }, /* ES1373 - CT5880 */
{ PCI_VDEVICE(ECTIVA, 0x8938), 0, }, /* Ectiva EV1938 */
@@ -59029,9 +59213,9 @@ diff -urNp linux-2.6.38.1/sound/pci/ens1370.c linux-2.6.38.1-new/sound/pci/ens13
};
MODULE_DEVICE_TABLE(pci, snd_audiopci_ids);
-diff -urNp linux-2.6.38.1/sound/pci/hda/patch_hdmi.c linux-2.6.38.1-new/sound/pci/hda/patch_hdmi.c
+diff -urNp linux-2.6.38.1/sound/pci/hda/patch_hdmi.c linux-2.6.38.1/sound/pci/hda/patch_hdmi.c
--- linux-2.6.38.1/sound/pci/hda/patch_hdmi.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/pci/hda/patch_hdmi.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/pci/hda/patch_hdmi.c 2011-03-21 18:31:35.000000000 -0400
@@ -733,10 +733,10 @@ static void hdmi_non_intrinsic_event(str
cp_ready);
@@ -59047,9 +59231,9 @@ diff -urNp linux-2.6.38.1/sound/pci/hda/patch_hdmi.c linux-2.6.38.1-new/sound/pc
}
-diff -urNp linux-2.6.38.1/sound/pci/intel8x0.c linux-2.6.38.1-new/sound/pci/intel8x0.c
+diff -urNp linux-2.6.38.1/sound/pci/intel8x0.c linux-2.6.38.1/sound/pci/intel8x0.c
--- linux-2.6.38.1/sound/pci/intel8x0.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/pci/intel8x0.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/pci/intel8x0.c 2011-03-21 18:31:35.000000000 -0400
@@ -444,7 +444,7 @@ static DEFINE_PCI_DEVICE_TABLE(snd_intel
{ PCI_VDEVICE(AMD, 0x746d), DEVICE_INTEL }, /* AMD8111 */
{ PCI_VDEVICE(AMD, 0x7445), DEVICE_INTEL }, /* AMD768 */
@@ -59068,9 +59252,9 @@ diff -urNp linux-2.6.38.1/sound/pci/intel8x0.c linux-2.6.38.1-new/sound/pci/inte
};
static int __devinit snd_intel8x0_mixer(struct intel8x0 *chip, int ac97_clock,
-diff -urNp linux-2.6.38.1/sound/pci/intel8x0m.c linux-2.6.38.1-new/sound/pci/intel8x0m.c
+diff -urNp linux-2.6.38.1/sound/pci/intel8x0m.c linux-2.6.38.1/sound/pci/intel8x0m.c
--- linux-2.6.38.1/sound/pci/intel8x0m.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/sound/pci/intel8x0m.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/sound/pci/intel8x0m.c 2011-03-21 18:31:35.000000000 -0400
@@ -239,7 +239,7 @@ static DEFINE_PCI_DEVICE_TABLE(snd_intel
{ PCI_VDEVICE(AMD, 0x746d), DEVICE_INTEL }, /* AMD8111 */
{ PCI_VDEVICE(AL, 0x5455), DEVICE_ALI }, /* Ali5455 */
@@ -59089,9 +59273,9 @@ diff -urNp linux-2.6.38.1/sound/pci/intel8x0m.c linux-2.6.38.1-new/sound/pci/int
};
static int __devinit snd_intel8x0m_probe(struct pci_dev *pci,
-diff -urNp linux-2.6.38.1/usr/gen_init_cpio.c linux-2.6.38.1-new/usr/gen_init_cpio.c
+diff -urNp linux-2.6.38.1/usr/gen_init_cpio.c linux-2.6.38.1/usr/gen_init_cpio.c
--- linux-2.6.38.1/usr/gen_init_cpio.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/usr/gen_init_cpio.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/usr/gen_init_cpio.c 2011-03-21 18:31:35.000000000 -0400
@@ -305,7 +305,7 @@ static int cpio_mkfile(const char *name,
int retval;
int rc = -1;
@@ -59114,9 +59298,9 @@ diff -urNp linux-2.6.38.1/usr/gen_init_cpio.c linux-2.6.38.1-new/usr/gen_init_cp
} else
break;
}
-diff -urNp linux-2.6.38.1/virt/kvm/kvm_main.c linux-2.6.38.1-new/virt/kvm/kvm_main.c
+diff -urNp linux-2.6.38.1/virt/kvm/kvm_main.c linux-2.6.38.1/virt/kvm/kvm_main.c
--- linux-2.6.38.1/virt/kvm/kvm_main.c 2011-03-14 21:20:32.000000000 -0400
-+++ linux-2.6.38.1-new/virt/kvm/kvm_main.c 2011-03-21 18:31:35.000000000 -0400
++++ linux-2.6.38.1/virt/kvm/kvm_main.c 2011-03-21 18:31:35.000000000 -0400
@@ -1521,7 +1521,7 @@ static int kvm_vcpu_release(struct inode
return 0;
}