1. 01 5月, 2010 3 次提交
    • D
      MIPS: Don't vmap things at address zero. · c8f3cc0b
      David Daney 提交于
      In the 64-bit kernel we use swapper_pg_dir for three different things.
      
      1) xuseg mappings for kernel threads.
      
      2) vmap mappings for all kernel-space accesses in xkseg.
      
      3) vmap mappings for kernel modules in ksseg (kseg2).
      
      Due to how the TLB refill handlers work, any mapping established in
      xkseg or ksseg will also establish a xuseg mapping that should never
      be used by the kernel.
      
      In order to be able to use exceptions to trap NULL pointer
      dereferences, we need to ensure that nothing is mapped at address
      zero.  Since vmap mappings in xkseg are reflected in xuseg, this means
      we need to ensure that there are no vmap mappings established at the
      start of xkseg.  So we move back VMALLOC_START to avoid establishing
      vmap mappings at the start of xkseg.
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      To: linux-mips@linux-mips.org
      Patchwork: http://patchwork.linux-mips.org/patch/1129/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      c8f3cc0b
    • G
      MIPS: TXx9: Add missing MODULE_ALIAS definitions for TXx9 platform devices · b0b4ce38
      Geert Uytterhoeven 提交于
      This enables autoloading of the TXx9 sound driver on RBTX4927.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
      Cc: Linux MIPS Mailing List <linux-mips@linux-mips.org>
      Patchwork: http://patchwork.linux-mips.org/patch/1101/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      b0b4ce38
    • R
      MIPS: PNX8550: Fix build error, broken by: · 7270be03
      Ralf Baechle 提交于
          commit 5a0e3ad6
          Author: Tejun Heo <tj@kernel.org>
          Date:   Wed Mar 24 17:04:11 2010 +0900
      
              include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
      
      Since a while the few headers included don't drag in <linux/kernel.h>
      anymore, thus no more prototype of printk() resulting in:
      
        CC      arch/mips/nxp/pnx8550/common/reset.o
      /home/ralf/src/linux/upstream-linus/arch/mips/nxp/pnx8550/common/reset.c: In function 'pnx8550_machine_restart':
      /home/ralf/src/linux/upstream-linus/arch/mips/nxp/pnx8550/common/reset.c:31: error: implicit declaration of function 'printk'
      /home/ralf/src/linux/upstream-linus/arch/mips/nxp/pnx8550/common/reset.c:33: error: 'NULL' undeclared (first use in this function)
      /home/ralf/src/linux/upstream-linus/arch/mips/nxp/pnx8550/common/reset.c:33: error: (Each undeclared identifier is reported only once
      /home/ralf/src/linux/upstream-linus/arch/mips/nxp/pnx8550/common/reset.c:33: error: for each function it appears in.)
      make[3]: *** [arch/mips/nxp/pnx8550/common/reset.o] Error 1
      
      Fixed by including <linux/kernel.h>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      7270be03
  2. 30 4月, 2010 12 次提交
  3. 29 4月, 2010 20 次提交
  4. 28 4月, 2010 5 次提交