um: Fix the return type of __switch_to
authorTiwei Bie <tiwei.btw@antgroup.com>
Wed, 6 Mar 2024 10:19:20 +0000 (18:19 +0800)
committerRichard Weinberger <richard@nod.at>
Mon, 22 Apr 2024 19:45:41 +0000 (21:45 +0200)
commit179d83d89c584aa50f87ca3e44b1f1aff914303c
treecfd3709847d504b05d5bb578a9d01012481993e2
parentb5e0950fd6cb8bd45ea0ac5378d10e1f9ede96c1
um: Fix the return type of __switch_to

Make it match the declaration in asm-generic/switch_to.h. And
also include the header to allow the compiler to check it.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/process.c