scripts/gdb: convert CpuList to generator function
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 17 Feb 2015 21:47:47 +0000 (13:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:55 +0000 (14:34 -0800)
commita77e15e8b4ccaf43b3a527cbb882bf816c5a629d
tree848992343da0aa7607b939229d36711090c88073
parentfffb944c4e6d3882a7a15c494bd4cde36c68c39c
scripts/gdb: convert CpuList to generator function

Yet another code simplification.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Ben Widawsky <ben@bwidawsk.net>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/gdb/linux/cpus.py
scripts/gdb/linux/modules.py