make the linux-ppc packags be in synch with other platforms
[tangerine.git] / arch / common / boot / grub2 / util / i386 / pc / misc.c
blob8490fbf70bfda1931b34118cc4194fe4f20382fa
1 /*
2 * GRUB -- GRand Unified Bootloader
3 * Copyright (C) 2005,2007 Free Software Foundation, Inc.
5 * GRUB is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * GRUB is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
19 #include <setjmp.h>
21 #include <grub/util/misc.h>
23 void
24 grub_reboot (void)
26 longjmp (main_env, 1);
29 void
30 grub_halt (int no_apm __attribute__ ((unused)))
32 grub_reboot ();