diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_allocator_bitmap.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a_allocator_bitmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_allocator_bitmap.c b/drivers/gpu/nvgpu/gk20a/gk20a_allocator_bitmap.c index 03ccbe85..f98e0782 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a_allocator_bitmap.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a_allocator_bitmap.c | |||
@@ -371,7 +371,7 @@ static const struct gk20a_allocator_ops bitmap_ops = { | |||
371 | }; | 371 | }; |
372 | 372 | ||
373 | 373 | ||
374 | int gk20a_bitmap_allocator_init(struct gk20a_allocator *__a, | 374 | int gk20a_bitmap_allocator_init(struct gk20a *g, struct gk20a_allocator *__a, |
375 | const char *name, u64 base, u64 length, | 375 | const char *name, u64 base, u64 length, |
376 | u64 blk_size, u64 flags) | 376 | u64 blk_size, u64 flags) |
377 | { | 377 | { |
@@ -426,7 +426,7 @@ int gk20a_bitmap_allocator_init(struct gk20a_allocator *__a, | |||
426 | wmb(); | 426 | wmb(); |
427 | a->inited = true; | 427 | a->inited = true; |
428 | 428 | ||
429 | gk20a_init_alloc_debug(__a); | 429 | gk20a_init_alloc_debug(g, __a); |
430 | alloc_dbg(__a, "New allocator: type bitmap\n"); | 430 | alloc_dbg(__a, "New allocator: type bitmap\n"); |
431 | alloc_dbg(__a, " base 0x%llx\n", a->base); | 431 | alloc_dbg(__a, " base 0x%llx\n", a->base); |
432 | alloc_dbg(__a, " bit_offs 0x%llx\n", a->bit_offs); | 432 | alloc_dbg(__a, " bit_offs 0x%llx\n", a->bit_offs); |