From: Daniel Wagner <wagi@monom.org>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>,
LKML <linux-kernel@vger.kernel.org>,
linux-rt-users@vger.kernel.org,
Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [ANNOUNCE] v5.14-rc4-rt5
Date: Thu, 5 Aug 2021 08:53:51 +0200 [thread overview]
Message-ID: <20210805065351.c7eieltqihduwisr@beryllium.lan> (raw)
In-Reply-To: <20210805063123.mj4rggncauziryv4@beryllium.lan>
On Thu, Aug 05, 2021 at 08:31:23AM +0200, Daniel Wagner wrote:
> Just a heads up. I get these build errors:
I suppose this should be:
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -127,33 +127,33 @@ struct task_group;
((state) & (__TASK_STOPPED | __TASK_TRACED | TASK_PARKED | TASK_DEAD))
#ifdef CONFIG_DEBUG_ATOMIC_SLEEP
-# debug_normal_state_change(state_value) \
+#define debug_normal_state_change(state_value) \
do { \
WARN_ON_ONCE(is_special_task_state(state_value)); \
current->task_state_change = _THIS_IP_; \
} while (0)
-# debug_special_state_change(state_value) \
+#define debug_special_state_change(state_value) \
do { \
WARN_ON_ONCE(!is_special_task_state(state_value)); \
current->task_state_change = _THIS_IP_; \
} while (0)
-# debug_rtlock_wait_set_state() \
+#define debug_rtlock_wait_set_state() \
do { \
current->saved_state_change = current->task_state_change;\
current->task_state_change = _THIS_IP_; \
} while (0)
-# debug_rtlock_wait_restore_state() \
+#define debug_rtlock_wait_restore_state() \
do { \
current->task_state_change = current->saved_state_change;\
} while (0)
#else
-# debug_normal_state_change(cond) do { } while (0)
-# debug_special_state_change(cond) do { } while (0)
-# debug_rtlock_wait_set_state() do { } while (0)
-# debug_rtlock_wait_restore_state() do { } while (0)
+#define debug_normal_state_change(cond) do { } while (0)
+#define debug_special_state_change(cond) do { } while (0)
+#define debug_rtlock_wait_set_state() do { } while (0)
+#define debug_rtlock_wait_restore_state() do { } while (0)
#endif
next prev parent reply other threads:[~2021-08-05 6:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-04 16:50 [ANNOUNCE] v5.14-rc4-rt5 Sebastian Andrzej Siewior
2021-08-05 6:31 ` Daniel Wagner
2021-08-05 6:53 ` Daniel Wagner [this message]
2021-08-05 7:00 ` Daniel Wagner
2021-08-05 7:32 ` Daniel Bristot de Oliveira
2021-08-05 9:06 ` Sebastian Andrzej Siewior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210805065351.c7eieltqihduwisr@beryllium.lan \
--to=wagi@monom.org \
--cc=bigeasy@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).