From e3e12f52b214121840b44c91de5b3e5af5d3eb84 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 06 Nov 2023 03:04:41 +0000 Subject: [PATCH] rk3568 rt init --- kernel/include/net/sock.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/include/net/sock.h b/kernel/include/net/sock.h index 79dde11..c080fc9 100644 --- a/kernel/include/net/sock.h +++ b/kernel/include/net/sock.h @@ -472,7 +472,7 @@ u32 sk_ack_backlog; u32 sk_max_ack_backlog; kuid_t sk_uid; -#if IS_ENABLED(CONFIG_DEBUG_SPINLOCK) || IS_ENABLED(CONFIG_DEBUG_LOCK_ALLOC) +#if IS_ENABLED(CONFIG_DEBUG_SPINLOCK) || IS_ENABLED(CONFIG_DEBUG_LOCK_ALLOC) || IS_ENABLED(CONFIG_PREEMPT_RT) spinlock_t sk_peer_lock; #else /* sk_peer_lock is in the ANDROID_KABI_RESERVE(1) field below */ @@ -517,7 +517,7 @@ struct sock_reuseport __rcu *sk_reuseport_cb; struct rcu_head sk_rcu; -#if IS_ENABLED(CONFIG_DEBUG_SPINLOCK) || IS_ENABLED(CONFIG_DEBUG_LOCK_ALLOC) +#if IS_ENABLED(CONFIG_DEBUG_SPINLOCK) || IS_ENABLED(CONFIG_DEBUG_LOCK_ALLOC) || IS_ENABLED(CONFIG_PREEMPT_RT) ANDROID_KABI_RESERVE(1); #else ANDROID_KABI_USE(1, spinlock_t sk_peer_lock); -- Gitblit v1.6.2