-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patches fixing XHCI DbC console when sys-usb is running. Technically not a backport yet, but this version is very close to beeing committed upstream so should qualify as a backport soon.
- Loading branch information
Showing
4 changed files
with
634 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From efc9b6dbe429c64ea2b6c06964cf3d7be1bc68de Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= | ||
<[email protected]> | ||
Date: Sat, 22 Jun 2024 18:08:09 +0200 | ||
Subject: [PATCH] xen/list: add LIST_HEAD_RO_AFTER_INIT | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
Similar to LIST_HEAD_READ_MOSTLY. | ||
|
||
Signed-off-by: Marek Marczykowski-Górecki <[email protected]> | ||
--- | ||
New in v5 | ||
--- | ||
xen/include/xen/list.h | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/xen/include/xen/list.h b/xen/include/xen/list.h | ||
index dc5a8c461b9c..6915a987cd1a 100644 | ||
--- a/xen/include/xen/list.h | ||
+++ b/xen/include/xen/list.h | ||
@@ -42,6 +42,9 @@ struct list_head { | ||
#define LIST_HEAD_READ_MOSTLY(name) \ | ||
struct list_head __read_mostly name = LIST_HEAD_INIT(name) | ||
|
||
+#define LIST_HEAD_RO_AFTER_INIT(name) \ | ||
+ struct list_head __ro_after_init name = LIST_HEAD_INIT(name) | ||
+ | ||
static inline void INIT_LIST_HEAD(struct list_head *list) | ||
{ | ||
list->next = list; | ||
-- | ||
2.45.2 | ||
|
Oops, something went wrong.