Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964876AbVIMQpl (ORCPT ); Tue, 13 Sep 2005 12:45:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964875AbVIMQpl (ORCPT ); Tue, 13 Sep 2005 12:45:41 -0400 Received: from fmr16.intel.com ([192.55.52.70]:27087 "EHLO fmsfmr006.fm.intel.com") by vger.kernel.org with ESMTP id S964871AbVIMQpk convert rfc822-to-8bit (ORCPT ); Tue, 13 Sep 2005 12:45:40 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Subject: RE: [patch 2.6.13] ia64: re-implement dma_get_cache_alignment to avoid EXPORT_SYMBOL Date: Tue, 13 Sep 2005 09:45:21 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [patch 2.6.13] ia64: re-implement dma_get_cache_alignment to avoid EXPORT_SYMBOL Thread-Index: AcW4XmS7vGgETi1vR124/eLJsDxNXwAI3N8w From: "Luck, Tony" To: "Lion Vollnhals" , "John W. Linville" Cc: "Christoph Hellwig" , , X-OriginalArrivalTime: 13 Sep 2005 16:45:23.0687 (UTC) FILETIME=[8930E770:01C5B882] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 733 Lines: 23 >> 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-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/