OpenCloudOS-Kernel/tools/power/cpupower/utils/idle_monitor
Himangi Saraogi 97fa1c5ca6 cpupower: mperf monitor: Correct use of ! and &
In commit ae91d60ba8, a bug was fixed that
involved converting !x & y to !(x & y).  The code below shows the same
pattern, and thus should perhaps be fixed in the same way.

The Coccinelle semantic patch that makes this change is as follows:

// <smpl>
@@ expression E1,E2; @@
(
  !E1 & !E2
|
- !E1 & E2
+ !(E1 & E2)
)
// </smpl>

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-07-30 01:57:12 +02:00
..
amd_fam14h_idle.c cpupower: AMD fam14h/Ontario monitor can also be used by fam12h cpus 2012-03-03 14:40:08 +01:00
cpuidle_sysfs.c cpupower: Do not show an empty Idle_Stats monitor if no idle driver is available 2011-08-15 20:03:05 +02:00
cpupower-monitor.c cpupower: Provide -c param for cpupower monitor to schedule process on all cores 2012-11-27 23:07:20 +01:00
cpupower-monitor.h cpupower: Provide -c param for cpupower monitor to schedule process on all cores 2012-11-27 23:07:20 +01:00
hsw_ext_idle.c cpupower: Add Haswell family 0x45 specific idle monitor to show PC8,9,10 states 2013-07-05 01:52:19 +02:00
idle_monitors.def cpupower: Add Haswell family 0x45 specific idle monitor to show PC8,9,10 states 2013-07-05 01:52:19 +02:00
idle_monitors.h
mperf_monitor.c cpupower: mperf monitor: Correct use of ! and & 2014-07-30 01:57:12 +02:00
nhm_idle.c cpupowerutils: idle_monitor - ConfigStyle bugfixes 2011-07-29 18:35:38 +02:00
snb_idle.c cpupower: Haswell also supports the C-states introduced with SandyBridge 2013-07-05 01:52:19 +02:00