Mike Frysinger
92a19d66a3
Blackfin: bitops: fix include order after little endian inclusion
...
The le.h header requires things like test_bit to be declared, so we need
to move its inclusion to after the point where that happens.
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2011-03-25 16:54:13 -04:00
Mike Frysinger
901c23fb18
Blackfin: defconfigs: update after misc devices defaulted to N
...
The default value for misc devices was changed from Y to N which
causes problems for mini defconfigs that were relying on this
defaulting to Y. So update all of the defconfigs accordingly.
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2011-03-25 16:54:12 -04:00
Joe Perches
b75a9e6bfb
Blackfin: use more standard pr_fmt in the module loader
...
Changed pr_fmt(fmt) to make the format arguments match the format.
Changed an argument name in apply_relocate from me to mod so that
the pr_err is consistent with the other uses.
Added missing '\n' to a format.
Signed-off-by: Joe Perches <joe@perches.com >
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2011-03-25 16:54:12 -04:00
Jonathan Corbet
5c050fb963
docs: update the development process document
...
Here's a set of changes updating Documentation/development-process. I have
update kernel releases and relevant statistics, added information for a
couple of tools, zapped some trailing white space, and generally tried to
make it more closely match the current state of affairs.
[Typo fixes from Joe Perches and Nicolas Kaiser incorporated]
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
Acked-by: Greg KH <greg@kroah.com >
Cc: Randy Dunlap <rdunlap@xenotime.net >
2011-03-25 14:30:31 -06:00
Sage Weil
ef550f6f4f
ceph: flush msgr_wq during mds_client shutdown
...
The release method for mds connections uses a backpointer to the
mds_client, so we need to flush the workqueue of any pending work (and
ceph_connection references) prior to freeing the mds_client. This fixes
an oops easily triggered under UML by
while true ; do mount ... ; umount ... ; done
Also fix an outdated comment: the flush in ceph_destroy_client only flushes
OSD connections out. This bug is basically an artifact of the ceph ->
ceph+libceph conversion.
Signed-off-by: Sage Weil <sage@newdream.net >
2011-03-25 13:27:48 -07:00
Takashi Iwai
a45e3d6b13
ALSA: Fix yet another race in disconnection
...
This patch fixes a race between snd_card_file_remove() and
snd_card_disconnect(). When the card is added to shutdown_files list
in snd_card_disconnect(), but it's freed in snd_card_file_remove() at
the same time, the shutdown_files list gets corrupted. The list member
must be freed in snd_card_file_remove() as well.
Reported-and-tested-by: Russ Dill <russ.dill@gmail.com >
Cc: <stable@kernel.org >
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2011-03-25 19:22:50 +01:00
Lars-Peter Clausen
c8fb4022cf
MIPS: JZ4740: Set nand ecc offsets for the qi_lb60 board
...
The jz4740 nand driver now requires that the ecc offsets are set.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2058/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:21 +01:00
Lars-Peter Clausen
0b4cf1813f
MIPS: JZ4740: qi_lb60: Add gpio-charger device
...
Register the gpio-charger device which reports whether device is currently
charging or not.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2059/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:21 +01:00
Ralf Baechle
1bbf287561
MIPS: Wire up syncfs(2).
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:20 +01:00
David Daney
84ed94323e
MIPS: Hook up name_to_handle_at, open_by_handle_at and clock_adjtime syscalls.
...
These system calls we recently added.
32-bit ABIs need compat handling for sys_clock_adjtime().
o32 also needs compat handling for sys_open_by_handle_at();
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2165/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:20 +01:00
Thomas Gleixner
fbaa4e2a19
MIPS: VR41xx: Convert to new irq_chip functions
...
And cleanup direct access to irq_desc[].
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2208/
Patchwork: https://patchwork.linux-mips.org/patch/2209/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:20 +01:00
Thomas Gleixner
d7ae7c7137
MIPS: TXx9: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2207/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:20 +01:00
Thomas Gleixner
0b888c7f3a
MIPS: SNI: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2206/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:20 +01:00
Thomas Gleixner
d6d5d5c4af
MIPS: Sibyte: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2205/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:19 +01:00
Thomas Gleixner
4d2796f836
MIPS: IP32: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2204/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:19 +01:00
Thomas Gleixner
301218df9c
MIPS: IP27: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2203/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:19 +01:00
Thomas Gleixner
9458ea567a
MIPS: IP22/IP28: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2202/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:19 +01:00
Thomas Gleixner
efb02da52f
MIPS: RB532: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2201/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:19 +01:00
Thomas Gleixner
2f8d36e711
MIPS: PowerTV: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2200/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:19 +01:00
Thomas Gleixner
0007b9bdbe
MIPS: PNX8550: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2199/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:19 +01:00
Thomas Gleixner
8fcc34e5ce
MIPS: PNX83xx: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2198/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:18 +01:00
Thomas Gleixner
d7881fbdf8
MIPS: msp71xx: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2197/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:18 +01:00
Thomas Gleixner
7ec8af9e34
MIPS: Loongson: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2196/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:18 +01:00
Thomas Gleixner
f8396c1709
MIPS: Use generic show_interrupts()
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2195/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:18 +01:00
Thomas Gleixner
930cd54b3b
MIPS: SMTC: Cleanup the hook mess and use irq_data
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2194/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:18 +01:00
Thomas Gleixner
2a2b221298
MIPS: SMTC: Use irq_data in smtc_forward_irq()
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2193/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:18 +01:00
Thomas Gleixner
0e9c4ec61a
MIPS: TXx9: Convert core to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2192/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:17 +01:00
Thomas Gleixner
a93951c459
MIPS: irq_cpu: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2191/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:17 +01:00
Thomas Gleixner
5b3a374109
MIPS: RM9000: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2190/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:17 +01:00
Thomas Gleixner
e059852aca
MIPS: rm7000: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2189/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:17 +01:00
Thomas Gleixner
e15883da8a
MIPS: MSC01: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2188/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:17 +01:00
Thomas Gleixner
aa400ae5ec
MIPS: GT641xx: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2187/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:17 +01:00
Thomas Gleixner
161d049e8c
MIPS: GIC: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2186/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:16 +01:00
Thomas Gleixner
7c8d948f16
MIPS: i8259: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2185/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:16 +01:00
Thomas Gleixner
9fcecaf02d
MIPS: LASAt: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2184/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:16 +01:00
Lars-Peter Clausen
fe92a23826
MIPS: JZ4740: Cleanup the mechanical irq_chip conversion
...
The conversion did not make use of the new chip flag which signals the
core code to mask the chip before calling the set_type callback. Sigh.
Use the new lockdep helper as well.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2183/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:16 +01:00
Lars-Peter Clausen
cd11d14de9
MIPS: JZ4740: GPIO: Use shared irq chip for all gpios
...
Currently there is one irq_chip per gpio_chip with the only difference
being the name. Since the information whether the irq belong to GPIO
bank A, B, C or D is not that important rewrite the code to simply use
a single irq_chip for all gpio_chips.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2182/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:16 +01:00
Thomas Gleixner
42b64f388c
MIPS: JZ4740: Convert to new irq functions
...
Convert the JZ4740 intc and gpio irq chips to use newstyle irq functions.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2181/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:16 +01:00
Thomas Gleixner
db00bed4ba
MIPS: JAZZ: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2180/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:16 +01:00
Thomas Gleixner
90a568f7bb
MIPS: EMMA: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2179/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:15 +01:00
Thomas Gleixner
009c200a66
MIPS: DEC: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2178/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:15 +01:00
Thomas Gleixner
93f2936104
MIPS: bcm63xx: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2176/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:15 +01:00
Thomas Gleixner
3fb8818bd2
MIPS: ath79: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2175/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:15 +01:00
Thomas Gleixner
41d735e870
MIPS: AR7: Convert to new irq_chip functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2174/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:15 +01:00
Thomas Gleixner
d24c1a26ca
MIPS: Alchemy: Convert to new irq chip functions
...
Fix the deadlock in set_type() while at it:
The code called set_irq_chip_and_handler_name() resp. set_irq_chip()
from the set_type() callback. That only works on UP and lock debugging
disabled. Otherwise it would dead lock on desc->lock.
__irq_set_chip_handler_name_locked() avoids that.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2173/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:14 +01:00
Anoop P A
786a5e0280
MIPS: MSP71xx: Add CPU feature override file.
...
Signed-off-by: Anoop P A <anoop.pa@gmail.com >
To: linux-mips@linux-mips.org
To: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2045/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:14 +01:00
Anoop P A
ec9ac747be
MIPS: MSP71xx: Platform support for On-chip MSP ethernet devices.
...
Some of MSP family SoC's come with legacy 100Mbps mspeth while some comes
with newer Gigabit TSMAC.Following patch adds platform support for both
types of MAC's.
If TSMAC is not selected assume platform having legacy mspeth. Add
gpio_macros as well which is required for resetting the PHY.
[Ralf: Killed all typedefs.]
Signed-off-by: Anoop P A <anoop.pa@gmail.com >
To: linux-mips@linux-mips.org
To: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2048/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:14 +01:00
Anoop P A
5027070b3c
MIPS: MSP71xx: Platform support for MSP on-chip USB controller.
...
Signed-off-by: Anoop P A <anoop.pa@gmail.com >
To: linux-mips@linux-mips.org
To: linux-kernel@vger.kernel.org
Cc: Anoop P A <anoop.pa@gmail.com >
Patchwork: https://patchwork.linux-mips.org/patch/2043/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:14 +01:00
Anoop P A
088f3876fc
MIPS: MSP71xx: Add VSMP/SMTC support.
...
[Ralf: Fixed more checkpatch assertions and inclusion of unnecessary header
<linux/sched.h>.]
Signed-off-by: Anoop P A <anoop.pa@gmail.com >
To: linux-mips@linux-mips.org
To: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2042/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:14 +01:00
Anoop P A
92592c9cca
MIPS: MSP71xx: Add vectored interrupt support.
...
This patch will add vectored interrupt setups required for MIPS MT modes.
irq_cic has been restructured and moved per irq handler to different file.
irq_cic has been re wrote to support mips MT modes ( VSMP / SMTC )
[Ralf: fixed some more checkpatch warnings.]
Signed-off-by: Anoop P A <anoop.pa@gmail.com >
To: linux-mips@linux-mips.org
To: linux-kernel@vger.kernel.org
To: dhowells@redhat.com
Patchwork: https://patchwork.linux-mips.org/patch/2041/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-03-25 18:45:14 +01:00