]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/process: Constify the number of insns printed by show instructions functions.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Sat, 6 Oct 2018 16:51:16 +0000 (16:51 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 13 Oct 2018 11:21:25 +0000 (22:21 +1100)
commit827ea40b5a11bc9c0e60eda0028b88f9650769f1
tree4d0d79e97e481ef5d863b8927431fbcbfb375b87
parentee15df68d51c5c7dc4077a239ce61386832719e5
powerpc/process: Constify the number of insns printed by show instructions functions.

instructions_to_print var is assigned value 16 and there is no
way to change it.

This patch replaces it by a constant.

Reviewed-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c