linux/drivers/infiniband/hw/ipath
Pavel Emelyanov 40d97692fb IB/ipath: Make ipath_portdata work with struct pid * not pid_t
The official reason is "with the presence of pid namespaces in the
kernel using pid_t-s inside one is no longer safe."

But the reason I fix this right now is the following:

About a month ago (when 2.6.25 was not yet released) there still was a
one last caller of a to-be-deprecated-soon function find_pid() - the
kill_proc() function, which in turn was only used by nfs callback
code.

During the last merge window, this last caller was finally eliminated
by some NFS patch(es) and I was about to finally kill this kill_proc()
and find_pid(), but found, that I was late and the kill_proc is now
called from the ipath driver since commit 58411d1c ("IB/ipath: Head of
Line blocking vs forward progress of user apps").

So here's a patch that fixes this code to use struct pid * and (!)
the kill_pid routine.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-05-13 11:45:32 -07:00
..
Kconfig IB/ipath: Remove dependency on PCI_MSI || HT_IRQ 2008-04-21 18:19:14 -07:00
Makefile IB/ipath: Build IBA7220 code unconditionally 2008-04-21 18:19:14 -07:00
ipath_7220.h IB/ipath: Isolate 7220-specific content 2008-04-16 21:09:30 -07:00
ipath_common.h IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_cq.c IB/ipath: Fix error returned from ib_resize_cq if new size smaller than # entries 2008-01-25 14:15:28 -08:00
ipath_debug.h IB/ipath: Prevent link-recovery code from negating admin disable 2008-04-16 21:09:26 -07:00
ipath_diag.c IB: convert struct class_device to struct device 2008-04-19 19:10:30 -07:00
ipath_dma.c [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
ipath_driver.c IB/ipath: Make ipath_portdata work with struct pid * not pid_t 2008-05-13 11:45:32 -07:00
ipath_eeprom.c IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_file_ops.c IB/ipath: Make ipath_portdata work with struct pid * not pid_t 2008-05-13 11:45:32 -07:00
ipath_fs.c IB/ipath: Remove unnecessary cast 2008-01-25 14:17:46 -08:00
ipath_iba6110.c IB/ipath: Add support for 7220 receive queue changes 2008-04-16 21:09:29 -07:00
ipath_iba6120.c IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_iba7220.c IB/ipath: Need to always request and handle PIO avail interrupts 2008-05-07 11:00:15 -07:00
ipath_init_chip.c IB/ipath: Need to always request and handle PIO avail interrupts 2008-05-07 11:00:15 -07:00
ipath_intr.c IB/ipath: Need to always request and handle PIO avail interrupts 2008-05-07 11:00:15 -07:00
ipath_kernel.h IB/ipath: Make ipath_portdata work with struct pid * not pid_t 2008-05-13 11:45:32 -07:00
ipath_keys.c IB/ipath: Clean up some comments 2008-01-25 14:15:38 -08:00
ipath_mad.c IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_mmap.c IB/ipath: Update copyright dates 2007-07-09 20:12:26 -07:00
ipath_mr.c IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
ipath_qp.c IB/ipath: Fix many locking issues when switching to error state 2008-05-13 11:41:29 -07:00
ipath_rc.c IB/ipath: Fix RDMA read response sequence checking 2008-05-13 11:42:20 -07:00
ipath_registers.h IB/ipath: Header file changes to support IBA7220 2008-04-16 21:09:30 -07:00
ipath_ruc.c IB/ipath: Fix many locking issues when switching to error state 2008-05-13 11:41:29 -07:00
ipath_sd7220.c IB/ipath: Support for SerDes portion of IBA7220 2008-04-16 21:09:31 -07:00
ipath_sd7220_img.c IB/ipath: Add IBA7220-specific SERDES initialization data 2008-04-16 21:09:31 -07:00
ipath_sdma.c IB/ipath: Fix SDMA error recovery in absence of link status change 2008-05-07 11:01:10 -07:00
ipath_srq.c IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_stats.c IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_sysfs.c IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_uc.c IB/ipath: Fix many locking issues when switching to error state 2008-05-13 11:41:29 -07:00
ipath_ud.c IB/ipath: Fix many locking issues when switching to error state 2008-05-13 11:41:29 -07:00
ipath_user_pages.c IB/ipath: Remove ipath_get_user_pages_nocopy() 2007-07-17 18:37:43 -07:00
ipath_user_sdma.c IB/ipath: User mode send DMA 2008-04-16 21:09:31 -07:00
ipath_user_sdma.h IB/ipath: Fix many locking issues when switching to error state 2008-05-13 11:41:29 -07:00
ipath_verbs.c IB/ipath: Fix many locking issues when switching to error state 2008-05-13 11:41:29 -07:00
ipath_verbs.h IB/ipath: Fix RDMA read response sequence checking 2008-05-13 11:42:20 -07:00
ipath_verbs_mcast.c IB/ipath: Update copyright dates 2007-07-09 20:12:26 -07:00
ipath_wc_ppc64.c IB/ipath: Update copyright dates 2007-07-09 20:12:26 -07:00
ipath_wc_x86_64.c IB/ipath: Update copyright dates 2007-07-09 20:12:26 -07:00