aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-12-04 12:31:02 +0100
committerAlexander Gordeev <agordeev@linux.ibm.com>2024-12-15 15:13:43 +0100
commit2ca248f52afa4f55fd3fc2e7c5e123385b192f14 (patch)
tree9b062dfe7aff27eb67641219a2dfb23c85152de2
parents390/preempt: Remove special pre MARCH_HAS_Z196_FEATURES implementation (diff)
downloadwireguard-linux-2ca248f52afa4f55fd3fc2e7c5e123385b192f14.tar.xz
wireguard-linux-2ca248f52afa4f55fd3fc2e7c5e123385b192f14.zip
s390/preempt: Adjust coding style
Just remove a line break which reduces readability. Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
-rw-r--r--arch/s390/include/asm/preempt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/include/asm/preempt.h b/arch/s390/include/asm/preempt.h
index e100dd32f766..a55e1767b4d4 100644
--- a/arch/s390/include/asm/preempt.h
+++ b/arch/s390/include/asm/preempt.h
@@ -95,8 +95,7 @@ static __always_inline bool __preempt_count_dec_and_test(void)
*/
static __always_inline bool should_resched(int preempt_offset)
{
- return unlikely(READ_ONCE(get_lowcore()->preempt_count) ==
- preempt_offset);
+ return unlikely(READ_ONCE(get_lowcore()->preempt_count) == preempt_offset);
}
#define init_task_preempt_count(p) do { } while (0)