[PATCH] xfree86: correctly define barriers for FreeBSD amd64

Julien Cristau jcristau at debian.org
Thu Feb 26 09:03:49 PST 2009


On Thu, Feb 26, 2009 at 17:47:31 +1030, Benjamin Close wrote:

> @@ -461,7 +461,7 @@ extern _X_EXPORT unsigned int inb(unsigned long port);
>  extern _X_EXPORT unsigned int inw(unsigned long port);
>  extern _X_EXPORT unsigned int inl(unsigned long port);
>   
> -#   elif defined(linux) && defined(__amd64__)
> +#   elif (defined(linux) || defined(__FreeBSD__)) && defined(__amd64__)
>   
__FreeBSD_kernel__ probably needs the same treatment...

Cheers,
Julien


More information about the xorg-devel mailing list