···11331133 }11341134}1135113511361136-static void __init kernel_physical_mapping_init(void)11361136+static void __init init_kpte_bitmap(void)11371137{11381138 unsigned long i;11391139-#ifdef CONFIG_DEBUG_PAGEALLOC11401140- unsigned long mem_alloced = 0UL;11411141-#endif11421142-11431143- read_obp_memory("reg", &pall[0], &pall_ents);1144113911451140 for (i = 0; i < pall_ents; i++) {11461141 unsigned long phys_start, phys_end;···11441149 phys_end = phys_start + pall[i].reg_size;1145115011461151 mark_kpte_bitmap(phys_start, phys_end);11521152+ }11531153+}1147115411551155+static void __init kernel_physical_mapping_init(void)11561156+{11481157#ifdef CONFIG_DEBUG_PAGEALLOC11581158+ unsigned long i, mem_alloced = 0UL;11591159+11601160+ for (i = 0; i < pall_ents; i++) {11611161+ unsigned long phys_start, phys_end;11621162+11631163+ phys_start = pall[i].phys_addr;11641164+ phys_end = phys_start + pall[i].reg_size;11651165+11491166 mem_alloced += kernel_map_range(phys_start, phys_end,11501167 PAGE_KERNEL);11511151-#endif11521168 }1153116911541154-#ifdef CONFIG_DEBUG_PAGEALLOC11551170 printk("Allocated %ld bytes for kernel page tables.\n",11561171 mem_alloced);11571172···1403139814041399 inherit_prom_mappings();1405140014011401+ read_obp_memory("reg", &pall[0], &pall_ents);14021402+14031403+ init_kpte_bitmap();14041404+14061405 /* Ok, we can use our TLB miss and window trap handlers safely. */14071406 setup_tba();14081407···19131904 "wrpr %0, %1, %%pstate"19141905 : "=r" (pstate)19151906 : "i" (PSTATE_IE));19161916- if (tlb_type == spitfire) {19071907+ if (tlb_type == hypervisor) {19081908+ sun4v_mmu_demap_all();19091909+ } else if (tlb_type == spitfire) {19171910 for (i = 0; i < 64; i++) {19181911 /* Spitfire Errata #32 workaround */19191912 /* NOTE: Always runs on spitfire, so no
+9
include/asm-sparc/unistd.h
···333333334334#define NR_SYSCALLS 315335335336336+/* Sparc 32-bit only has the "setresuid32", "getresuid32" variants,337337+ * it never had the plain ones and there is no value to adding those338338+ * old versions into the syscall table.339339+ */340340+#define __IGNORE_setresuid341341+#define __IGNORE_getresuid342342+#define __IGNORE_setresgid343343+#define __IGNORE_getresgid344344+336345#ifdef __KERNEL__337346#define __ARCH_WANT_IPC_PARSE_VERSION338347#define __ARCH_WANT_OLD_READDIR