summaryrefslogtreecommitdiff
path: root/epoll2.h
blob: 1ecf5f0b83ad5806feb3a683eaf8612ff57881e2 (plain)
1
2
3
4
5
6
7
#ifndef __EPOLL_H
#define __EPOLL_H

extern void set_epoll_descriptor(int fd_epoll, int action, int fd_toadd, int events);
extern int set_epoll_descriptor2(int fd_epoll, int action, int fd_toadd, int events);

#endif /* __EPOLL_H */
class='ctrl'>
authorLee Jones <lee.jones@linaro.org>2016-05-05 14:29:39 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2016-05-06 11:46:36 -0700
commit3d87fa1d47c10c71684e1eca15cb051746ab1d56 (patch)
tree03d70b9ead994d59d25067990b99b43c08c9fb87
parent9735a22799b9214d17d3c231fe377fc852f042e9 (diff)
remoteproc: core: Task sync during rproc_fw_boot()
By default, rproc_fw_boot() needs to wait for rproc to be configured, but a race may occur when using rpmsg/virtio. In this case, it can be called locally in a safe manor. This patch represents two usecases: - External call (via exported rproc_boot()), which waits - Internal call can use 'nowait' version of rproc_boot() Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat