Changeset a5b5f17 in mainline for kernel/generic/src/syscall/syscall.c
- Timestamp:
- 2024-01-21T16:36:15Z (4 months ago)
- Branches:
- master
- Children:
- 1a1e124
- Parents:
- ed7e057 (diff), d23712e (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/syscall/syscall.c
red7e057 ra5b5f17 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.