]> Pileus Git - ~andy/linux/commitdiff
Merge remote-tracking branch 'origin/x86/mm' into x86/mm2
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 1 Feb 2013 10:25:06 +0000 (02:25 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 1 Feb 2013 10:28:36 +0000 (02:28 -0800)
Explicitly merging these two branches due to nontrivial conflicts and
to allow further work.

Resolved Conflicts:
arch/x86/kernel/head32.c
arch/x86/kernel/head64.c
arch/x86/mm/init_64.c
arch/x86/realmode/init.c

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
1  2 
arch/x86/include/asm/page.h
arch/x86/include/asm/pgtable.h
arch/x86/include/asm/pgtable_types.h
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/setup.c
arch/x86/mm/init_64.c
arch/x86/mm/pageattr.c
arch/x86/platform/efi/efi.c
arch/x86/realmode/init.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index e2fcbc34c9dfa40cae669a562301cdc88599a309,287c6d6a9ef1ff1ba140801f875443e092c8c550..edaa2daf4b3729ad3da4b561786ae72964b128b8
@@@ -804,13 -772,10 +804,11 @@@ void set_kernel_text_ro(void
  void mark_rodata_ro(void)
  {
        unsigned long start = PFN_ALIGN(_text);
-       unsigned long rodata_start =
-               ((unsigned long)__start_rodata + PAGE_SIZE - 1) & PAGE_MASK;
+       unsigned long rodata_start = PFN_ALIGN(__start_rodata);
        unsigned long end = (unsigned long) &__end_rodata_hpage_align;
-       unsigned long text_end = PAGE_ALIGN((unsigned long) &__stop___ex_table);
-       unsigned long rodata_end = PAGE_ALIGN((unsigned long) &__end_rodata);
-       unsigned long data_start = (unsigned long) &_sdata;
+       unsigned long text_end = PFN_ALIGN(&__stop___ex_table);
+       unsigned long rodata_end = PFN_ALIGN(&__end_rodata);
 +      unsigned long all_end = PFN_ALIGN(&_end);
  
        printk(KERN_INFO "Write protecting the kernel read-only data: %luk\n",
               (end - start) >> 10);
Simple merge
Simple merge
Simple merge