diff --git a/servers/pm/dma.c b/servers/pm/dma.c index 179f9de3b..11afac7ef 100644 --- a/servers/pm/dma.c +++ b/servers/pm/dma.c @@ -21,7 +21,6 @@ PUBLIC int do_adddma() endpoint_t req_proc_e, target_proc_e; int proc_n, r; phys_bytes base, size; - struct mproc *rmp; if (mp->mp_effuid != SUPER_USER) return EPERM; @@ -42,8 +41,6 @@ PUBLIC int do_adddma() printf("pm:do_adddma: endpoint %d not found\n", target_proc_e); return EINVAL; } - rmp= &mproc[proc_n]; - rmp->mp_flags |= HAS_DMA; return OK; } diff --git a/servers/pm/forkexit.c b/servers/pm/forkexit.c index e93793e6e..08bbc3193 100644 --- a/servers/pm/forkexit.c +++ b/servers/pm/forkexit.c @@ -427,7 +427,7 @@ struct mproc *rmp; if (rmp->mp_flags & ZOMBIE) panic(__FILE__, "zombify: process was already a zombie", NO_NUM); - rmp->mp_flags &= (IN_USE|PRIV_PROC|HAS_DMA); + rmp->mp_flags &= (IN_USE|PRIV_PROC); rmp->mp_flags |= ZOMBIE; p_mp = &mproc[rmp->mp_parent]; diff --git a/servers/pm/mproc.h b/servers/pm/mproc.h index d6110bf6c..a0e961345 100644 --- a/servers/pm/mproc.h +++ b/servers/pm/mproc.h @@ -76,9 +76,6 @@ EXTERN struct mproc { #define PM_SIG_PENDING 0x4000 /* process got a signal while waiting for FS */ #define PARTIAL_EXEC 0x8000 /* Process got a new map but no content */ #define TOLD_PARENT 0x10000 /* Parent wait() completed, ZOMBIE off */ -#define HAS_DMA 0x20000 /* Process directly or indirectly granted - * DMA buffers. - */ #define NIL_MPROC ((struct mproc *) 0)