OpenCloudOS-Kernel/arch/mips/lasat
Julia Lawall 49992cb1db MIPS: Lasat: Replace del_timer by del_timer_sync
Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: kernel-janitors@vger.kernel.org
Cc: tglx@linutronix.de
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/6663/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-03-31 18:17:12 +02:00
..
image MIPS: Refactor load/entry address calculations 2013-09-03 17:58:37 +02:00
Kconfig [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
Makefile MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
Platform MIPS: Lasat: Migrate to new platform makefile style. 2010-08-05 13:25:53 +01:00
at93c.c mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00
at93c.h [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
ds1603.c timekeeping: Increase granularity of read_persistent_clock() 2009-08-15 10:55:46 +02:00
ds1603.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
interrupt.c MIPS: Mark cascade and low level interrupts IRQF_NO_THREAD 2011-09-21 17:52:15 +02:00
lasat_board.c [MIPS] Remove mips_machtype for LASAT machines 2008-07-15 18:44:39 +01:00
lasat_models.h [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
picvue.c mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00
picvue.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
picvue_proc.c MIPS: Lasat: Replace del_timer by del_timer_sync 2014-03-31 18:17:12 +02:00
prom.c MIPS: Replace all usages of CL_SIZE by COMMAND_LINE_SIZE 2009-12-17 01:56:56 +00:00
prom.h [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
reset.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
serial.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
setup.c [MIPS] Remove mips_machtype for LASAT machines 2008-07-15 18:44:39 +01:00
sysctl.c mips: lasat: sysctl: Convert use of typedef ctl_table to struct ctl_table 2013-06-18 00:31:32 +02:00