Rev 379 | Rev 430 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 379 | Rev 381 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | * @param max_order The biggest allocable size will be 2^max_order. |
41 | * @param max_order The biggest allocable size will be 2^max_order. |
42 | * @param op Operations for new buddy system. |
42 | * @param op Operations for new buddy system. |
43 | * |
43 | * |
44 | * @return New buddy system. |
44 | * @return New buddy system. |
45 | */ |
45 | */ |
46 | buddy_system_t *buddy_system_create(__u8 max_order, buddy_operations_t *op) |
46 | buddy_system_t *buddy_system_create(__u8 max_order, buddy_system_operations_t *op) |
47 | { |
47 | { |
48 | buddy_system_t *b; |
48 | buddy_system_t *b; |
49 | int i; |
49 | int i; |
50 | 50 | ||
51 | ASSERT(max_order < BUDDY_SYSTEM_INNER_BLOCK); |
51 | ASSERT(max_order < BUDDY_SYSTEM_INNER_BLOCK); |