Changeset f2cb80a in mainline for kernel/generic/src/syscall/syscall.c
- Timestamp:
- 2024-02-23T17:57:23Z (3 months ago)
- Children:
- 192019f
- Parents:
- 86f862c (diff), 90ba06c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-02-23 17:57:23)
- git-committer:
- GitHub <noreply@…> (2024-02-23 17:57:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/syscall/syscall.c
r86f862c rf2cb80a 141 141 { 142 142 /* Do userpace accounting */ 143 i rq_spinlock_lock(&THREAD->lock, true);143 ipl_t ipl = interrupts_disable(); 144 144 thread_update_accounting(true); 145 i rq_spinlock_unlock(&THREAD->lock, true);145 interrupts_restore(ipl); 146 146 147 147 #ifdef CONFIG_UDEBUG … … 191 191 192 192 /* Do kernel accounting */ 193 i rq_spinlock_lock(&THREAD->lock, true);193 ipl = interrupts_disable(); 194 194 thread_update_accounting(false); 195 i rq_spinlock_unlock(&THREAD->lock, true);195 interrupts_restore(ipl); 196 196 197 197 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.