summaryrefslogtreecommitdiff
path: root/timer.c
blob: 8941ab70fff5d2df1c796f172529c61062b23937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <sys/time.h>

#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;
}
'>
authorKeerthy <j-keerthy@ti.com>2016-04-28 15:35:48 +0530
committerTony Lindgren <tony@atomide.com>2016-04-28 08:08:47 -0700
commit266e62f9753951e040192dccae2f505e34dd8278 (patch)
treedac39ee6a857d0b71c0d3d51cd8eb5b2776e70ab
parentcf9b7d5e9cfd36d7efab52e9cc74589c6eae4974 (diff)
ARM: dts: am57xx-beagle-x15: Include the commercial grade thresholds
am57xx-beagle-x15 have commercial grade samples whose thermal thresholds lower than dra7. Hence correcting the same. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat