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
index b703583779fb0856194df2a9d5892a0cc8aaf1e8,e3fd50cc709cff428fcd97d9273f1d0fcbe40ee4..4e952043c922177590a01540af71304ae51dc120
@@@ -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
index 314c79b76d2a7f704247f18018a2b38a407e9868,6e9e74648f98804c91ec4a103833d732006b3f60..6ca432f00860e3bf1c128e0e9d7e3f25ab1e3656
@@@ -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
index 357e0fd65e94288700b7969bbe1015a773f89454,2f88fd3a64cf5d9aa021e2789ef1888dd645d453..9ab0f907a52c60b2efc61a59e7340aa1f1543d89
@@@ -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