diff options
| author | Simon Glass <[email protected]> | 2019-10-20 21:37:47 -0600 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2019-11-03 07:20:27 +0800 |
| commit | a478a26cd00bbe14d51952b9ae3620415fbdf2b2 (patch) | |
| tree | 1032cb4ead808bfe33fc84ed63fdf4886115eb20 /include/linux/kernel.h | |
| parent | 096c71e34bac7551aa228bbcb9e1c867ad9e5d07 (diff) | |
x86: timer: Use a separate flag for whether timer is inited
At present the value of the timer base is used to determine whether the
timer has been set up or not. It is true that the timer is essentially
never exactly 0 when it is read. However 'time 0' may indicate the time
that the machine was reset so it is useful to be able to denote that.
Update the code to use a separate flag instead.
Signed-off-by: Simon Glass <[email protected]>
Tested-by: Aiden Park <[email protected]>
Reviewed-by: Aiden Park <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions
