/******************************************************************************1* arch/ia64/xen/suspend.c2*3* Copyright (c) 2008 Isaku Yamahata <yamahata at valinux co jp>4* VA Linux Systems Japan K.K.5*6* This program is free software; you can redistribute it and/or modify7* it under the terms of the GNU General Public License as published by8* the Free Software Foundation; either version 2 of the License, or9* (at your option) any later version.10*11* This program is distributed in the hope that it will be useful,12* but WITHOUT ANY WARRANTY; without even the implied warranty of13* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14* GNU General Public License for more details.15*16* You should have received a copy of the GNU General Public License17* along with this program; if not, write to the Free Software18* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA19*20* suspend/resume21*/2223#include <xen/xen-ops.h>24#include <asm/xen/hypervisor.h>25#include "time.h"2627void28xen_mm_pin_all(void)29{30/* nothing */31}3233void34xen_mm_unpin_all(void)35{36/* nothing */37}3839void40xen_arch_pre_suspend()41{42/* nothing */43}4445void46xen_arch_post_suspend(int suspend_cancelled)47{48if (suspend_cancelled)49return;5051xen_ia64_enable_opt_feature();52/* add more if necessary */53}5455void xen_arch_resume(void)56{57xen_timer_resume_on_aps();58}596061