aboutsummaryrefslogtreecommitdiff
path: root/arch/um/include/asm/delay.h
AgeCommit message (Collapse)AuthorFilesLines
2020-03-29um: Implement ndelay/udelay in time-travel modeJohannes Berg1-0/+30
In external or inf-cpu time-travel mode, ndelay/udelay currently just waste CPU time since the simulation time doesn't advance. Implement them properly in this case. Note that the "if (time_travel_mode == ...)" parts compile out if CONFIG_UML_TIME_TRAVEL_SUPPORT isn't set, time_travel_mode is defined to TT_MODE_OFF in that case. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
2012-03-25um: a bunch of headers can be killed by using generic-yAl Viro1-18/+0
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
2011-07-25um: clean up delay functionsRichard Weinberger1-6/+4
Both sys-i386 and sys-x86_64 support now ndelay(). The delay functions are based on arch/x86/lib/delay.c. Signed-off-by: Richard Weinberger <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-10-22x86, um: initial part of asm-um moveAl Viro1-0/+20
Signed-off-by: Al Viro <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>