linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: msokolov@ivan.Harhan.ORG (Michael Sokolov)
To: linuxppc-dev@lists.linuxppc.org
Subject: Adirondack port minor patch
Date: Mon, 26 Nov 01 12:41:37 PST	[thread overview]
Message-ID: <0111262041.AA22080@ivan.Harhan.ORG> (raw)


Hi there,

Below is a little patch for the Adirondack port. Fixes one compiler warning and
and header comments.

MS

diff --minimal -Nru a/arch/ppc/platforms/adir.h b/arch/ppc/platforms/adir.h
--- a/arch/ppc/platforms/adir.h	Mon Nov 26 12:33:10 2001
+++ b/arch/ppc/platforms/adir.h	Mon Nov 26 12:33:10 2001
@@ -1,13 +1,13 @@
 /*
- * arch/ppc/kernel/adir.h
+ * arch/ppc/platforms/adir.h
  *
  * Definitions for SBS Adirondack board support
  *
  * By Michael Sokolov <msokolov@ivan.Harhan.ORG>
  */

-#ifndef __PPC_KERNEL_ADIR_H
-#define __PPC_KERNEL_ADIR_H
+#ifndef __PPC_PLATFORMS_ADIR_H
+#define __PPC_PLATFORMS_ADIR_H

 /*
  * SBS Adirondack definitions
@@ -92,4 +92,4 @@
 #define	ADIR_IRQ_VT82C686_INTR	30
 #define	ADIR_IRQ_INTERPROC	31

-#endif /* __PPC_KERNEL_ADIR_H */
+#endif /* __PPC_PLATFORMS_ADIR_H */
diff --minimal -Nru a/arch/ppc/platforms/adir_pci.c b/arch/ppc/platforms/adir_pci.c
--- a/arch/ppc/platforms/adir_pci.c	Mon Nov 26 12:33:10 2001
+++ b/arch/ppc/platforms/adir_pci.c	Mon Nov 26 12:33:10 2001
@@ -1,5 +1,5 @@
 /*
- * arch/ppc/kernel/adir_pci.c
+ * arch/ppc/platforms/adir_pci.c
  *
  * PCI support for SBS Adirondack
  *
diff --minimal -Nru a/arch/ppc/platforms/adir_pic.c b/arch/ppc/platforms/adir_pic.c
--- a/arch/ppc/platforms/adir_pic.c	Mon Nov 26 12:33:10 2001
+++ b/arch/ppc/platforms/adir_pic.c	Mon Nov 26 12:33:10 2001
@@ -1,5 +1,5 @@
 /*
- * arch/ppc/kernel/adir_pic.c
+ * arch/ppc/platforms/adir_pic.c
  *
  * Interrupt controller support for SBS Adirondack
  *
diff --minimal -Nru a/arch/ppc/platforms/adir_setup.c b/arch/ppc/platforms/adir_setup.c
--- a/arch/ppc/platforms/adir_setup.c	Mon Nov 26 12:33:10 2001
+++ b/arch/ppc/platforms/adir_setup.c	Mon Nov 26 12:33:10 2001
@@ -1,5 +1,5 @@
 /*
- * arch/ppc/kernel/adir_setup.c
+ * arch/ppc/platforms/adir_setup.c
  *
  * Board setup routines for SBS Adirondack
  *
@@ -181,7 +181,7 @@
 	/*
 	 * On the Adirondack we use bi_recs and pass the pointer to them in R3.
 	 */
-	parse_bootinfo(r3 + KERNELBASE);
+	parse_bootinfo((struct bootinfo *) (r3 + KERNELBASE));

 	/* Remember, isa_io_base is virtual but isa_mem_base is physical! */
 	isa_io_base = ADIR_PCI32_VIRT_IO_BASE;

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

                 reply	other threads:[~2001-11-26 20:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0111262041.AA22080@ivan.Harhan.ORG \
    --to=msokolov@ivan.harhan.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).