public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Oleg Drokin <green@linuxhacker.ru>
To: marcelo@conectiva.com.br, linux-kernel@vger.kernel.org
Subject: [2.4] current bk ipmi build fix
Date: Wed, 25 Jun 2003 22:23:05 +0400	[thread overview]
Message-ID: <20030625182304.GA12492@linuxhacker.ru> (raw)

Hello!

   Not that I really have the hardware, but it breaks my "allyesconfig" build.
   So here is this compile fix for ipmi driver in current 2.4 bk tree.
   (I see that Alan have some similarly named fix in his tree and
    actually there is whole new version of the driver on the net somewhere,
    but it is unclear when it is planned to be pushed to 2.4 tree,
    so I'd better post this now ;) ).

Bye,
    Oleg
===== drivers/char/ipmi/ipmi_kcs_intf.c 1.3 vs edited =====
--- 1.3/drivers/char/ipmi/ipmi_kcs_intf.c	Sat May 24 01:12:48 2003
+++ edited/drivers/char/ipmi/ipmi_kcs_intf.c	Wed Jun 25 22:09:39 2003
@@ -1032,9 +1032,9 @@
 
 #include <linux/acpi.h>
 /* A real hack, but everything's not there yet in 2.4. */
-#define COMPILER_DEPENDENT_UINT64 unsigned long
-#include <../drivers/acpi/include/acpi.h>
-#include <../drivers/acpi/include/actypes.h>
+#include <acpi/acpi.h>
+#include <acpi/actypes.h>
+#include <acpi/actbl.h>
 
 struct SPMITable {
 	s8	Signature[4];
@@ -1059,7 +1059,7 @@
 static unsigned long acpi_find_bmc(void)
 {
 	acpi_status       status;
-	acpi_table_header *spmi;
+	struct acpi_table_header *spmi;
 	static unsigned long io_base = 0;
 
 	if (io_base != 0)

                 reply	other threads:[~2003-06-25 18:11 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=20030625182304.GA12492@linuxhacker.ru \
    --to=green@linuxhacker.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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