um: Allocate vdso page pointer statically
authorTiwei Bie <tiwei.btw@antgroup.com>
Wed, 12 Feb 2025 04:57:56 +0000 (12:57 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Mar 2025 10:04:00 +0000 (11:04 +0100)
commit1fc350eed627762f4f6db3f35776d481e7f02c5c
tree9cef51a1f2579562d4527a3b37f5eb2ccdb01beb
parent84a6fc378471fbeaf48f8604566a5a33a3d63c18
um: Allocate vdso page pointer statically

Instead of dynamically allocating the pointer to the vdso page during
boot, we can just allocate it statically. Doing so will reduce error
handling and make the code slightly more readable.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20250212045756.164977-1-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/x86/um/vdso/vma.c