commit | 44241628bb207ec211bebd156aaf69470d90c209 | [log] [tgz] |
---|---|---|
author | Andrea Arcangeli <aarcange@redhat.com> | Thu Oct 01 15:37:16 2015 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 01 21:42:35 2015 -0400 |
tree | 2b0c143661cf3d9fbc66f5241854df85f0164a78 | |
parent | ef510194cefe0cd369ef73419cd65b0a5bb4fb5b [diff] |
thermal: avoid division by zero in power allocator During boot I get a div by zero Oops regression starting in v4.3-rc3. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Reviewed-by: Javi Merino <javi.merino@arm.com> Cc: Zhang Rui <rui.zhang@intel.com> Cc: Eduardo Valentin <edubezval@gmail.com> Cc: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>