armbian_build/patch/kernel/archive/imx6-5.13/Linux-4.2.6-systemd-timer.patch
Igor Pečovnik e21e82b546
Upgrading sunxi, sunxi64, imx6, jetson-nano, mvebu and mvebu64 EDGE to 5.13 (#3042)
* Upgrading sunxi and sunxi64 EDGE to 5.13

Both variants tested for building

* Bump imx6 to 5.13.y

Tested

* Bump Jetson nano kernel to 5.13.y

* Move mvebu and mvebu64 edge to 5.13.y
2021-07-21 00:46:51 +02:00

12 lines
472 B
Diff

--- ./fs/timerfd.c.orig 2015-11-09 15:37:56.000000000 -0700
+++ ./fs/timerfd.c 2015-11-14 08:20:51.720068530 -0700
@@ -134,7 +134,7 @@ static void timerfd_setup_cancel(struct
{
if ((ctx->clockid == CLOCK_REALTIME ||
ctx->clockid == CLOCK_REALTIME_ALARM) &&
- (flags & TFD_TIMER_ABSTIME) && (flags & TFD_TIMER_CANCEL_ON_SET)) {
+ (flags & TFD_TIMER_CANCEL_ON_SET)) {
if (!ctx->might_cancel) {
ctx->might_cancel = true;
spin_lock(&cancel_lock);