Skip to contentSkip to conversation

random ia64 acpi fixes

PATCH Pavel Machek 2 participants 3 messages Jun 17, 2002 – Jun 22, 2002

lore
Share & tools
lore
#0 lore raw

Hi!

Quoted 1 line

Won't build on ia64 without this change.

This one is wrong. You should create empty include/asm/save_state.h instead.

Pavel

Quoted 27 lines

diff -urNX ../dontdiff linux-2418/drivers/acpi/system.c linux-acpi/drivers/acpi/system.c

drivers/acpi/system.c +2 -0
@@ -37,7 +37,9 @@
 #include <linux/proc_fs.h>
 #include <asm/uaccess.h>
 #include <asm/acpi.h>
+#ifdef __i386__
 #include <asm/save_state.h>
+#endif
 #include "acpi_bus.h"
 #include "acpi_drivers.h"
 
Signature · 12 lines
-- 
It's always legal to use Linux (TM) systems
http://www.gnu.org/philosophy/why-free.html

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Acpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel
Signature · 2 lines
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
#1 lore raw
Quoted 5 lines

From: Pavel Machek [mailto:[email protected]]

Quoted 1 line

Won't build on ia64 without this change.

This one is wrong. You should create empty
include/asm/save_state.h instead.

Feh, introducing save_state.h to begin with was probably a mistake by me.

(the intention was that save_state.h was a better name than suspend.h since that was actually what the stuff in suspend.h did - save CPU state, but in retrospect, it was probably not worth doing)

-- Andy

#2 lore raw
In reply to Pavel Machek

Hi!

Quoted 10 lines
Quoted 4 lines
Quoted 1 line

Won't build on ia64 without this change.

This one is wrong. You should create empty
include/asm/save_state.h instead.

Feh, introducing save_state.h to begin with was probably a mistake by me.

(the intention was that save_state.h was a better name than suspend.h since that was actually what the stuff in suspend.h did - save CPU state, but in retrospect, it was probably not worth doing)

Agreed, I like suspend.h better.
Pavel

Signature · 2 lines
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa