[openib-general] [PATCH] Remove drivers/infiniband/core/header_export.c

Tom Duffy tduffy at sun.com
Mon Aug 16 14:49:50 PDT 2004


Remove file drivers/infiniband/core/header_export.c.  Roland, if you
apply this, please don't forget to "svn delete header_export.c".

Signed-by: Tom Duffy <tduffy at sun.com> with permission from Sun legal.

Index: drivers/infiniband/core/Makefile
===================================================================
--- drivers/infiniband/core/Makefile	(revision 654)
+++ drivers/infiniband/core/Makefile	(working copy)
@@ -34,7 +34,6 @@
     pm_export.o \
     header_main.o \
     header_ud.o \
-    header_export.o \
     core_main.o \
     core_device.o \
     core_pd.o \
Index: drivers/infiniband/core/header_main.c
===================================================================
--- drivers/infiniband/core/header_main.c	(revision 654)
+++ drivers/infiniband/core/header_main.c	(working copy)
@@ -108,6 +108,7 @@
 		}
 	}
 }
+EXPORT_SYMBOL(ib_header_pack);
 
 static void ib_value_write(int      offset,
                            int      size,
@@ -190,6 +191,7 @@
 		}
 	}
 }
+EXPORT_SYMBOL(ib_header_unpack);
 
 /*
   Local Variables:
Index: drivers/infiniband/core/header_ud.c
===================================================================
--- drivers/infiniband/core/header_ud.c	(revision 654)
+++ drivers/infiniband/core/header_ud.c	(working copy)
@@ -28,6 +28,7 @@
 #include "ts_kernel_services.h"
 
 #include <linux/errno.h>
+#include <linux/module.h>
 
 void ib_ud_header_init(int     		    payload_bytes,
 		       int    		    grh_present,
@@ -74,6 +75,7 @@
 	header->bth.pad_count                = (4 - payload_bytes) & 3;
 	header->bth.transport_header_version = 0;
 }
+EXPORT_SYMBOL(ib_ud_header_init);
 
 int ib_ud_header_pack(struct ib_ud_header *header,
 		      void                *buf)
@@ -113,6 +115,7 @@
 
 	return len;
 }
+EXPORT_SYMBOL(ib_ud_header_pack);
 
 int ib_ud_header_unpack(void                *buf,
 			struct ib_ud_header *header)
@@ -198,6 +201,7 @@
 
 	return 0;
 }
+EXPORT_SYMBOL(ib_ud_header_unpack);
 
 /*
   Local Variables:
Index: drivers/infiniband/core/header_export.c
===================================================================
--- drivers/infiniband/core/header_export.c	(revision 654)
+++ drivers/infiniband/core/header_export.c	(working copy)
@@ -1,32 +0,0 @@
-/*
-  This software is available to you under a choice of one of two
-  licenses.  You may choose to be licensed under the terms of the GNU
-  General Public License (GPL) Version 2, available at
-  <http://www.fsf.org/copyleft/gpl.html>, or the OpenIB.org BSD
-  license, available in the LICENSE.TXT file accompanying this
-  software.  These details are also available at
-  <http://openib.org/license.html>.
-
-  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
-  BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-  ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-  SOFTWARE.
-
-  Copyright (c) 2004 Topspin Communications.  All rights reserved.
-
-  $Id$
-*/
-
-#include "ts_ib_header.h"
-
-#include <linux/module.h>
-
-EXPORT_SYMBOL(ib_header_pack);
-EXPORT_SYMBOL(ib_header_unpack);
-EXPORT_SYMBOL(ib_ud_header_init);
-EXPORT_SYMBOL(ib_ud_header_pack);
-EXPORT_SYMBOL(ib_ud_header_unpack);

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20040816/b6cdb0bc/attachment.sig>


More information about the general mailing list