Merge branch '3.10-fixes' into mips-for-linux-next
authorRalf Baechle <ralf@linux-mips.org>
Tue, 2 Jul 2013 15:19:04 +0000 (17:19 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 12 Jul 2013 16:11:43 +0000 (18:11 +0200)
This that should have been fixed but weren't, way to much, intrusive
and late.

1  2 
arch/mips/Kconfig
arch/mips/bcm63xx/Kconfig
arch/mips/cavium-octeon/Makefile
arch/mips/cavium-octeon/setup.c
arch/mips/include/asm/mmu_context.h
arch/mips/include/uapi/asm/fcntl.h
arch/mips/kernel/traps.c
arch/mips/mm/tlbex.c
arch/mips/sibyte/Platform

Simple merge
Simple merge
@@@ -12,8 -12,8 +12,8 @@@
  CFLAGS_octeon-platform.o = -I$(src)/../../../scripts/dtc/libfdt
  CFLAGS_setup.o = -I$(src)/../../../scripts/dtc/libfdt
  
 -obj-y := cpu.o setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o
 +obj-y := cpu.o setup.o octeon-platform.o octeon-irq.o csrc-octeon.o
- obj-y += dma-octeon.o flash_setup.o
+ obj-y += dma-octeon.o
  obj-y += octeon-memcpy.o
  obj-y += executive/
  
Simple merge
Simple merge
@@@ -5,9 -5,10 +5,10 @@@
   *
   * Copyright (C) 1995, 96, 97, 98, 99, 2003, 05 Ralf Baechle
   */
 -#ifndef _ASM_FCNTL_H
 -#define _ASM_FCNTL_H
 +#ifndef _UAPI_ASM_FCNTL_H
 +#define _UAPI_ASM_FCNTL_H
  
+ #include <asm/sgidefs.h>
  
  #define O_APPEND      0x0008
  #define O_DSYNC               0x0010  /* used to be O_SYNC, see below */
Simple merge
@@@ -2167,9 -2178,23 +2193,23 @@@ static void __cpuinit build_r4000_tlb_m
        pr_debug("Wrote TLB modify handler fastpath (%u instructions).\n",
                 (unsigned int)(p - handle_tlbm));
  
 -      dump_handler("r4000_tlb_modify", handle_tlbm, ARRAY_SIZE(handle_tlbm));
 +      dump_handler("r4000_tlb_modify", handle_tlbm, handle_tlbm_size);
  }
  
 -                         (unsigned long)handle_tlbl + sizeof(handle_tlbl));
+ static void __cpuinit flush_tlb_handlers(void)
+ {
+       local_flush_icache_range((unsigned long)handle_tlbl,
 -                         (unsigned long)handle_tlbs + sizeof(handle_tlbs));
++                         (unsigned long)handle_tlbl_end);
+       local_flush_icache_range((unsigned long)handle_tlbs,
 -                         (unsigned long)handle_tlbm + sizeof(handle_tlbm));
++                         (unsigned long)handle_tlbs_end);
+       local_flush_icache_range((unsigned long)handle_tlbm,
 -      local_flush_icache_range((unsigned long)tlbmiss_handler_setup_pgd_array,
 -                         (unsigned long)tlbmiss_handler_setup_pgd_array + sizeof(tlbmiss_handler_setup_pgd_array));
++                         (unsigned long)handle_tlbm_end);
+ #ifdef CONFIG_MIPS_PGD_C0_CONTEXT
++      local_flush_icache_range((unsigned long)tlbmiss_handler_setup_pgd,
++                         (unsigned long)tlbmiss_handler_setup_pgd_end);
+ #endif
+ }
  void __cpuinit build_tlb_refill_handler(void)
  {
        /*
Simple merge