diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2006-01-10 19:22:46 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2006-01-10 19:22:46 +0000 |
commit | 9adc1b92c6455184a28b235dcf4c71a7f60b6ee9 (patch) | |
tree | be52512047dd2df8da0aecb19025c21c2ac0b68b | |
parent | 40494cd137b5528dca4d977e038c40024d267f57 (diff) |
The __CONCAT macro here collides with the one in cdefs.h pulled in via
errno.h. Don't include errno.h and export EFAULT therefore, similiar to
hppa.
-rw-r--r-- | sys/arch/hppa64/hppa64/genassym.cf | 5 | ||||
-rw-r--r-- | sys/arch/hppa64/hppa64/locore.S | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/hppa64/hppa64/genassym.cf b/sys/arch/hppa64/hppa64/genassym.cf index b3104b819c4..4f9e2a5fd1e 100644 --- a/sys/arch/hppa64/hppa64/genassym.cf +++ b/sys/arch/hppa64/hppa64/genassym.cf @@ -1,4 +1,4 @@ -# $OpenBSD: genassym.cf,v 1.2 2005/04/21 04:39:35 mickey Exp $ +# $OpenBSD: genassym.cf,v 1.3 2006/01/10 19:22:45 martin Exp $ # # Copyright (c) 1982, 1990, 1993 @@ -143,3 +143,6 @@ export SYSCALLGATE export SYS_exit export SYS_execve export SYS_sigreturn + +# errno +export EFAULT diff --git a/sys/arch/hppa64/hppa64/locore.S b/sys/arch/hppa64/hppa64/locore.S index 17b508d799c..33c36eb6b3b 100644 --- a/sys/arch/hppa64/hppa64/locore.S +++ b/sys/arch/hppa64/hppa64/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.4 2005/05/21 22:58:28 mickey Exp $ */ +/* $OpenBSD: locore.S,v 1.5 2006/01/10 19:22:45 martin Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -19,7 +19,6 @@ .level 2.0w -#include <sys/errno.h> #include <sys/reboot.h> #include <machine/param.h> #include <machine/asm.h> |