| .. | .. |
|---|
| 3 | 3 | * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
|---|
| 4 | 4 | */ |
|---|
| 5 | 5 | |
|---|
| 6 | +#include <linux/cpu.h> |
|---|
| 6 | 7 | #include <linux/delay.h> |
|---|
| 7 | 8 | #include <linux/init.h> |
|---|
| 8 | 9 | #include <linux/mm.h> |
|---|
| .. | .. |
|---|
| 353 | 354 | setup_hostinfo(host_info, sizeof host_info); |
|---|
| 354 | 355 | } |
|---|
| 355 | 356 | |
|---|
| 356 | | -void __init check_bugs(void) |
|---|
| 357 | +void __init arch_cpu_finalize_init(void) |
|---|
| 357 | 358 | { |
|---|
| 358 | 359 | arch_check_bugs(); |
|---|
| 359 | 360 | os_check_bugs(); |
|---|
| .. | .. |
|---|
| 387 | 388 | { |
|---|
| 388 | 389 | } |
|---|
| 389 | 390 | |
|---|
| 390 | | -#ifdef CONFIG_PM_SLEEP |
|---|
| 391 | 391 | void uml_pm_wake(void) |
|---|
| 392 | 392 | { |
|---|
| 393 | 393 | pm_system_wakeup(); |
|---|
| 394 | 394 | } |
|---|
| 395 | 395 | |
|---|
| 396 | +#ifdef CONFIG_PM_SLEEP |
|---|
| 396 | 397 | static int init_pm_wake_signal(void) |
|---|
| 397 | 398 | { |
|---|
| 398 | 399 | /* |
|---|