diff options
| author | Viresh Kumar <[email protected]> | 2014-02-28 14:15:22 +0530 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2014-03-04 12:30:29 +0100 |
| commit | 38edbb0b913d73713c23dcc742669f7e78b52aa7 (patch) | |
| tree | f1a6fe60a4dd971adcda98a29595637225328470 /include/linux/debugobjects.h | |
| parent | c24a4a369419c360c323865b91198878275c1481 (diff) | |
timer: Make sure TIMER_FLAG_MASK bits are free in allocated base
Currently we are using two lowest bit of base for internal purpose and
so they both should be zero in the allocated address. The code was
doing the right thing before this patch came in: commit c5f66e99b
(timer: Implement TIMER_IRQSAFE)
Tejun probably forgot to update this piece of code which checks if the
lowest 'n' bits are zero or not and so wasn't updated according to the
new flag. Lets use TIMER_FLAG_MASK in the calculations here.
[ tglx: Massaged changelog ]
Signed-off-by: Viresh Kumar <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/9144e10d7e854a0aa8a673332adec356d81a923c.1393576981.git.viresh.kumar@linaro.org
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions