Rev 5078 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5078 | Rev 6296 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | #include |
35 | #include |
36 | #include |
36 | #include |
37 | #include |
37 | #include |
38 | #include |
38 | #include |
Line -... | Line 39... | ||
- | 39 | ||
Line 39... | Line 40... | ||
39 | 40 | #define TTM_MEMORY_ALLOC_RETRIES 4 |
|
40 | 41 | ||
41 | 42 | ||
Line 65... | Line 66... | ||
65 | // ttm_page_alloc_fini(); |
66 | // ttm_page_alloc_fini(); |
66 | // ttm_dma_page_alloc_fini(); |
67 | // ttm_dma_page_alloc_fini(); |
Line 67... | Line 68... | ||
67 | 68 | ||
68 | - | ||
Line -... | Line 69... | ||
- | 69 | ||
- | 70 | } |
|
- | 71 | ||
- | 72 | void ttm_mem_global_free(struct ttm_mem_global *glob, |
|
- | 73 | uint64_t amount) |
|
- | 74 | { |
|
Line -... | Line 75... | ||
- | 75 | ||
- | 76 | } |
|
- | 77 | EXPORT_SYMBOL(ttm_mem_global_free); |
|
- | 78 | ||
- | 79 | int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, |
|
- | 80 | bool no_wait, bool interruptible) |
|
- | 81 | { |
|
- | 82 | /** |
|
- | 83 | * Normal allocations of kernel memory are registered in |
|
- | 84 | * all zones. |
|
- | 85 | */ |
|
Line 69... | Line 86... | ||
69 | } |
86 | |
70 | EXPORT_SYMBOL(ttm_mem_global_release); |
87 | return 0; |
71 | 88 | } |
|
72 | 89 | EXPORT_SYMBOL(ttm_mem_global_alloc); |