Commit 3b6f463
syslog_inbuffer:Fixed the lock reentry issue in single core + spinlock scenario
Summary:
When spinlock.h is enabled in a single-core scenario, spinlock reentry and exceptions may occur when spin_lock_irqsave_wo_note is used in syslog_add_intbuffer
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>1 parent ad71980 commit 3b6f463
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | 107 | | |
110 | 108 | | |
111 | 109 | | |
| |||
118 | 116 | | |
119 | 117 | | |
120 | 118 | | |
121 | | - | |
122 | | - | |
123 | 119 | | |
124 | 120 | | |
125 | 121 | | |
| |||
201 | 197 | | |
202 | 198 | | |
203 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
204 | 203 | | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
0 commit comments