pm.c (2c74a0cefa463a7a483b07ba4d2ea8e4ec7b996c) | pm.c (29cb3cd208dd0e4471bb80bec4facc49ceb199fa) |
---|---|
1/* 2 * SA1100 Power Management Routines 3 * 4 * Copyright (c) 2001 Cliff Brake <cbrake@accelent.com> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License. 8 * --- 19 unchanged lines hidden (view full) --- 28#include <linux/time.h> 29 30#include <mach/hardware.h> 31#include <asm/memory.h> 32#include <asm/suspend.h> 33#include <asm/system.h> 34#include <asm/mach/time.h> 35 | 1/* 2 * SA1100 Power Management Routines 3 * 4 * Copyright (c) 2001 Cliff Brake <cbrake@accelent.com> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License. 8 * --- 19 unchanged lines hidden (view full) --- 28#include <linux/time.h> 29 30#include <mach/hardware.h> 31#include <asm/memory.h> 32#include <asm/suspend.h> 33#include <asm/system.h> 34#include <asm/mach/time.h> 35 |
36extern void sa1100_finish_suspend(unsigned long); | 36extern int sa1100_finish_suspend(unsigned long); |
37 38#define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x 39#define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x] 40 41/* 42 * List of global SA11x0 peripheral registers to preserve. 43 * More ones like CP and general purpose register values are preserved 44 * on the stack and then the stack pointer is stored last in sleep.S. --- 83 unchanged lines hidden --- | 37 38#define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x 39#define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x] 40 41/* 42 * List of global SA11x0 peripheral registers to preserve. 43 * More ones like CP and general purpose register values are preserved 44 * on the stack and then the stack pointer is stored last in sleep.S. --- 83 unchanged lines hidden --- |