Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109835430
D26649.id77816.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
383 B
Referenced Files
None
Subscribers
None
D26649.id77816.diff
View Options
Index: sys/riscv/riscv/trap.c
===================================================================
--- sys/riscv/riscv/trap.c
+++ sys/riscv/riscv/trap.c
@@ -163,7 +163,9 @@
struct thread *td;
td = curthread;
- td->td_frame = frame;
+
+ KASSERT(td->td_frame == frame,
+ ("%s: td_frame %p != frame %p", __func__, td->td_frame, frame));
syscallenter(td);
syscallret(td);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 11, 3:37 AM (9 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16588385
Default Alt Text
D26649.id77816.diff (383 B)
Attached To
Mode
D26649: Drop a useless assignment, and add a KASSERT to make sure it really was useless.
Attached
Detach File
Event Timeline
Log In to Comment