]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Fix up some merge damage.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 20 Oct 2008 02:37:58 +0000 (11:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Oct 2008 02:37:58 +0000 (11:37 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/elf.h
arch/sh/kernel/setup.c

index f7d0b8e6aa84aa529e7584856ad6e347732a308e..9eb9036a1bdc27e9a1fb50efe636ed9150e9c3f1 100644 (file)
@@ -197,6 +197,8 @@ do {                                                                        \
 } while (0)
 #endif
 
+#define SET_PERSONALITY(ex) set_personality(PER_LINUX_32BIT)
+
 #ifdef CONFIG_VSYSCALL
 /* vDSO has arch_setup_additional_pages */
 #define ARCH_HAS_SETUP_ADDITIONAL_PAGES
index 836e80d5cb9fac1805d36451a3828150d06b7f73..5767f0a84cd7d3a527c7abeade0978350effa3b2 100644 (file)
@@ -282,7 +282,7 @@ void __init setup_bootmem_allocator(unsigned long free_pfn)
                        printk("initrd extends beyond end of memory "
                               "(0x%08lx > 0x%08lx)\ndisabling initrd\n",
                               initrd_start_phys + INITRD_SIZE,
-                              PFN_PHYS(max_low_pfn));
+                              (unsigned long)PFN_PHYS(max_low_pfn));
                        initrd_start = 0;
                }
        }