android_kernel_motorola_sm6225/drivers/parisc
Cedric Le Goater 9ec52099e4 [PATCH] replace cad_pid by a struct pid
There are a few places in the kernel where the init task is signaled.  The
ctrl+alt+del sequence is one them.  It kills a task, usually init, using a
cached pid (cad_pid).

This patch replaces the pid_t by a struct pid to avoid pid wrap around
problem.  The struct pid is initialized at boot time in init() and can be
modified through systctl with

	/proc/sys/kernel/cad_pid

[ I haven't found any distro using it ? ]

It also introduces a small helper routine kill_cad_pid() which is used
where it seemed ok to use cad_pid instead of pid 1.

[akpm@osdl.org: cleanups, build fix]
Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-02 07:57:25 -07:00
..
asp.c [PARISC] Convert parisc_device to use struct resource for hpa 2005-10-21 22:36:40 -04:00
ccio-dma.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ccio-rm-dma.c [PARISC] Convert parisc_device to use struct resource for hpa 2005-10-21 22:36:40 -04:00
dino.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
eisa.c [PATCH] irq-flags: PARISC: Use the new IRQF_ constants 2006-07-02 13:58:52 -07:00
eisa_eeprom.c [PARISC] Add __user annotation to eisa_eeprom.c 2006-01-10 21:51:18 -05:00
eisa_enumerator.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gsc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gsc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hppb.c [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00
iommu-helpers.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iosapic.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
iosapic_private.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PARISC] PDC_CHASSIS is implemented on all machines 2006-06-27 23:28:37 +00:00
lasi.c [PARISC] Add chassis_power_off routine 2006-01-22 20:26:50 -05:00
lba_pci.c [PARISC] I/O-Space must be ioremap_nocache()'d 2006-03-30 17:48:42 +00:00
led.c [PATCH] namespaces: utsname: use init_utsname when appropriate 2006-10-02 07:57:21 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pdc_stable.c [PARISC] Add os_id_to_string helper 2006-06-27 23:28:43 +00:00
power.c [PATCH] replace cad_pid by a struct pid 2006-10-02 07:57:25 -07:00
README.dino Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sba_iommu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
superio.c [PATCH] irq-flags: PARISC: Use the new IRQF_ constants 2006-07-02 13:58:52 -07:00
wax.c [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00

/*
** HP VISUALIZE Workstation PCI Bus Defect
**
** "HP has discovered a potential system defect that can affect
** the behavior of five models of HP VISUALIZE workstations when
** equipped with third-party or customer-installed PCI I/O expansion
** cards. The defect is limited to the HP C180, C160, C160L, B160L,
** and B132L VISUALIZE workstations, and will only be encountered
** when data is transmitted through PCI I/O expansion cards on the
** PCI bus. HP-supplied graphics cards that utilize the PCI bus are
** not affected."
**
** REVISIT: "go/pci_defect" link below is stale.
**	HP Internal can use <http://hpfcdma.fc.hp.com:80/Dino/>
**
**	Product		First Good Serial Number
**  C200/C240 (US)	US67350000
**B132L+/B180 (US)	US67390000
**   C200 (Europe)	3713G01000
**  B180L (Europe)	3720G01000
**
** Note that many boards were fixed/replaced under a free replacement
** program. Assume a machine is only "suspect" until proven otherwise.
**
** "The pci_check program will also be available as application
**  patch PHSS_12295"
*/