/* * Make sure the RI bit is deleted from the PSW. If the user did not * switch off RI before the system call the process will get a * specification exception otherwise.
*/
regs->psw.mask &= ~PSW_MASK_RI;
}
/* * The signum argument is unused. In older kernels it was used to * specify a real-time signal. For backwards compatibility user space * should pass a valid real-time signal number (the signum argument * was checked in older kernels).
*/
SYSCALL_DEFINE2(s390_runtime_instr, int, command, int, signum)
{ struct runtime_instr_cb *cb;
if (!test_facility(64)) return -EOPNOTSUPP;
if (command == S390_RUNTIME_INSTR_STOP) {
disable_runtime_instr(); return 0;
}
if (command != S390_RUNTIME_INSTR_START) return -EINVAL;
/* now load the control block to make it available */
preempt_disable();
current->thread.ri_cb = cb;
load_runtime_instr_cb(cb);
preempt_enable(); return 0;
}
Messung V0.5
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.