'\" t .\" Title: wake_up_atomic_t .\" 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 "WAKE_UP_ATOMIC_T" "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" wake_up_atomic_t \- Wake up a waiter on a atomic_t .SH "SYNOPSIS" .HP \w'void\ wake_up_atomic_t('u .BI "void wake_up_atomic_t(atomic_t\ *\ " "p" ");" .SH "ARGUMENTS" .PP \fIp\fR .RS 4 The atomic_t being waited on, a kernel virtual address .RE .SH "DESCRIPTION" .PP Wake up anyone waiting for the atomic_t to go to zero\&. .PP Abuse the bit\-waker function and its waitqueue hash table set (the atomic_t check is done by the waiter\*(Aqs wake function, not the by the waker itself)\&. .SH "COPYRIGHT" .br