From 26e4f705e013c6257330ce3456fcb70b0bad12cf Mon Sep 17 00:00:00 2001 From: "Christopher J. Morrone" Date: Wed, 16 Feb 2011 13:13:17 -0800 Subject: [PATCH] Remove EXPORT_SYMBOL for static function. gcc 4.4.4 in RHEL6 on ppc64 does not allow EXPORT_SYMBOL for a static function (which seems reasonable). The following error is seen on the EXPORT_SYMBOL line: error: __ksymtab_obd_device_alloc causes a section type conflict Change-Id: I6ad5ae13346b82bd723e05545d1e2a765b7460a8 Signed-off-by: Christopher J. Morrone --- lustre/obdclass/genops.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lustre/obdclass/genops.c b/lustre/obdclass/genops.c index 51cd9b9..9a9adfa 100644 --- a/lustre/obdclass/genops.c +++ b/lustre/obdclass/genops.c @@ -80,7 +80,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) { -- 1.8.3.1