declarations since clang doesn't register the %-prefixed ones.
-/* $OpenBSD: cpu.h,v 1.89 2016/08/17 11:09:01 dlg Exp $ */
+/* $OpenBSD: cpu.h,v 1.90 2017/04/20 10:03:40 kettenis Exp $ */
/* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */
/*
#ifdef MULTIPROCESSOR
-register struct cpu_info *__curcpu asm ("%g7");
+register struct cpu_info *__curcpu asm ("g7");
#define curcpu() (__curcpu->ci_self)
#define cpu_number() (__curcpu->ci_number)
-/* $OpenBSD: tcb.h,v 1.6 2016/09/17 15:56:58 guenther Exp $ */
+/* $OpenBSD: tcb.h,v 1.7 2017/04/20 10:03:40 kettenis Exp $ */
/*
* Copyright (c) 2011 Philip Guenther <guenther@openbsd.org>
/* ELF TLS ABI calls for big TCB, with static TLS data at negative offsets */
#define TLS_VARIANT 2
-register void *__tcb __asm__ ("%g7");
+register void *__tcb __asm__ ("g7");
#define TCB_GET() (__tcb)
#define TCB_SET(tcb) ((__tcb) = (tcb))