diff options
author | jake <jake@FreeBSD.org> | 2002-01-08 04:36:53 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-01-08 04:36:53 +0000 |
commit | 777d499906b18370be4eb0f8251b6ec11d7e2993 (patch) | |
tree | 967394ad39d457f67538906a17ba87694cc069b6 /sys | |
parent | 3e20261f8ae7b7abe3167edff7962383c34c5006 (diff) | |
download | FreeBSD-src-777d499906b18370be4eb0f8251b6ec11d7e2993.zip FreeBSD-src-777d499906b18370be4eb0f8251b6ec11d7e2993.tar.gz |
Define CKLF_PC in terms of TRAPF_PC.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sparc64/include/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/include/cpu.h b/sys/sparc64/include/cpu.h index 909e54f..5097a40 100644 --- a/sys/sparc64/include/cpu.h +++ b/sys/sparc64/include/cpu.h @@ -45,7 +45,7 @@ #include <machine/tstate.h> #define CLKF_USERMODE(cfp) TRAPF_USERMODE(&(cfp)->cf_tf) -#define CLKF_PC(cfp) ((cfp)->cf_tf.tf_tpc) +#define CLKF_PC(cfp) TRAPF_PC(&(cfp)->cf_tf) #define TRAPF_PC(tfp) ((tfp)->tf_tpc) #define TRAPF_USERMODE(tfp) (((tfp)->tf_tstate & TSTATE_PRIV) == 0) |