mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ppc64: remove asm/bootinfo.h include
@ 2005-05-06  4:27 Paul Mackerras
  0 siblings, 0 replies; only message in thread
From: Paul Mackerras @ 2005-05-06  4:27 UTC (permalink / raw)
  To: akpm, torvalds; +Cc: anton, linux-kernel, olh

The defines in bootinfo.h are not used, so the include can be removed.
According to Ben, birecs are not used on ppc64:

  on ppc64, we made the decision of enforcing the presence of an
  OF device-tree and either an OF-like client interface or a kexec
  like flattened tree.
  so if your bootloader want to say things to the kernel,
  it can do so by adding properties to the device-tree


compile-tested with defconfig

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
---
Index: linux-2.6.12-rc3-olh/arch/ppc64/boot/main.c
===================================================================
--- linux-2.6.12-rc3-olh.orig/arch/ppc64/boot/main.c
+++ linux-2.6.12-rc3-olh/arch/ppc64/boot/main.c
@@ -14,7 +14,6 @@
 #include <linux/string.h>
 #include <asm/processor.h>
 #include <asm/page.h>
-#include <asm/bootinfo.h>
 
 extern void *finddevice(const char *);
 extern int getprop(void *, const char *, void *, int);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-06  4:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-06  4:27 [PATCH] ppc64: remove asm/bootinfo.h include Paul Mackerras

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

all inboxes | Powered by JetHome®