H26624 s 00034/00000/00000 d D 1.1 02/03/13 20:31:04 patch 2 1 cC cF1 cK60412 cO-rw-rw-r-- e s 00000/00000/00000 d D 1.0 02/03/13 20:31:04 patch 1 0 c BitKeeper file /home/marcelo/bk/linux-2.4/arch/mips64/sgi-ip32/ip32-reset.c cBtorvalds@athlon.transmeta.com|ChangeSet|20020205173056|16047|c1d11a41ed024864 cHplucky.distro.conectiva cK54112 cParch/mips64/sgi-ip32/ip32-reset.c cR1549aef9e930693 cV4 cX0x821 cZ-03:00 e u U f e 0 f x 0x821 t T I 2 /* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2001 Keith M Wesolowski * Copyright (C) 2001 Paul Mundt */ #include #include #include static void ip32_machine_restart(char *cmd) { ArcReboot(); } static inline void ip32_machine_halt(void) { ArcEnterInteractiveMode(); } static void ip32_machine_power_off(void) { ip32_machine_halt(); } void __init ip32_reboot_setup(void) { _machine_restart = ip32_machine_restart; _machine_halt = ip32_machine_halt; _machine_power_off = ip32_machine_power_off; } E 2 I 1 E 1