scripts/gdb: add cpu iterators
authorKieran Bingham <kieran.bingham@linaro.org>
Mon, 23 May 2016 23:25:02 +0000 (16:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 May 2016 00:04:14 +0000 (17:04 -0700)
commitb1503934a5e51e74b2f4c72ad77b33231e7b6953
tree2a7051cec78c1b468eb8d2feabd5c2bf6921abee
parentc1a153992ea86307d2b8c3c0be2e060102b02aff
scripts/gdb: add cpu iterators

The linux kernel provides macro's for iterating against values from the
cpu_list masks.  By providing some commonly used masks, we can mirror
the kernels helper macros with easy to use generators.

Link: http://lkml.kernel.org/r/d045c6599771ada1999d49612ee30fd2f9acf17f.1462865983.git.jan.kiszka@siemens.com
Signed-off-by: Kieran Bingham <kieran.bingham@linaro.org>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/gdb/linux/cpus.py