2007-09-11 Roland McGrath <roland@redhat.com>

* defs.h [LINUXSPARC]: Use asm/psrcompat.h for [SPARC64], not asm/psr.h.
	From Jakub Bogusz <qboosh@pld-linux.org>.
This commit is contained in:
Roland McGrath 2007-09-12 01:26:26 +00:00
parent c2f7351fcd
commit 5aa0434fe9

3
defs.h
View File

@ -193,14 +193,15 @@ extern int ptrace();
#ifdef LINUXSPARC
#include <linux/a.out.h>
#include <asm/psr.h>
#define PERSONALITY0_WORDSIZE 4
#define PERSONALITY1_WORDSIZE 4
#undef SUPPORTED_PERSONALITIES
#if defined(SPARC64)
#include <asm/psrcompat.h>
#define SUPPORTED_PERSONALITIES 3
#define PERSONALITY2_WORDSIZE 8
#else
#include <asm/psr.h>
#define SUPPORTED_PERSONALITIES 2
#endif /* SPARC64 */
#endif /* LINUXSPARC */