// SPDX-License-Identifier: GPL-2.0 /* * misc.c: Miscellaneous prom functions that don't belong * anywhere else. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/sched.h> #include <asm/sun3-head.h> #include <asm/idprom.h> #include <asm/openprom.h> #include <asm/oplib.h> #include <asm/movs.h> /* Reset and reboot the machine with the command 'bcommand'. */
void prom_reboot(char *bcommand) { unsigned long flags; local_irq_save(flags); (*(romvec->pv_reboot))(bcommand); local_irq_restore(flags); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 33 | 94.29% | 1 | 50.00% |
Geert Uytterhoeven | 2 | 5.71% | 1 | 50.00% |
Total | 35 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 6 | 100.00% | 1 | 100.00% |
Total | 6 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 36 | 94.74% | 1 | 50.00% |
Geert Uytterhoeven | 2 | 5.26% | 1 | 50.00% |
Total | 38 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 74 | 100.00% | 1 | 100.00% |
Total | 74 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 10 | 100.00% | 1 | 100.00% |
Total | 10 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 10 | 100.00% | 1 | 100.00% |
Total | 10 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 222 | 97.37% | 1 | 25.00% |
Geert Uytterhoeven | 4 | 1.75% | 1 | 25.00% |
Greg Kroah-Hartman | 1 | 0.44% | 1 | 25.00% |
Adrian Bunk | 1 | 0.44% | 1 | 25.00% |
Total | 228 | 100.00% | 4 | 100.00% |