ledtrig-cpu: Limit to 8 CPUs
authorPavel Machek <pavel@ucw.cz>
Sat, 19 Sep 2020 09:34:58 +0000 (11:34 +0200)
committerPavel Machek <pavel@ucw.cz>
Wed, 30 Sep 2020 17:15:40 +0000 (19:15 +0200)
commitabcc131292aa8c7de2c5f0ed76a717436c21de63
tree80c17af851c1332247630cd7f323dfaef04dcc83
parent364682d1bc16277b67f31e411a00e13c50002d2e
ledtrig-cpu: Limit to 8 CPUs

Some machines have thousands of CPUs... and trigger mechanisms was not
really meant for thousands of triggers. I doubt anyone uses this
trigger on many-CPU machine; but if they do, they'll need to do it
properly.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/trigger/ledtrig-cpu.c