summaryrefslogtreecommitdiff
path: root/timer.h
blob: 68809a68d44227f44aa530d41c09dfc3470380d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef TIMER_H
#define TIMER_H

#include <sys/time.h>

extern void set_itimer_interval_value(struct itimerval *itimer, unsigned long sec,
				      unsigned long usec);

extern int get_user_hz(void);

#endif /* TIMER_H */
ption value='1'>ssdiff
authorJoerg Roedel <jroedel@suse.de>2016-11-08 15:08:26 +0100
committerJoerg Roedel <jroedel@suse.de>2016-11-08 15:08:26 +0100
commitbea64033dd7b5fb6296eda8266acab6364ce1554 (patch)
treecb561548adf7e4712f9c055f22b7c10122402f38
parent8c82d6ec5abcf9691d37f329bf5f42f6868405db (diff)
iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
It turns out that the disable_dmar_iommu() code-path tried to get the device_domain_lock recursivly, which will dead-lock when this code runs on dmar removal. Fix both code-paths that could lead to the dead-lock. Fixes: 55d940430ab9 ('iommu/vt-d: Get rid of domain->iommu_lock') Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat