From: Albert H. <he...@us...> - 2009-10-25 18:45:45
|
Update of /cvsroot/gc-linux/linux/kernel In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv29988/kernel Added Files: kexec.c Log Message: Forward to v.2.6.30. --- NEW FILE: kexec.c --- /* * kexec.c - kexec system call * Copyright (C) 2002-2004 Eric Biederman <ebi...@xm...> * * This source code is licensed under the GNU General Public License, * Version 2. See the file COPYING for more details. */ #include <linux/capability.h> #include <linux/mm.h> #include <linux/file.h> #include <linux/slab.h> #include <linux/fs.h> #include <linux/kexec.h> #include <linux/mutex.h> #include <linux/list.h> #include <linux/highmem.h> #include <linux/syscalls.h> #include <linux/reboot.h> [...1465 lines suppressed...] Enable_irqs: local_irq_enable(); Enable_cpus: enable_nonboot_cpus(); device_power_up(PMSG_RESTORE); Resume_devices: device_resume(PMSG_RESTORE); Resume_console: resume_console(); thaw_processes(); Restore_console: pm_restore_console(); mutex_unlock(&pm_mutex); } #endif Unlock: mutex_unlock(&kexec_mutex); return error; } |