[PATCH] xfree86: correctly define barriers for FreeBSD amd64

Benjamin Close Benjamin.Close at clearchain.com
Wed Apr 1 19:37:11 PDT 2009


Thanks, will update the patch

On 27/02/2009 3:33 AM, Julien Cristau wrote:
> 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