On Fri, Jul 18, 2025 at 11:37:35PM -0500, Jeremy Linton wrote: > We are going to add some additional GCS access helpers to gcs.h in > order to avoid some forward reference problems with uaccess. > > In preparation for that, lets move the existing gcssttr() and > put_user_gcs() routines into gcs.h where it makes sense to keep all > the accessors together. Further, the code which uses them already > includes gcs.h and there is an existing CONFIG_ARM64_GCS check we can > reuse. > > Signed-off-by: Jeremy Linton <jeremy.lin...@arm.com>
Reviewed-by: Catalin Marinas <catalin.mari...@arm.com>