Changes in kernel/generic/src/syscall/syscall.c [5e984f2:9dae191e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/syscall/syscall.c
r5e984f2 r9dae191e 60 60 { 61 61 unative_t rc; 62 ipl_t ipl;63 62 64 63 /* Do userpace accounting */ 65 ipl = interrupts_disable();66 spinlock_lock(&THREAD->lock);67 64 thread_update_accounting(true); 68 spinlock_unlock(&THREAD->lock);69 interrupts_restore(ipl);70 65 71 66 #ifdef CONFIG_UDEBUG … … 105 100 106 101 /* Do kernel accounting */ 107 ipl = interrupts_disable();108 spinlock_lock(&THREAD->lock);109 102 thread_update_accounting(false); 110 spinlock_unlock(&THREAD->lock);111 interrupts_restore(ipl);112 103 113 104 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.