setup-common.c (eadcbfa58ae8693f0d6a0f591d8f51d55cf068e1) setup-common.c (92d9dfda8b547cc292af27e11e11c9eff3bb574f)
1/*
2 * Common boot and setup code for both 32-bit and 64-bit.
3 * Extracted from arch/powerpc/kernel/setup_64.c.
4 *
5 * Copyright (C) 2001 PPC64 Team, IBM Corp
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 914 unchanged lines hidden (view full) ---

923
924 init_mm.start_code = (unsigned long)_stext;
925 init_mm.end_code = (unsigned long) _etext;
926 init_mm.end_data = (unsigned long) _edata;
927 init_mm.brk = klimit;
928
929#ifdef CONFIG_PPC_MM_SLICES
930#ifdef CONFIG_PPC64
1/*
2 * Common boot and setup code for both 32-bit and 64-bit.
3 * Extracted from arch/powerpc/kernel/setup_64.c.
4 *
5 * Copyright (C) 2001 PPC64 Team, IBM Corp
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 914 unchanged lines hidden (view full) ---

923
924 init_mm.start_code = (unsigned long)_stext;
925 init_mm.end_code = (unsigned long) _etext;
926 init_mm.end_data = (unsigned long) _edata;
927 init_mm.brk = klimit;
928
929#ifdef CONFIG_PPC_MM_SLICES
930#ifdef CONFIG_PPC64
931 init_mm.context.addr_limit = TASK_SIZE_128TB;
931 init_mm.context.addr_limit = DEFAULT_MAP_WINDOW_USER64;
932#else
933#error "context.addr_limit not initialized."
934#endif
935#endif
936
937#ifdef CONFIG_PPC_64K_PAGES
938 init_mm.context.pte_frag = NULL;
939#endif

--- 27 unchanged lines hidden ---
932#else
933#error "context.addr_limit not initialized."
934#endif
935#endif
936
937#ifdef CONFIG_PPC_64K_PAGES
938 init_mm.context.pte_frag = NULL;
939#endif

--- 27 unchanged lines hidden ---