diff options
Diffstat (limited to 'kernel/gsp_emulation.h')
| -rw-r--r-- | kernel/gsp_emulation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/gsp_emulation.h b/kernel/gsp_emulation.h index f703ae6..12bce63 100644 --- a/kernel/gsp_emulation.h +++ b/kernel/gsp_emulation.h @@ -41,6 +41,7 @@ struct gsp_emu_context { struct nv_vgpu_device *vgpu; struct task_struct *thread; + struct completion thread_stopped; void __iomem *bar0_vaddr; void __iomem *doorbell_reg; void __iomem *shared_mem; @@ -48,6 +49,7 @@ struct gsp_emu_context { spinlock_t lock; bool running; bool initialized; + bool stopping; /* Shared memory for RPC communication (4KB at BAR0+0x1000) */ void *shared_mem_virt; |
