From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yinghai Lu Subject: [PATCH 04/37] lmb: Export LMB_ERROR again Date: Fri, 14 May 2010 12:45:30 -0700 Message-ID: <1273866363-14249-5-git-send-email-yinghai@kernel.org> References: <1273866363-14249-1-git-send-email-yinghai@kernel.org> Return-path: Received: from rcsinet10.oracle.com ([148.87.113.121]:59681 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757774Ab0ENTsY (ORCPT ); Fri, 14 May 2010 15:48:24 -0400 In-Reply-To: <1273866363-14249-1-git-send-email-yinghai@kernel.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , David Miller , Be Cc: Linus Torvalds , Johannes Weiner , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Yinghai Lu will used by x86 lmb_find_area_node and nobootmem replacement Signed-off-by: Yinghai Lu --- 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 #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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcsinet10.oracle.com ([148.87.113.121]:59681 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757774Ab0ENTsY (ORCPT ); Fri, 14 May 2010 15:48:24 -0400 From: Yinghai Lu Subject: [PATCH 04/37] lmb: Export LMB_ERROR again Date: Fri, 14 May 2010 12:45:30 -0700 Message-ID: <1273866363-14249-5-git-send-email-yinghai@kernel.org> In-Reply-To: <1273866363-14249-1-git-send-email-yinghai@kernel.org> References: <1273866363-14249-1-git-send-email-yinghai@kernel.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , David Miller , Benjamin Herrenschmidt Cc: Linus Torvalds , Johannes Weiner , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Yinghai Lu Message-ID: <20100514194530.cCHbyj40OBOz-W6lVagV5n8BPKCNV6YywvLkDvysiK0@z> will used by x86 lmb_find_area_node and nobootmem replacement Signed-off-by: Yinghai Lu --- 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 #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