lkml.org 
[lkml]   [2010]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 04/37] lmb: Export LMB_ERROR again
    Date
    will used by x86 lmb_find_area_node and nobootmem replacement

    Signed-off-by: Yinghai Lu <yinghai@kernel.org>
    ---
    include/linux/lmb.h | 1 +
    lib/lmb.c | 2 --
    2 files changed, 1 insertions(+), 2 deletions(-)

    diff --git a/include/linux/lmb.h b/include/linux/lmb.h
    index d88c92d..d959d23 100644
    --- a/include/linux/lmb.h
    +++ b/include/linux/lmb.h
    @@ -19,6 +19,7 @@
    #include <asm/lmb.h>

    #define INIT_LMB_REGIONS 128
    +#define LMB_ERROR (~(phys_addr_t)0)

    struct lmb_region {
    phys_addr_t base;
    diff --git a/lib/lmb.c b/lib/lmb.c
    index 2bdbe87..3caf58c 100644
    --- a/lib/lmb.c
    +++ b/lib/lmb.c
    @@ -26,8 +26,6 @@ int lmb_debug;
    static struct lmb_region lmb_memory_init_regions[INIT_LMB_REGIONS + 1];
    struct lmb_region lmb_reserved_init_regions[INIT_LMB_REGIONS + 1];

    -#define LMB_ERROR (~(phys_addr_t)0)
    -
    /* inline so we don't get a warning when pr_debug is compiled out */
    static inline const char *lmb_type_name(struct lmb_type *type)
    {
    --
    1.6.4.2


    \
     
     \ /
      Last update: 2010-05-14 21:51    [W:0.044 / U:0.380 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site