* [2.4 patch] fix IPMI compile with new ACPI
@ 2003-06-21 23:54 Adrian Bunk
2003-06-22 21:37 ` Corey Minyard
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2003-06-21 23:54 UTC (permalink / raw)
To: Marcelo Tosatti, Corey Minyard; +Cc: linux-kernel, Alan Cox
The patch below fixes the compilation of ipmi_kcs_intf.c in 2.4.22-pre1.
The changes are:
- remove two now unneeded includes (since the files moved there was a
compile error, but they are indirectly included via linux/acpi.h)
- remove unneeded COMPILER_DEPENDENT_UINT64; besides that it's
unneeded it was wrong on 32 bit architectures
- s/acpi_table_header/struct acpi_table_header/
-ac contains a similar patch that differs because it also adds
#include's for acpi/acpi.h and acpi/actypes.h (indirectly included via
linux/acpi.h).
cu
Adrian
--- linux-2.4.22-pre1-full/drivers/char/ipmi/ipmi_kcs_intf.c.old 2003-06-22 01:28:28.000000000 +0200
+++ linux-2.4.22-pre1-full/drivers/char/ipmi/ipmi_kcs_intf.c 2003-06-22 01:40:12.000000000 +0200
@@ -1031,10 +1031,6 @@
from Hewlett-Packard simple bmc.c, a GPL KCS driver. */
#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>
struct SPMITable {
s8 Signature[4];
@@ -1059,7 +1055,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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.4 patch] fix IPMI compile with new ACPI
2003-06-21 23:54 [2.4 patch] fix IPMI compile with new ACPI Adrian Bunk
@ 2003-06-22 21:37 ` Corey Minyard
0 siblings, 0 replies; 2+ messages in thread
From: Corey Minyard @ 2003-06-22 21:37 UTC (permalink / raw)
To: Adrian Bunk, Marcelo Tosatti; +Cc: Corey Minyard, linux-kernel, Alan Cox
Cool, they've fixed the ACPI stuff. It looks good, please apply.
-Corey
Adrian Bunk wrote:
>The patch below fixes the compilation of ipmi_kcs_intf.c in 2.4.22-pre1.
>
>The changes are:
>- remove two now unneeded includes (since the files moved there was a
> compile error, but they are indirectly included via linux/acpi.h)
>- remove unneeded COMPILER_DEPENDENT_UINT64; besides that it's
> unneeded it was wrong on 32 bit architectures
>- s/acpi_table_header/struct acpi_table_header/
>
>-ac contains a similar patch that differs because it also adds
>#include's for acpi/acpi.h and acpi/actypes.h (indirectly included via
>linux/acpi.h).
>
>cu
>Adrian
>
>--- linux-2.4.22-pre1-full/drivers/char/ipmi/ipmi_kcs_intf.c.old 2003-06-22 01:28:28.000000000 +0200
>+++ linux-2.4.22-pre1-full/drivers/char/ipmi/ipmi_kcs_intf.c 2003-06-22 01:40:12.000000000 +0200
>@@ -1031,10 +1031,6 @@
> from Hewlett-Packard simple bmc.c, a GPL KCS driver. */
>
> #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>
>
> struct SPMITable {
> s8 Signature[4];
>@@ -1059,7 +1055,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)
>
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-22 21:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-21 23:54 [2.4 patch] fix IPMI compile with new ACPI Adrian Bunk
2003-06-22 21:37 ` Corey Minyard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.