diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_allocator_buddy.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a_allocator_buddy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_allocator_buddy.c b/drivers/gpu/nvgpu/gk20a/gk20a_allocator_buddy.c index ee5e69d2..f9fb48b5 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a_allocator_buddy.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a_allocator_buddy.c | |||
@@ -1077,9 +1077,10 @@ static u64 gk20a_buddy_alloc_base(struct gk20a_allocator *a) | |||
1077 | static int gk20a_buddy_alloc_inited(struct gk20a_allocator *a) | 1077 | static int gk20a_buddy_alloc_inited(struct gk20a_allocator *a) |
1078 | { | 1078 | { |
1079 | struct gk20a_buddy_allocator *ba = a->priv; | 1079 | struct gk20a_buddy_allocator *ba = a->priv; |
1080 | int inited = ba->initialized; | ||
1080 | 1081 | ||
1081 | rmb(); | 1082 | rmb(); |
1082 | return ba->initialized; | 1083 | return inited; |
1083 | } | 1084 | } |
1084 | 1085 | ||
1085 | static u64 gk20a_buddy_alloc_end(struct gk20a_allocator *a) | 1086 | static u64 gk20a_buddy_alloc_end(struct gk20a_allocator *a) |