···44 * for more details.55 *66 * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle77+ * Copyright (C) 2008 Wind River Systems,88+ * written by Ralf Baechle79 * Copyright (C) 1999 Silicon Graphics, Inc.810 */911#ifndef _ASM_TYPES_H1012#define _ASM_TYPES_H11131212-#if _MIPS_SZLONG == 641414+/*1515+ * We don't use int-l64.h for the kernel anymore but still use it for1616+ * userspace to avoid code changes.1717+ */1818+#if (_MIPS_SZLONG == 64) && !defined(__KERNEL__)1319# include <asm-generic/int-l64.h>1420#else1521# include <asm-generic/int-ll64.h>
+2-1
arch/mips/kernel/setup.c
···277277 * not selected. Once that done we can determine the low bound278278 * of usable memory.279279 */280280- reserved_end = max(init_initrd(), PFN_UP(__pa_symbol(&_end)));280280+ reserved_end = max(init_initrd(),281281+ (unsigned long) PFN_UP(__pa_symbol(&_end)));281282282283 /*283284 * max_low_pfn is not a number of pages. The number of pages