]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/checkstack.pl: fix arm sp regex
authorManinder Singh <maninder1.s@samsung.com>
Fri, 8 May 2020 11:03:17 +0000 (16:33 +0530)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 25 May 2020 15:03:16 +0000 (00:03 +0900)
commit463f696fcfe909eb53d73769e94232db149790ec
tree5b8b71ecdf55a73035938526475b6927a6e93b05
parentd302ba8a8cea72ad781a41ad242936c94489857a
scripts/checkstack.pl: fix arm sp regex

if objdump has below entries;
c01ed608 <X>:
c01ed614:       e24ddff7        sub     sp, sp, #120    ; 0x78

c01f0d50 <Y>:
c01f0d50:       e24dd094        sub     sp, sp, #140    ; 0x8c

scripts fails to read stack usage.
so making regex $re for ARM similar to aarch64

Co-developed-by: Vaneet Narang <v.narang@samsung.com>
Signed-off-by: Vaneet Narang <v.narang@samsung.com>
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/checkstack.pl