[ofw] ***SPAM*** [PATCH v2] Remove TYPEDEF_PTR64

Fab Tillier ftillier at windows.microsoft.com
Fri Jul 11 12:48:09 PDT 2008


Updated to account for changes in previous patches so that this applies cleanly.

Signed-off-by: Fab Tillier <ftillier at microsoft.com>

diff -up -r -X trunk\docs\dontdiff.txt -I \$Id: old\inc\iba\ib_types.h trunk\inc\iba\ib_types.h
--- old\inc\iba\ib_types.h      Fri Jul 11 12:46:20 2008
+++ trunk\inc\iba\ib_types.h    Fri Jul 11 12:46:40 2008
@@ -41,10 +41,6 @@
 #include <complib/cl_byteswap.h>
 //#include <al_fmr_pool.h>

-#ifndef TYPEDEF_PTR64
-#define TYPEDEF_PTR64
-#endif
-
 #ifndef STRUCT_PTR64
 #define STRUCT_PTR64
 #endif
@@ -8648,17 +8644,17 @@ typedef struct _ib_port_counters
  */


-typedef struct _ib_ca* TYPEDEF_PTR64                   ib_ca_handle_t;
-typedef struct _ib_pd* TYPEDEF_PTR64                   ib_pd_handle_t;
-typedef struct _ib_mr* TYPEDEF_PTR64                   ib_mr_handle_t;
-typedef struct _ib_mw* TYPEDEF_PTR64                   ib_mw_handle_t;
-typedef struct _ib_qp* TYPEDEF_PTR64                   ib_qp_handle_t;
-typedef struct _ib_srq* TYPEDEF_PTR64                  ib_srq_handle_t;
-typedef struct _ib_cq* TYPEDEF_PTR64                   ib_cq_handle_t;
-typedef struct _ib_av* TYPEDEF_PTR64                   ib_av_handle_t;
-typedef struct _ib_mcast* TYPEDEF_PTR64                ib_mcast_handle_t;
-typedef struct _mlnx_fmr* TYPEDEF_PTR64                mlnx_fmr_handle_t;
-typedef struct _mlnx_fmr_pool* TYPEDEF_PTR64   mlnx_fmr_pool_handle_t;
+typedef struct _ib_ca*                 ib_ca_handle_t;
+typedef struct _ib_pd*                 ib_pd_handle_t;
+typedef struct _ib_mr*                 ib_mr_handle_t;
+typedef struct _ib_mw*                 ib_mw_handle_t;
+typedef struct _ib_qp*                 ib_qp_handle_t;
+typedef struct _ib_srq*                        ib_srq_handle_t;
+typedef struct _ib_cq*                 ib_cq_handle_t;
+typedef struct _ib_av*                 ib_av_handle_t;
+typedef struct _ib_mcast*              ib_mcast_handle_t;
+typedef struct _mlnx_fmr*              mlnx_fmr_handle_t;
+typedef struct _mlnx_fmr_pool* mlnx_fmr_pool_handle_t;


 /****d* Access Layer/ib_api_status_t
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TYPEDEF_PTR64.patch
Type: application/octet-stream
Size: 1674 bytes
Desc: TYPEDEF_PTR64.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080711/c0807966/attachment.obj>


More information about the ofw mailing list