From e69dc73bb416a7b0ea79b58b06d84921994963db Mon Sep 17 00:00:00 2001 From: Stephen Champion Date: Wed, 22 Jun 2011 21:40:16 -0500 Subject: [PATCH] LU-452 : Don't export static functions As with LU-102 in the master branch, recent versions of GCC on ia64 sensibly refuse to export static functions. obd_device_alloc and obd_device_free are not referenced externally, so resolve this error by not exporting them. Signed-off-by: Stephen Champion Change-Id: I784cfbe59f4685d0e975427c3095aa082de1a1c6 Reviewed-on: http://review.whamcloud.com/1007 Reviewed-by: Andreas Dilger Tested-by: Hudson --- lustre/obdclass/genops.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lustre/obdclass/genops.c b/lustre/obdclass/genops.c index c66fab5..9406341 100644 --- a/lustre/obdclass/genops.c +++ b/lustre/obdclass/genops.c @@ -78,7 +78,6 @@ static struct obd_device *obd_device_alloc(void) } return obd; } -EXPORT_SYMBOL(obd_device_alloc); static void obd_device_free(struct obd_device *obd) { @@ -93,7 +92,6 @@ static void obd_device_free(struct obd_device *obd) } OBD_SLAB_FREE_PTR(obd, obd_device_cachep); } -EXPORT_SYMBOL(obd_device_free); struct obd_type *class_search_type(const char *name) { -- 1.8.3.1