From 6c9be420e167ee7ce45c0309586f09ddab28ac15 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 30 Nov 2023 08:55:53 +0000 Subject: [PATCH] enable can1 --- 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