summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2004-07-19 07:21:46 +0000
committergrehan <grehan@FreeBSD.org>2004-07-19 07:21:46 +0000
commita21e64e66d53e47f27893fd35cd4109382156c64 (patch)
treeee3f5610e4f8c1f1b034da33e48b43d03b9d40fc /sys/powerpc/include
parentc4b4a8f0485fc72cdb96016e2461ed2f31eece8e (diff)
downloadFreeBSD-src-a21e64e66d53e47f27893fd35cd4109382156c64.zip
FreeBSD-src-a21e64e66d53e47f27893fd35cd4109382156c64.tar.gz
Use the version field to identify the partial context used by
KSE process-scope threads.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/ucontext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/include/ucontext.h b/sys/powerpc/include/ucontext.h
index f053cd5..85484fb 100644
--- a/sys/powerpc/include/ucontext.h
+++ b/sys/powerpc/include/ucontext.h
@@ -68,5 +68,6 @@ typedef struct __mcontext {
#define mc_vrsave mc_av[1]
#define _MC_VERSION 0x1
+#define _MC_VERSION_KSE 0xee /* partial ucontext for libpthread */
#endif /* !_MACHINE_UCONTEXT_H_ */
OpenPOWER on IntegriCloud