diff options
author | Hoang-Nam Nguyen <hnguyen@de.ibm.com> | 2008-04-16 21:01:13 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-16 21:01:13 -0700 |
commit | f4f82994d1ea0cd01058a245985f1eb5e569e6d3 (patch) | |
tree | 67244352967536dd4330928cd53c3e37011fa2ec /drivers/infiniband/hw/ehca/ehca_classes.h | |
parent | 1e89a1946cfd906d12eff437d2a76b3aa7f5e731 (diff) | |
download | kernel_samsung_tuna-f4f82994d1ea0cd01058a245985f1eb5e569e6d3.zip kernel_samsung_tuna-f4f82994d1ea0cd01058a245985f1eb5e569e6d3.tar.gz kernel_samsung_tuna-f4f82994d1ea0cd01058a245985f1eb5e569e6d3.tar.bz2 |
IB/ehca: Remove tgid checking
Pavel Emelyanov <xemul@openvz.org> mentioned in <http://lkml.org/lkml/2008/3/17/131>
that the task_struct->tgid field is about to become deprecated, so the
uses in the ehca driver need to be fixed up.
However, all the uses in ehca are for some object ownership checking
that is not really needed, and anyway is implementing a policy that
should be in common code rather than a low-level driver. So just
remove all the checks.
Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_classes.h')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_classes.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_classes.h b/drivers/infiniband/hw/ehca/ehca_classes.h index 92cce8a..0d13fe0 100644 --- a/drivers/infiniband/hw/ehca/ehca_classes.h +++ b/drivers/infiniband/hw/ehca/ehca_classes.h @@ -132,7 +132,6 @@ struct ehca_shca { struct ehca_pd { struct ib_pd ib_pd; struct ipz_pd fw_pd; - u32 ownpid; /* small queue mgmt */ struct mutex lock; struct list_head free[2]; @@ -215,7 +214,6 @@ struct ehca_cq { atomic_t nr_events; /* #events seen */ wait_queue_head_t wait_completion; spinlock_t task_lock; - u32 ownpid; /* mmap counter for resources mapped into user space */ u32 mm_count_queue; u32 mm_count_galpa; |