#include #include #include "timer.h" void set_itimer_interval_value(struct itimerval *itimer, unsigned long sec, unsigned long usec) { itimer->it_interval.tv_sec = sec; itimer->it_interval.tv_usec = usec; itimer->it_value.tv_sec = sec; itimer->it_value.tv_usec = usec; } int get_user_hz(void) { return sysconf(_SC_CLK_TCK); } ype='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2014-04-29 11:54:47 +0200
committerMichal Marek <mmarek@suse.cz>2014-05-14 22:43:04 +0200
commit5180d5f483486859c0a822c9020ec459f4504b59 (patch)
tree311341f201df4f2ce9d99a1fd1ed6ffc8aa84bec /scripts/Makefile.fwinst
parent3fbb43df983acf6f10a122e43e73daf6528ad7ed (diff)
firmware: Simplify directory creation
When building the firmware blobs, use a simple loop to create directories in $(objtree), like in Makefile.build. This simplifies the rules and also makes it possible to set $(objtree) to '.' later. Before this change, a dependency on $(objtree)/<dir> would be satisfied by <dir> in $(srctree). When installing the firmware blobs, call mkdir like in Makefile.modinst. Cc: David Woodhouse <dwmw2@infradead.org> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/Makefile.fwinst')