freebsd-src/sys/powerpc
Mark Johnston 7b68fb5ab2 thread: Add a return value to cpu_set_upcall()
Some implementations copy data to userspace, an operation which can in
principle fail.  In preparation for adding a __result_use_check
annotation to copyin() and related functions, let implementations of
cpu_set_upcall() return an error, and check for errors when copying data
to user memory.

Reviewed by:	kib, jhb
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43100
2023-12-25 21:04:00 -05:00
..
aim sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
amigaone sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
booke sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
conf Add a COMPAT_FREEBSD14 kernel option 2023-10-10 11:48:22 +02:00
cpufreq sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
fpu sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
include sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mambo sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mikrotik sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mpc85xx sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
powermac sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
powernv sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
powerpc thread: Add a return value to cpu_set_upcall() 2023-12-25 21:04:00 -05:00
ps3 sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
pseries sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
psim sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00