Changeset e45f81a in mainline for generic/src/mm/frame.c
- Timestamp:
- 2006-06-26T10:07:05Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7ee0e2f
- Parents:
- 430f12c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/frame.c
r430f12c re45f81a 932 932 * 933 933 */ 934 void * frame_alloc_generic(__u8 order, int flags, int * status, int *pzone)934 void * frame_alloc_generic(__u8 order, int flags, int *pzone) 935 935 { 936 936 ipl_t ipl; … … 968 968 interrupts_restore(ipl); 969 969 970 if (flags & FRAME_ATOMIC) { 971 ASSERT(status != NULL); 972 if (status) 973 *status = FRAME_NO_MEMORY; 970 if (flags & FRAME_ATOMIC) 974 971 return 0; 975 }976 972 977 973 panic("Sleep not implemented.\n"); … … 984 980 spinlock_unlock(&zone->lock); 985 981 interrupts_restore(ipl); 986 987 if (status)988 *status = FRAME_OK;989 982 990 983 if (flags & FRAME_KA)
Note:
See TracChangeset
for help on using the changeset viewer.