소스 검색

sh: Fix up some merge damage.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 16 년 전
부모
커밋
9a19eb2a66
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 0
      arch/sh/include/asm/elf.h
  2. 1 1
      arch/sh/kernel/setup.c

+ 2 - 0
arch/sh/include/asm/elf.h

@@ -197,6 +197,8 @@ do {									\
 } while (0)
 } while (0)
 #endif
 #endif
 
 
+#define SET_PERSONALITY(ex) set_personality(PER_LINUX_32BIT)
+
 #ifdef CONFIG_VSYSCALL
 #ifdef CONFIG_VSYSCALL
 /* vDSO has arch_setup_additional_pages */
 /* vDSO has arch_setup_additional_pages */
 #define ARCH_HAS_SETUP_ADDITIONAL_PAGES
 #define ARCH_HAS_SETUP_ADDITIONAL_PAGES

+ 1 - 1
arch/sh/kernel/setup.c

@@ -282,7 +282,7 @@ void __init setup_bootmem_allocator(unsigned long free_pfn)
 			printk("initrd extends beyond end of memory "
 			printk("initrd extends beyond end of memory "
 			       "(0x%08lx > 0x%08lx)\ndisabling initrd\n",
 			       "(0x%08lx > 0x%08lx)\ndisabling initrd\n",
 			       initrd_start_phys + INITRD_SIZE,
 			       initrd_start_phys + INITRD_SIZE,
-			       PFN_PHYS(max_low_pfn));
+			       (unsigned long)PFN_PHYS(max_low_pfn));
 			initrd_start = 0;
 			initrd_start = 0;
 		}
 		}
 	}
 	}