comparison src/m/sparc.h @ 286:57709be46d1b r21-0b41

Import from CVS: tag r21-0b41
author cvs
date Mon, 13 Aug 2007 10:35:03 +0200
parents 85a06df23a9a
children a86b2b5e0111
comparison
equal deleted inserted replaced
285:9a3756523c1b 286:57709be46d1b
48 48
49 /* Mask for address bits within a memory segment */ 49 /* Mask for address bits within a memory segment */
50 50
51 #define SEGMENT_MASK (SEGSIZ - 1) 51 #define SEGMENT_MASK (SEGSIZ - 1)
52 52
53 #if ! defined (__NetBSD__) && ! defined (__linux__) 53 #if ! defined (__NetBSD__) && ! defined (__linux__) && !defined (__OpenBSD__)
54 /* This really belongs in s/sun.h. */ 54 /* This really belongs in s/sun.h. */
55 55
56 /* Data type of load average, as read out of kmem. */ 56 /* Data type of load average, as read out of kmem. */
57 57
58 #define LOAD_AVE_TYPE long 58 #define LOAD_AVE_TYPE long
69 69
70 /* This is the offset of the executable's text, from the start of the file. */ 70 /* This is the offset of the executable's text, from the start of the file. */
71 71
72 #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) 72 #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
73 73
74 #endif /* not Linux or NetBSD */ 74 #endif /* not Linux or NetBSD or OpenBSD */