Bug 10637

Summary: sh migor_defconfig build breakage
Product: Platform Specific/Hardware Reporter: Adrian Bunk (bunk)
Component: OtherAssignee: platform_other
Status: CLOSED CODE_FIX    
Severity: normal CC: mingo
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.26-rc1-git Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 10492    

Description Adrian Bunk 2008-05-08 13:43:48 UTC
Subject         : sh migor_defconfig build breakage
Submitter       : Adrian Bunk <bunk@kernel.org>
References      : http://lkml.org/lkml/2008/5/8/395
Comment 1 Adrian Bunk 2008-05-08 13:44:12 UTC
Caused by:

commit aa6b54461cc5c0019b9d792adf3176b444c10763
Author: Mike Travis <travis@sgi.com>
Date:   Mon Mar 31 08:41:55 2008 -0700

    asm-generic: add node_to_cpumask_ptr macro
    
    Create a simple macro to always return a pointer to the node_to_cpumask(node
    value.  This relies on compiler optimization to remove the extra indirection
    
        #define node_to_cpumask_ptr(v, node)            \
            cpumask_t _##v = node_to_cpumask(node), *v = &_##v
    
    For those systems with a large cpumask size, then a true pointer
    to the array element can be used:
    
        #define node_to_cpumask_ptr(v, node)            \
            cpumask_t *v = &(node_to_cpumask_map[node])
    
    A node_to_cpumask_ptr_next() macro is provided to access another
    node_to_cpumask value.
    
    The other change is to always include asm-generic/topology.h moving the
    ifdef CONFIG_NUMA to this same file.
    
    Note: there are no references to either of these new macros in this patch,
    only the definition.
    
    Based on 2.6.25-rc5-mm1
    
    # alpha
    Cc: Richard Henderson <rth@twiddle.net>
    
    # fujitsu
    Cc: David Howells <dhowells@redhat.com>
    
    # ia64
    Cc: Tony Luck <tony.luck@intel.com>
    
    # powerpc
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Anton Blanchard <anton@samba.org>
    
    # sparc
    Cc: David S. Miller <davem@davemloft.net>
    Cc: William L. Irwin <wli@holomorphy.com>
    
    # x86
    Cc: H. Peter Anvin <hpa@zytor.com>
    
    Signed-off-by: Mike Travis <travis@sgi.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
Comment 2 Adrian Bunk 2008-05-11 01:33:27 UTC
fixed by commit 1e0f50ae11ab5838009994a3266accc1319c90d9