Changeset 7e13972 in mainline for kernel/test/mm/slab2.c
- Timestamp:
- 2006-12-12T18:51:06Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cce6acf
- Parents:
- 96348adc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/mm/slab2.c
r96348adc r7e13972 32 32 #include <proc/thread.h> 33 33 #include <arch.h> 34 #include <panic.h>35 34 #include <mm/frame.h> 36 35 #include <memstr.h> … … 89 88 data1 = slab_alloc(cache1, FRAME_ATOMIC); 90 89 if (!data1) { 91 panic("Incorrect memory size - use another test."); 90 printf("Incorrect memory size - use another test."); 91 return; 92 92 } 93 93 memsetb((uintptr_t)data1, ITEM_SIZE, 0);
Note:
See TracChangeset
for help on using the changeset viewer.