'\" t .\" Title: cpupri_set .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CPUPRI_SET" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Driver Basics" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" cpupri_set \- update the cpu priority setting .SH "SYNOPSIS" .HP \w'void\ cpupri_set('u .BI "void cpupri_set(struct\ cpupri\ *\ " "cp" ", int\ " "cpu" ", int\ " "newpri" ");" .SH "ARGUMENTS" .PP \fIcp\fR .RS 4 The cpupri context .RE .PP \fIcpu\fR .RS 4 The target cpu .RE .PP \fInewpri\fR .RS 4 The priority (INVALID\-RT99) to assign to this CPU .RE .SH "NOTE" .PP Assumes cpu_rq(cpu)\->lock is locked .SH "RETURN" .PP (void) .SH "COPYRIGHT" .br