RE: [patch 2.6.13] ia64: re-implement dma_get_cache_alignment to avoid EXPORT_SYMBOL

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2005-09-14 02:45:21
>>  unsigned long ia64_max_cacheline_size;
>> +
>> +int dma_get_cache_alignment(void)
>> +{
>> +        return ia64_max_cacheline_size;
>> +}
>> +EXPORT_SYMBOL(dma_get_cache_alignment);
>> +
>
>Are you intentionally returning an "int" instead of an "unsigned long"?

The old version used to return int, as does the the version
on other architectures.  The problem appears to be the
definition "unsigned long ia64_max_cacheline_size;"

I think an int should be plenty big enough :-)

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Sep 14 02:46:23 2005

This archive was generated by hypermail 2.1.8 : 2005-09-14 02:46:29 EST