diff options
author | Paulo Costa <me@paulo.costa.nom.br> | 2017-02-09 21:07:35 -0200 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-03-06 22:06:47 +0100 |
commit | 0b88b71c7762a406ff99c625935474dc42a25003 (patch) | |
tree | 203a052c14802892f38faec96799b111b22f5d43 /mm/vmstat.c | |
parent | c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff) | |
download | linux-0b88b71c7762a406ff99c625935474dc42a25003.tar.bz2 |
leds/trigger/cpu: Add LED trigger for all CPUs aggregated
Currently there is one CPU led trigger per cpu ('cpu0', 'cpu1', ...)
This patch adds a new trigger, 'cpu', with brightness proportional to
the number of active CPUs.
If multiple brightness levels aren't supported on the LED,
it effectively indicates if there is any CPU active.
This is particularly useful on tiny linux boards with more CPU cores than LED pins.
Signed-off-by: Paulo Costa <me@paulo.costa.nom.br>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions