OSDN Git Service

posix-timers: Cleanup the flag/flags confusion
authorThomas Gleixner <tglx@linutronix.de>
Tue, 30 Jul 2019 22:33:52 +0000 (00:33 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 1 Aug 2019 18:51:24 +0000 (20:51 +0200)
commit21670ee44f1e3565030bcabc62178b8e5eb2fce7
tree4129761a8cc8ef126c715aa1853521cd9670ea09
parentc7e6d704a0097e59667495cf52dcc4e1085e620b
posix-timers: Cleanup the flag/flags confusion

do_timer_settime() has a 'flags' argument and uses 'flag' for the interrupt
flags, which is confusing at best.

Rename the argument so 'flags' can be used for interrupt flags as usual.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190730223828.782664411@linutronix.de
kernel/time/posix-timers.c