x86/dumpstack: Fix off-by-one errors in stack identification

The get_stack_info() function was off-by-one when checking whether
an address is on an IRQ stack or an IST stack.  This prevented an
overflowed IRQ or IST stack from being dumped properly.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
1 file changed