1. 13 5月, 2010 11 次提交
  2. 12 5月, 2010 26 次提交
  3. 11 5月, 2010 3 次提交
    • H
      hwmon: (applesmc) Correct sysfs fan error handling · 0559a538
      Henrik Rydberg 提交于
      The current code will not remove the sysfs files for fan numbers three
      and up. Also, upon exit, fans one and two are removed regardless of
      their existence.  This patch cleans up the sysfs error handling for
      the fans.
      Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      0559a538
    • K
      hwmon: (asc7621) Bug fixes · d1bf8cf6
      Ken Milmore 提交于
      * Allow fan minimum RPM to be set to zero without triggering alarms.
      * Fix voltage scaling arithmetic and correct scale factors.
      * Correct fan1-fan4 alarm bit shifts.
      * Correct register address for temp3_smoothing_enable.
      * Read the alarm registers with high priority.
      Signed-off-by: NKen Milmore <ken.milmore@googlemail.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      d1bf8cf6
    • M
      kprobes/x86: Fix removed int3 checking order · 829e9245
      Masami Hiramatsu 提交于
      Fix kprobe/x86 to check removed int3 when failing to get kprobe
      from hlist. Since we have a time window between checking int3
      exists on probed address and getting kprobe on that address,
      we can have following scenario:
      
       -------
       CPU1                     CPU2
       hit int3
       check int3 exists
                                remove int3
                                remove kprobe from hlist
       get kprobe from hlist
       no kprobe->OOPS!
       -------
      
      This patch moves int3 checking if there is no kprobe on that
      address for fixing this problem as follows:
      
       ------
       CPU1                     CPU2
       hit int3
                                remove int3
                                remove kprobe from hlist
       get kprobe from hlist
       no kprobe->check int3 exists
                ->rollback&retry
       ------
      Signed-off-by: NMasami Hiramatsu <mhiramat@redhat.com>
      Acked-by: NAnanth N Mavinakayanahalli <ananth@in.ibm.com>
      Cc: systemtap <systemtap@sources.redhat.com>
      Cc: DLE <dle-develop@lists.sourceforge.net>
      Cc: Dave Anderson <anderson@redhat.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      LKML-Reference: <20100427223348.2322.9112.stgit@localhost6.localdomain6>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      829e9245