Project

General

Profile

Bug #5457 ยป xhat.diff

Gary Mills, 2014-12-21 02:58 AM

View differences:

xhat_sfmmu.h Mon Dec 8 12:56:32 2014
20 20
 * CDDL HEADER END
21 21
 */
22 22
/*
23
 * Copyright 2015 Gary Mills
23 24
 * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
24 25
 * Use is subject to license terms.
25 26
 */
......
27 28
#ifndef _XHAT_SFMMU_H
28 29
#define	_XHAT_SFMMU_H
29 30

  
30
#pragma ident	"%Z%%M%	%I%	%E% SMI"
31 31

  
32

  
33

  
34 32
#ifdef	__cplusplus
35 33
extern "C" {
36 34
#endif
......
46 44
struct xhat;
47 45
struct xhat_hme_blk;
48 46

  
47
#ifdef	__GNUC__
48
#ifdef	offsetof
49
#undef	offsetof
50
#endif
51
#define	offsetof(type, member)  __builtin_offsetof(type, member)
52
#endif
49 53

  
50 54
/*
51 55
 * Pads to align xhat_hme_blk's xhat_hme_blk_misc
    (1-1/1)