lkml.org 
[lkml]   [2006]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[Patch:009/011] Configureable NODES_SHIFT (for m32r)

    This is to m32r.

    Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>

    include/asm-m32r/numnodes.h | 15 ---------------
    arch/m32r/Kconfig | 5 +++++
    2 files changed, 5 insertions(+), 15 deletions(-)

    Index: pxm_ver4/arch/m32r/Kconfig
    ===================================================================
    --- pxm_ver4.orig/arch/m32r/Kconfig 2006-03-29 16:43:15.437635223 +0900
    +++ pxm_ver4/arch/m32r/Kconfig 2006-03-29 20:07:58.554672254 +0900
    @@ -285,6 +285,11 @@ config NUMA
    depends on SMP && BROKEN
    default n

    +config NODES_SHIFT
    + int
    + default "1"
    + depends on NEED_MULTIPLE_NODES
    +
    # turning this on wastes a bunch of space.
    # Summit needs it only when NUMA is on
    config BOOT_IOREMAP
    Index: pxm_ver4/include/asm-m32r/numnodes.h
    ===================================================================
    --- pxm_ver4.orig/include/asm-m32r/numnodes.h 2006-03-29 16:43:15.437635223 +0900
    +++ /dev/null 1970-01-01 00:00:00.000000000 +0000
    @@ -1,15 +0,0 @@
    -#ifndef _ASM_NUMNODES_H_
    -#define _ASM_NUMNODES_H_
    -
    -#include <linux/config.h>
    -
    -#ifdef CONFIG_DISCONTIGMEM
    -
    -#if defined(CONFIG_CHIP_M32700)
    -#define NODES_SHIFT 1 /* Max 2 Nodes */
    -#endif /* CONFIG_CHIP_M32700 */
    -
    -#endif /* CONFIG_DISCONTIGMEM */
    -
    -#endif /* _ASM_NUMNODES_H_ */
    -
    --
    Yasunori Goto


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-03-30 04:20    [W:2.436 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site