29 Mar, 2011
40 commits
-
Use irq_set_chip_and_handler() instead. Converted with coccinelle.
Signed-off-by: Thomas Gleixner
-
Reorder
irq_set_chip()
irq_set_chip_data()
irq_set_handler()to
irq_set_chip()
irq_set_handler()
irq_set_chip_data()so the next patch can combine irq_set_chip() and irq_set_handler() to
irq_set_chip_and_handler().Automated conversion with coccinelle.
Signed-off-by: Thomas Gleixner
-
Convert to the new function names. Automated with coccinelle.
Signed-off-by: Thomas Gleixner
-
Use the generic version and just keep the arch specific output.
Signed-off-by: Thomas Gleixner
-
Remove the obsolete desc_handle_irq() helper.
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Avoid the whole lazy disable dance in the demux handler by providing a
irq_disable() callback.Use the proper accessor functions and tidy up gpio_irq_handler()
Signed-off-by: Thomas Gleixner
-
Make use of the new functionality which ensures that irq_set_type is
called with the chip masked. Unmask is only done when the interrupt is
not disabled.Retrieve the trigger type from irq_data in unmask
Signed-off-by: Thomas Gleixner
-
No need to write the flow type. Core code does already.
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
1) Core code stores the flow type already
2) Flow type is accessible in irq_dataSigned-off-by: Thomas Gleixner
-
Store the enabled mask in the local state, so there is no need to
fiddle in the irq descriptor.Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Use the proper wrappers and use the flow type in irq_data.
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Use the proper accessor function instead of fiddling in the status
bits directly.Signed-off-by: Thomas Gleixner
Cc: linux-arm-kernel@lists.infradead.org -
Remove the open coded access to irq_desc which will fail on sparse irq
and use the proper wrappers.Signed-off-by: Thomas Gleixner
-
The core code handles thees already.
Signed-off-by: Thomas Gleixner
Cc: Colin Cross
Cc: linux-tegra@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org -
The conversion missed, that one of the irq functions is called from
the init code. Split it out, so the irq number based call works.Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
The machine id cleanup missed to remove the checks for now removed
ids.Signed-off-by: Thomas Gleixner
-
commit 9eac6d0 (ARM: Remove dependency of plat-orion GPIO code on mach
directory includes) missed to convert one instance of
DOVE_GPIO_VIRT_BASE and left the orion_gpio_init() in mpp.cFix it up.
Signed-off-by: Thomas Gleixner
-
That wants to be AT91_SDRAMC0
Signed-off-by: Thomas Gleixner
-
This clocksource function needs to be void.
Signed-off-by: Thomas Gleixner
-
The id removal left this machine check in which breaks the build on
some platforms. Remove it.Signed-off-by: Thomas Gleixner
-
The late night fixup missed to convert the data type from irq_desc to
irq_data, which results in a harmless but annoying warning.Signed-off-by: Thomas Gleixner
-
We incorrectly returned -EINVAL when none of the devices in the array
had an integrity profile. This in turn prevented mdadm from starting
the metadevice. Fix this so we only return errors on mismatched
profiles and memory allocation failures.Reported-by: Giacomo Catenazzi
Reported-by: Thomas Gleixner
Signed-off-by: Martin K. Petersen
Signed-off-by: Linus Torvalds -
…s/security-testing-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
selinux: Fix regression for Xorg -
MFD changes in 4ec1b54c ('mfd: mfd_cell is now implicitly available to
mc13xxx drivers') changed the mc13xxx_platform_data struct layout.At the time all users were changed, but this driver was introduced in
another tree at the same time. This updates the mc13xxx_platform_data
user, fixing a build error.Signed-off-by: Andres Salomon
Signed-off-by: Linus Torvalds -
…rnel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'irq-cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
vlynq: Convert irq functions* 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
genirq; Fix cleanup fallout
genirq: Fix typo and remove unused variable
genirq: Fix new kernel-doc warnings
genirq: Add setter for AFFINITY_SET in irq_data state
genirq: Provide setter inline for IRQD_IRQ_INPROGRESS
genirq: Remove handle_IRQ_event
arm: Ns9xxx: Remove private irq flow handler
powerpc: cell: Use the core flow handler
genirq: Provide edge_eoi flow handler
genirq: Move INPROGRESS, MASKED and DISABLED state flags to irq_data
genirq: Split irq_set_affinity() so it can be called with lock held.
genirq: Add chip flag for restricting cpu_on/offline calls
genirq: Add chip hooks for taking CPUs on/off line.
genirq: Add irq disabled flag to irq_data state
genirq: Reserve the irq when calling irq_set_chip() -
I missed the CONFIG_GENERIC_PENDING_IRQ dependency in the affinity
related functions and the IRQ_LEVEL propagation into irq_data
state. Did not pop up on my main test platforms. :(Signed-off-by: Thomas Gleixner
Tested-by: David Daney -
Commit 6f5317e730505d5cbc851c435a2dfe3d5a21d343 introduced a bug in the
handling of userspace object classes that is causing breakage for Xorg
when XSELinux is enabled. Fix the bug by changing map_class() to return
SECCLASS_NULL when the class cannot be mapped to a kernel object class.Reported-by: "Justin P. Mattock"
Signed-off-by: Stephen Smalley
Signed-off-by: James Morris -
Fixes this build error:
drivers/memstick/host/r592.c:26: error: 'enable_dma' redeclared as different kind of symbol
arch/powerpc/include/asm/dma.h:189: note: previous definition of 'enable_dma' was hereSigned-off-by: Stephen Rothwell
Cc: Andrew Morton
Cc: FUJITA Tomonori
Cc: Alex Dubov
Acked-by: Maxim Levitsky
Signed-off-by: Linus Torvalds -
* 'for-linus' of git://oss.sgi.com/xfs/xfs:
xfs: stop using the page cache to back the buffer cache
xfs: register the inode cache shrinker before quotachecks
xfs: xfs_trans_read_buf() should return an error on failure
xfs: introduce inode cluster buffer trylocks for xfs_iflush
vmap: flush vmap aliases when mapping fails
xfs: preallocation transactions do not need to be synchronousFix up trivial conflicts in fs/xfs/linux-2.6/xfs_buf.c due to plug removal.
-
Commit da48524eb206 ("Prevent rt_sigqueueinfo and rt_tgsigqueueinfo
from spoofing the signal code") made the check on si_code too strict.
There are several legitimate places where glibc wants to queue a
negative si_code different from SI_QUEUE:- This was first noticed with glibc's aio implementation, which wants
to queue a signal with si_code SI_ASYNCIO; the current kernel
causes glibc's tst-aio4 test to fail because rt_sigqueueinfo()
fails with EPERM.- Further examination of the glibc source shows that getaddrinfo_a()
wants to use SI_ASYNCNL (which the kernel does not even define).
The timer_create() fallback code wants to queue signals with SI_TIMER.As suggested by Oleg Nesterov , loosen the check to
forbid only the problematic SI_TKILL case.Reported-by: Klaus Dittrich
Acked-by: Julien Tinnes
Cc:
Signed-off-by: Roland Dreier
Signed-off-by: Linus Torvalds -
* 'for-linus' of git://www.jni.nu/cris:
Correct auto-restart of syscalls via restartblock
CRISv10: Fix return before mutex_unlock in pcf8563
Drop the CRISv32 version of pcf8563