Changeset aeb6f25 in mainline
- Timestamp:
- 2010-04-26T20:09:02Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b4ad39f
- Parents:
- acda8f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/sysinfo/sysinfo.c
racda8f0 raeb6f25 729 729 binary data since we request a dry run */ 730 730 sysinfo_return_t ret = sysinfo_get_item_uspace(path_ptr, path_size, true); 731 732 spinlock_unlock(&sysinfo_lock); 733 interrupts_restore(ipl); 734 731 735 int rc; 732 736 … … 737 741 rc = EINVAL; 738 742 739 spinlock_unlock(&sysinfo_lock);740 interrupts_restore(ipl);741 742 743 return (unative_t) rc; 743 744 } … … 770 771 binary data since we request a dry run */ 771 772 sysinfo_return_t ret = sysinfo_get_item_uspace(path_ptr, path_size, true); 773 774 spinlock_unlock(&sysinfo_lock); 775 interrupts_restore(ipl); 776 772 777 int rc; 773 778 … … 779 784 rc = EINVAL; 780 785 781 spinlock_unlock(&sysinfo_lock);782 interrupts_restore(ipl);783 784 786 return (unative_t) rc; 785 787 } … … 814 816 /* Get the item */ 815 817 sysinfo_return_t ret = sysinfo_get_item_uspace(path_ptr, path_size, false); 818 819 spinlock_unlock(&sysinfo_lock); 820 interrupts_restore(ipl); 821 816 822 int rc; 817 823 … … 831 837 free(ret.data.data); 832 838 833 spinlock_unlock(&sysinfo_lock);834 interrupts_restore(ipl);835 836 839 return (unative_t) rc; 837 840 }
Note:
See TracChangeset
for help on using the changeset viewer.