mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH]: x86: remove extra bootmem.h from arch/x86/mm/init_64.c
@ 2010-04-13 15:47 Prarit Bhargava
  2010-04-14  7:00 ` Amerigo Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Prarit Bhargava @ 2010-04-13 15:47 UTC (permalink / raw)
  To: linux-kernel, x86, mingo, dnelson; +Cc: Prarit Bhargava

[Resubmitting to wider audience...]

bootmem.h is already included in init_64.c.  Remove the second include.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>

diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index ee41bba..a9474fc 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -50,7 +50,6 @@
 #include <asm/numa.h>
 #include <asm/cacheflush.h>
 #include <asm/init.h>
-#include <linux/bootmem.h>
 
 static unsigned long dma_reserve __initdata;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH]: x86: remove extra bootmem.h from arch/x86/mm/init_64.c
  2010-04-13 15:47 [PATCH]: x86: remove extra bootmem.h from arch/x86/mm/init_64.c Prarit Bhargava
@ 2010-04-14  7:00 ` Amerigo Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Amerigo Wang @ 2010-04-14  7:00 UTC (permalink / raw)
  To: Prarit Bhargava; +Cc: linux-kernel, x86, mingo, dnelson

On Tue, Apr 13, 2010 at 11:47:15AM -0400, Prarit Bhargava wrote:
>[Resubmitting to wider audience...]
>
>bootmem.h is already included in init_64.c.  Remove the second include.
>
>Signed-off-by: Prarit Bhargava <prarit@redhat.com>
>

Acked-by: Amerigo Wang <xiyou.wangcong@gmail.com>

Thanks!


>diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
>index ee41bba..a9474fc 100644
>--- a/arch/x86/mm/init_64.c
>+++ b/arch/x86/mm/init_64.c
>@@ -50,7 +50,6 @@
> #include <asm/numa.h>
> #include <asm/cacheflush.h>
> #include <asm/init.h>
>-#include <linux/bootmem.h>
> 
> static unsigned long dma_reserve __initdata;
> 
>--
>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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-14  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-13 15:47 [PATCH]: x86: remove extra bootmem.h from arch/x86/mm/init_64.c Prarit Bhargava
2010-04-14  7:00 ` Amerigo Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome