From patchwork Tue Nov 10 01:48:08 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Smith, Stan" X-Patchwork-Id: 58923 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAA1mAJk032406 for ; Tue, 10 Nov 2009 01:48:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754614AbZKJBsE (ORCPT ); Mon, 9 Nov 2009 20:48:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754615AbZKJBsD (ORCPT ); Mon, 9 Nov 2009 20:48:03 -0500 Received: from mga01.intel.com ([192.55.52.88]:63084 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754614AbZKJBsD (ORCPT ); Mon, 9 Nov 2009 20:48:03 -0500 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 09 Nov 2009 17:43:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,712,1249282800"; d="scan'208";a="512245272" Received: from scsmith-mobl1.amr.corp.intel.com (HELO scsmithMOBL1) ([10.7.151.219]) by fmsmga002.fm.intel.com with ESMTP; 09 Nov 2009 17:42:07 -0800 From: "Stan C. Smith" To: "'Sasha Khapyorsky'" Cc: , Subject: [PATCH] opensm - use C99 transportable data type for pointer storage Date: Mon, 9 Nov 2009 17:48:08 -0800 Message-ID: <086F8B40ADA84EE7B6398F4761937836@amr.corp.intel.com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acphp9orr+ezGuLaS6+Ks85jAf9s9Q== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/include/opensm/st.h b/opensm/include/opensm/st.h index 30cc308..ad6c289 100644 --- a/opensm/include/opensm/st.h +++ b/opensm/include/opensm/st.h @@ -39,6 +39,7 @@ #define ST_INCLUDED #include +#include #ifdef __cplusplus # define BEGIN_C_DECLS extern "C" { @@ -49,7 +50,7 @@ #endif /* __cplusplus */ BEGIN_C_DECLS -#define st_ptr_t unsigned long +#define st_ptr_t uintptr_t typedef st_ptr_t st_data_t; #define ST_DATA_T_DEFINED