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 */
ied
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-05-30 19:53:16 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-06-01 09:42:08 +0200
commite1512ee08f00c17918093e75be4a3fa297bcaf9b (patch)
treefb4908e63228738dae1a4765373fd015af167940
parentae2c6221821303f3fc73a673c287a0e7d696c397 (diff)
drm/arcpgu: Use lockless gem BO free callback
No dev->struct_mutex anywhere to be seen. Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Carlos Palminha <palminha@synopsys.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1464630800-30786-25-git-send-email-daniel.vetter@ffwll.ch
Diffstat
a9d17bdec3a5f (diff)
watchdog: mei: avoid oops in watchdog unregister code path
With commit c7d3df3 "mei: use internal watchdog device registration tracking" will crash the kernel on shutdown path on systems where ME watchdog is not present. Since the watchdog was never initialized in such case the WDOG_UNREGISTERED bit is never set and the system crashes on access to uninitialized variables down the path. To solve the issue we query for NULL on watchdog driver driver_data to check whether the device is registered. This is handled in the driver and doesn't depend on watchdog core internals. Cc: Borislav Petkov <bp@alien8.de> Cc: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Jerry Snitselaar <jerry.snitselaar@oracle.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/i2c/busses')