| 1 | #include <mem/alloc.h> |
|---|---|
| 2 | #include <structures/cpu_mask.h> |
| 3 | |
| 4 | struct cpu_mask *cpu_mask_create(void) { |
| 5 | return kmalloc(sizeof(struct cpu_mask), ALLOC_FLAGS_ZERO); |
| 6 | } |
| 7 | |
| 8 | void cpu_mask_free(struct cpu_mask *m) { |
| 9 | if (m) { |
| 10 | kfree(m); |
| 11 | } |
| 12 | } |
| 13 |