linux/include/asm-ppc64/iSeries
Michael Ellerman 719d1cd867 [PATCH] ppc64: Replace custom locking code with a spinlock
The hvlpevent_queue (formally ItLpQueue) has a member called xInUseWord
which is used for serialising access to the queue. Because it's a word
(ie. 32 bit) there's a custom 32-bit version of test_and_set_bit() or
thereabouts in ItLpQueue.c.

The xInUseWord is not shared with they hypervisor, so we can replace it
with a spinlock and remove the custom code.

There is also another locking mechanism (ItLpQueueInProcess). This is
redundant because it's only manipulated while the lock's held. Remove it.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-06-30 15:17:02 +10:00
..
HvCall.h [PATCH] ppc64 iSeries: tidy up some includes and HvCall.h 2005-06-21 18:46:28 -07:00
HvCallEvent.h [PATCH] ppc64 iSeries: obvious code simplifications 2005-06-21 18:46:27 -07:00
HvCallHpt.h [PATCH] ppc64 iSeries: obvious code simplifications 2005-06-21 18:46:27 -07:00
HvCallPci.h [PATCH] ppc64 iSeries: obvious code simplifications 2005-06-21 18:46:27 -07:00
HvCallSc.h [PATCH] ppc64 iSeries: misc header cleanups 2005-06-21 18:46:28 -07:00
HvCallSm.h [PATCH] ppc64 iSeries: obvious code simplifications 2005-06-21 18:46:27 -07:00
HvCallXm.h [PATCH] ppc64 iSeries: iommu.h cleanups 2005-06-21 18:46:29 -07:00
HvLpConfig.h [PATCH] ppc64 iSeries: remove HvCallCfg.h 2005-06-21 18:46:28 -07:00
HvLpEvent.h [PATCH] ppc64 iSeries: header file white space cleanups 2005-06-21 18:46:27 -07:00
HvReleaseData.h [PATCH] ppc64 iSeries: remove LparData.h 2005-06-21 18:46:27 -07:00
HvTypes.h [PATCH] ppc64 iSeries: misc header cleanups 2005-06-21 18:46:28 -07:00
IoHriMainStore.h [PATCH] ppc64 iSeries: remove LparData.h 2005-06-21 18:46:27 -07:00
IoHriProcessorVpd.h [PATCH] ppc64 iSeries: remove LparData.h 2005-06-21 18:46:27 -07:00
iSeries_io.h [PATCH] ppc64 iSeries: more header file white space cleanups 2005-06-21 18:46:27 -07:00
iSeries_irq.h [PATCH] ppc64 iSeries: tidy up irq code after merge 2005-06-21 18:46:30 -07:00
iSeries_pci.h [PATCH] ppc64 iSeries: remove some more members of iSeries_Device_Node 2005-06-21 18:46:30 -07:00
ItExtVpdPanel.h [PATCH] ppc64 iSeries: remove LparData.h 2005-06-21 18:46:27 -07:00
ItIplParmsReal.h [PATCH] ppc64 iSeries: remove LparData.h 2005-06-21 18:46:27 -07:00
ItLpNaca.h [PATCH] ppc64 iSeries: remove LparData.h 2005-06-21 18:46:27 -07:00
ItLpQueue.h [PATCH] ppc64: Replace custom locking code with a spinlock 2005-06-30 15:17:02 +10:00
ItLpRegSave.h [PATCH] ppc64 iSeries: more header file white space cleanups 2005-06-21 18:46:27 -07:00
ItSpCommArea.h [PATCH] ppc64 iSeries: more header file white space cleanups 2005-06-21 18:46:27 -07:00
ItVpdAreas.h [PATCH] ppc64 iSeries: misc header cleanups 2005-06-21 18:46:28 -07:00
LparMap.h [PATCH] ppc64 iSeries: remove LparData.h 2005-06-21 18:46:27 -07:00
mf.h [PATCH] ppc64 iSeries: more header file white space cleanups 2005-06-21 18:46:27 -07:00
vio.h [PATCH] ppc64 iSeries: obvious code simplifications 2005-06-21 18:46:27 -07:00