diff options
author | Pavel Machek <pavel@ucw.cz> | 2005-04-16 18:25:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:25:24 -0400 |
commit | 438510f6f079e94df294936b5bd8a7fd679cd1c9 (patch) | |
tree | 9c26a3eb527e95ed19e74d2c1d58e46f2d6908df /arch/i386 | |
parent | 74ad74c1581c9a27582945ca01ffdb88fc774171 (diff) |
[PATCH] pm_message_t: more fixes in common and i386
I thought I'm done with fixing u32 vs. pm_message_t ... unfortunately
that turned out not to be the case as Russel King pointed out. Here are
fixes for Documentation and common code (mainly system devices).
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/kernel/apic.c | 2 | ||||
-rw-r--r-- | arch/i386/kernel/i8259.c | 2 | ||||
-rw-r--r-- | arch/i386/kernel/io_apic.c | 2 | ||||
-rw-r--r-- | arch/i386/kernel/nmi.c | 2 | ||||
-rw-r--r-- | arch/i386/kernel/time.c | 2 | ||||
-rw-r--r-- | arch/i386/oprofile/nmi_int.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c index 35c1751ea0b0..e3879f7625c2 100644 --- a/arch/i386/kernel/apic.c +++ b/arch/i386/kernel/apic.c | |||
@@ -548,7 +548,7 @@ static struct { | |||
548 | unsigned int apic_thmr; | 548 | unsigned int apic_thmr; |
549 | } apic_pm_state; | 549 | } apic_pm_state; |
550 | 550 | ||
551 | static int lapic_suspend(struct sys_device *dev, u32 state) | 551 | static int lapic_suspend(struct sys_device *dev, pm_message_t state) |
552 | { | 552 | { |
553 | unsigned long flags; | 553 | unsigned long flags; |
554 | 554 | ||
diff --git a/arch/i386/kernel/i8259.c b/arch/i386/kernel/i8259.c index 560bef1afb3b..2c4813b47e57 100644 --- a/arch/i386/kernel/i8259.c +++ b/arch/i386/kernel/i8259.c | |||
@@ -262,7 +262,7 @@ static int i8259A_resume(struct sys_device *dev) | |||
262 | return 0; | 262 | return 0; |
263 | } | 263 | } |
264 | 264 | ||
265 | static int i8259A_suspend(struct sys_device *dev, u32 state) | 265 | static int i8259A_suspend(struct sys_device *dev, pm_message_t state) |
266 | { | 266 | { |
267 | save_ELCR(irq_trigger); | 267 | save_ELCR(irq_trigger); |
268 | return 0; | 268 | return 0; |
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c index 9c1350e811d0..5e0d55be5435 100644 --- a/arch/i386/kernel/io_apic.c +++ b/arch/i386/kernel/io_apic.c | |||
@@ -2299,7 +2299,7 @@ struct sysfs_ioapic_data { | |||
2299 | }; | 2299 | }; |
2300 | static struct sysfs_ioapic_data * mp_ioapic_data[MAX_IO_APICS]; | 2300 | static struct sysfs_ioapic_data * mp_ioapic_data[MAX_IO_APICS]; |
2301 | 2301 | ||
2302 | static int ioapic_suspend(struct sys_device *dev, u32 state) | 2302 | static int ioapic_suspend(struct sys_device *dev, pm_message_t state) |
2303 | { | 2303 | { |
2304 | struct IO_APIC_route_entry *entry; | 2304 | struct IO_APIC_route_entry *entry; |
2305 | struct sysfs_ioapic_data *data; | 2305 | struct sysfs_ioapic_data *data; |
diff --git a/arch/i386/kernel/nmi.c b/arch/i386/kernel/nmi.c index f5b0c5081bd6..2f89d000f954 100644 --- a/arch/i386/kernel/nmi.c +++ b/arch/i386/kernel/nmi.c | |||
@@ -265,7 +265,7 @@ void enable_timer_nmi_watchdog(void) | |||
265 | 265 | ||
266 | static int nmi_pm_active; /* nmi_active before suspend */ | 266 | static int nmi_pm_active; /* nmi_active before suspend */ |
267 | 267 | ||
268 | static int lapic_nmi_suspend(struct sys_device *dev, u32 state) | 268 | static int lapic_nmi_suspend(struct sys_device *dev, pm_message_t state) |
269 | { | 269 | { |
270 | nmi_pm_active = nmi_active; | 270 | nmi_pm_active = nmi_active; |
271 | disable_lapic_nmi_watchdog(); | 271 | disable_lapic_nmi_watchdog(); |
diff --git a/arch/i386/kernel/time.c b/arch/i386/kernel/time.c index 9b55e30e4490..4d75b373f90e 100644 --- a/arch/i386/kernel/time.c +++ b/arch/i386/kernel/time.c | |||
@@ -376,7 +376,7 @@ void notify_arch_cmos_timer(void) | |||
376 | 376 | ||
377 | static long clock_cmos_diff, sleep_start; | 377 | static long clock_cmos_diff, sleep_start; |
378 | 378 | ||
379 | static int timer_suspend(struct sys_device *dev, u32 state) | 379 | static int timer_suspend(struct sys_device *dev, pm_message_t state) |
380 | { | 380 | { |
381 | /* | 381 | /* |
382 | * Estimate time zone so that set_time can update the clock | 382 | * Estimate time zone so that set_time can update the clock |
diff --git a/arch/i386/oprofile/nmi_int.c b/arch/i386/oprofile/nmi_int.c index 3492d961d3f1..255e4702d185 100644 --- a/arch/i386/oprofile/nmi_int.c +++ b/arch/i386/oprofile/nmi_int.c | |||
@@ -32,7 +32,7 @@ static int nmi_enabled = 0; | |||
32 | 32 | ||
33 | #ifdef CONFIG_PM | 33 | #ifdef CONFIG_PM |
34 | 34 | ||
35 | static int nmi_suspend(struct sys_device *dev, u32 state) | 35 | static int nmi_suspend(struct sys_device *dev, pm_message_t state) |
36 | { | 36 | { |
37 | if (nmi_enabled == 1) | 37 | if (nmi_enabled == 1) |
38 | nmi_stop(); | 38 | nmi_stop(); |