#ifndef LOCKME_H #define LOCKME_H #include #include "die.h" static inline void xlockme(void) { if (mlockall(MCL_CURRENT | MCL_FUTURE) != 0) panic("Cannot lock pages!\n"); } static inline void xunlockme(void) { munlockall(); } #endif /* LOCKME_H */ Atom feed' href='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2016-06-28 09:23:58 +0100
committerLee Jones <lee.jones@linaro.org>2016-06-30 07:44:21 +0100
commit002f17bc54ff4005260d8e6e6700de97f5b25679 (patch)
tree0de0b8209c1cbb28fd6200f5a3288dd2a2fc6c4c
parent19599304625b74c95bff318c735928eec668b1ca (diff)
usb: dwc3: st: Inform the reset framework that our reset line may be shared
On the STiH410 B2120 development board the MiPHY28lp shares its reset line with the Synopsys DWC3 SuperSpeed (SS) USB 3.0 Dual-Role-Device (DRD). New functionality in the reset subsystems forces consumers to be explicit when requesting shared/exclusive reset lines. Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>