-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 116799 b: refs/heads/master c: 91834e6 h: refs/heads/master i: 116797: 6d25aff 116795: a447373 116791: 5fa84d1 116783: d8e206e 116767: 5838d8f 116735: 93efc13 v: v3
- Loading branch information
Isaku Yamahata
authored and
Tony Luck
committed
Oct 17, 2008
1 parent
b83f3cc
commit 8d3ea71
Showing
5 changed files
with
100 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: a0df655ccd0669bd3efc85346dc816833dd1197f | ||
refs/heads/master: 91834e685d2059b69c4e8e3d707f35d94438de94 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/****************************************************************************** | ||
* arch/ia64/xen/suspend.c | ||
* | ||
* Copyright (c) 2008 Isaku Yamahata <yamahata at valinux co jp> | ||
* VA Linux Systems Japan K.K. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
* | ||
* suspend/resume | ||
*/ | ||
|
||
#include <xen/xen-ops.h> | ||
#include <asm/xen/hypervisor.h> | ||
#include "time.h" | ||
|
||
void | ||
xen_mm_pin_all(void) | ||
{ | ||
/* nothing */ | ||
} | ||
|
||
void | ||
xen_mm_unpin_all(void) | ||
{ | ||
/* nothing */ | ||
} | ||
|
||
void xen_pre_device_suspend(void) | ||
{ | ||
/* nothing */ | ||
} | ||
|
||
void | ||
xen_pre_suspend() | ||
{ | ||
/* nothing */ | ||
} | ||
|
||
void | ||
xen_post_suspend(int suspend_cancelled) | ||
{ | ||
if (suspend_cancelled) | ||
return; | ||
|
||
xen_ia64_enable_opt_feature(); | ||
/* add more if necessary */ | ||
} | ||
|
||
void xen_arch_resume(void) | ||
{ | ||
xen_timer_resume_on_aps(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ | |
*/ | ||
|
||
extern struct pv_time_ops xen_time_ops __initdata; | ||
void xen_timer_resume_on_aps(void); |