x86emu: There is no NO_INLINE implementation of unaligned access here.
Patch produced with: unifdef -UNO_INLINE -B This change isn't relevant to the similar code in hw/xfree86/common/compiler.h, because x86emu is expected to someday move out of xserver entirely and so should not depend on any xserver headers. Also, some platforms apparently do have NO_INLINE versions of compiler.h. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
		
							parent
							
								
									0caeef6146
								
							
						
					
					
						commit
						60b4bd181b
					
				|  | @ -49,7 +49,6 @@ | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #endif                                                                                            | #endif                                                                                            | ||||||
| 
 | 
 | ||||||
| # ifndef NO_INLINE |  | ||||||
| #  ifdef __GNUC__ | #  ifdef __GNUC__ | ||||||
| 
 | 
 | ||||||
| /* Define some packed structures to use with unaligned accesses */ | /* Define some packed structures to use with unaligned accesses */ | ||||||
|  | @ -139,7 +138,6 @@ static __inline__ void stw_u(u16 val, u16 *p) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #  endif /* __GNUC__ */ | #  endif /* __GNUC__ */ | ||||||
| # endif /* NO_INLINE */ |  | ||||||
| /*------------------------- Global Variables ------------------------------*/ | /*------------------------- Global Variables ------------------------------*/ | ||||||
| 
 | 
 | ||||||
| X86EMU_sysEnv		_X86EMU_env;		/* Global emulator machine state */ | X86EMU_sysEnv		_X86EMU_env;		/* Global emulator machine state */ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue