diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2010-07-29 18:44:10 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2010-07-29 18:44:10 +0000 |
| commit | 536af0d751b63fc340205a358621ee862989978d (patch) | |
| tree | ca3924e0572a2a29f202c1fdbe307006a9bf6eed /sys/ia64/include/pcpu.h | |
| parent | 97a012f24adbcedb5308141353af05e74e656944 (diff) | |
Notes
Diffstat (limited to 'sys/ia64/include/pcpu.h')
| -rw-r--r-- | sys/ia64/include/pcpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/include/pcpu.h b/sys/ia64/include/pcpu.h index 3c6e6a762af5..58403aad5871 100644 --- a/sys/ia64/include/pcpu.h +++ b/sys/ia64/include/pcpu.h @@ -70,12 +70,12 @@ struct pcpu; register struct pcpu *pcpup __asm__("r13"); -static __inline struct thread * +static __inline __pure2 struct thread * __curthread(void) { struct thread *td; - __asm __volatile("ld8.acq %0=[r13]" : "=r"(td)); + __asm("ld8.acq %0=[r13]" : "=r"(td)); return (td); } #define curthread (__curthread()) |
