]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/irq/32: Change some static functions to bool
authorUros Bizjak <ubizjak@gmail.com>
Mon, 3 Mar 2025 15:54:25 +0000 (16:54 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 4 Mar 2025 19:28:58 +0000 (20:28 +0100)
commitc8b584fe82d0f1e478a598f954943b095a4a8f5c
treecf2f4a2f95eb28e74440855196cb5695270fc4d1
parentd4432fb5b8798a7663974bed277a8a6e330a50d8
x86/irq/32: Change some static functions to bool

The return values of these functions is 0/1, but they use an int
type instead of bool:

  check_stack_overflow()
  execute_on_irq_stack()

Change the type of these function to bool and adjust their return
values and affected helper variables.

[ mingo: Rewrote the changelog ]

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250303155446.112769-5-ubizjak@gmail.com
arch/x86/kernel/irq_32.c