mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
9131cb44ff
Introduce EN7581 SoC support with currently rfb board supported. This is a new 64bit SoC from Airoha that is currently almost fully supported upstream with only the DTS missing. Setting source-only waiting for the full upstream support to be completed. Link: https://github.com/openwrt/openwrt/pull/16730 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From 38d2c6aafc5bbcad3ec36f6d3356b3debd40f6fd Mon Sep 17 00:00:00 2001
|
|
From: Christian Marangi <ansuelsmth@gmail.com>
|
|
Date: Wed, 16 Oct 2024 20:26:05 +0200
|
|
Subject: [RFC PATCH v2 1/3] spinlock: extend guard with spinlock_bh variants
|
|
|
|
Extend guard APIs with missing raw/spinlock_bh variants.
|
|
|
|
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
---
|
|
include/linux/spinlock.h | 13 +++++++++++++
|
|
1 file changed, 13 insertions(+)
|
|
|
|
--- a/include/linux/spinlock.h
|
|
+++ b/include/linux/spinlock.h
|
|
@@ -515,6 +515,10 @@ DEFINE_LOCK_GUARD_1(raw_spinlock_irq, ra
|
|
raw_spin_lock_irq(_T->lock),
|
|
raw_spin_unlock_irq(_T->lock))
|
|
|
|
+DEFINE_LOCK_GUARD_1(raw_spinlock_bh, raw_spinlock_t,
|
|
+ raw_spin_lock_bh(_T->lock),
|
|
+ raw_spin_unlock_bh(_T->lock))
|
|
+
|
|
DEFINE_LOCK_GUARD_1(raw_spinlock_irqsave, raw_spinlock_t,
|
|
raw_spin_lock_irqsave(_T->lock, _T->flags),
|
|
raw_spin_unlock_irqrestore(_T->lock, _T->flags),
|
|
@@ -528,6 +532,10 @@ DEFINE_LOCK_GUARD_1(spinlock_irq, spinlo
|
|
spin_lock_irq(_T->lock),
|
|
spin_unlock_irq(_T->lock))
|
|
|
|
+DEFINE_LOCK_GUARD_1(spinlock_bh, spinlock_t,
|
|
+ spin_lock_bh(_T->lock),
|
|
+ spin_unlock_bh(_T->lock))
|
|
+
|
|
DEFINE_LOCK_GUARD_1(spinlock_irqsave, spinlock_t,
|
|
spin_lock_irqsave(_T->lock, _T->flags),
|
|
spin_unlock_irqrestore(_T->lock, _T->flags),
|