aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/include/_types.h
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2011-02-04 13:09:46 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2011-02-04 13:09:46 +0000
commit4e518ddb21db6abcade5cb3d67765a300ffce7e7 (patch)
treef983a6d1e3f6be15dda80dde00cb89e7c09d3875 /sys/mips/include/_types.h
parent492fddb2c4f43f6f2c0c9fdaf73b2687d25c2f6a (diff)
downloadsrc-4e518ddb21db6abcade5cb3d67765a300ffce7e7.tar.gz
src-4e518ddb21db6abcade5cb3d67765a300ffce7e7.zip
Replace __LP64__ with __mips_n64. This partly reverts r217147.
Requested by: jmallett, imp Approved by: kib (mentor)
Notes
Notes: svn path=/head/; revision=218266
Diffstat (limited to 'sys/mips/include/_types.h')
-rw-r--r--sys/mips/include/_types.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/mips/include/_types.h b/sys/mips/include/_types.h
index 40c8db284c19..4d57e20db108 100644
--- a/sys/mips/include/_types.h
+++ b/sys/mips/include/_types.h
@@ -53,7 +53,7 @@ typedef short __int16_t;
typedef unsigned short __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
-#ifdef __LP64__
+#ifdef __mips_n64
typedef long __int64_t;
typedef unsigned long __uint64_t;
#else
@@ -76,7 +76,7 @@ typedef __int32_t __clock_t; /* clock()... */
typedef unsigned int __cpumask_t;
typedef double __double_t;
typedef double __float_t;
-#ifdef __LP64__
+#ifdef __mips_n64
typedef __int64_t __critical_t;
typedef __int64_t __intfptr_t;
typedef __int64_t __intptr_t;
@@ -94,14 +94,14 @@ typedef __int8_t __int_least8_t;
typedef __int16_t __int_least16_t;
typedef __int32_t __int_least32_t;
typedef __int64_t __int_least64_t;
-#if defined(__LP64__) || defined(__mips_n32)
+#if defined(__mips_n64) || defined(__mips_n32)
typedef __int64_t __register_t;
typedef __int64_t f_register_t;
#else
typedef __int32_t __register_t;
typedef __int32_t f_register_t;
#endif
-#ifdef __LP64__
+#ifdef __mips_n64
typedef __int64_t __ptrdiff_t;
typedef __int64_t __segsz_t;
typedef __uint64_t __size_t;
@@ -126,19 +126,19 @@ typedef __uint8_t __uint_least8_t;
typedef __uint16_t __uint_least16_t;
typedef __uint32_t __uint_least32_t;
typedef __uint64_t __uint_least64_t;
-#if defined(__LP64__) || defined(__mips_n32)
+#if defined(__mips_n64) || defined(__mips_n32)
typedef __uint64_t __u_register_t;
#else
typedef __uint32_t __u_register_t;
#endif
-#ifdef __LP64__
+#ifdef __mips_n64
typedef __uint64_t __vm_offset_t;
typedef __uint64_t __vm_size_t;
#else
typedef __uint32_t __vm_offset_t;
typedef __uint32_t __vm_size_t;
#endif
-#if defined(__LP64__) || defined(__mips_n32) /* PHYSADDR_64_BIT */
+#if defined(__mips_n64) || defined(__mips_n32) /* PHYSADDR_64_BIT */
typedef __uint64_t __vm_paddr_t;
#else
typedef __uint32_t __vm_paddr_t;