scripts/gdb: cast CPU numbers to integer
authorJan Kiszka <[email protected]>
Mon, 23 May 2016 23:25:05 +0000 (16:25 -0700)
committerLinus Torvalds <[email protected]>
Tue, 24 May 2016 00:04:14 +0000 (17:04 -0700)
commit4bc393dbcf1915224e8947211a0ca906f9de7c56
tree6a57bdf813f6d707ed11d8acd4d8312934f09d36
parentb1503934a5e51e74b2f4c72ad77b33231e7b6953
scripts/gdb: cast CPU numbers to integer

We won't see more than 2 billion CPUs any time soon, and having cpu_list
return long makes the output of lx-cpus a bit ugly.

Link: http://lkml.kernel.org/r/dcb45c3b0a59e0fd321fa56ff7aa398458c689b3.1462865983.git.jan.kiszka@siemens.com
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
scripts/gdb/linux/cpus.py