[svn-commits] tzafrir: branch 1.2 r2257 - /branches/1.2/xpp/xbus-core.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Mar 1 12:29:12 MST 2007


Author: tzafrir
Date: Thu Mar  1 13:29:12 2007
New Revision: 2257

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2257
Log:
SLAB_KERNEL is an obsolete alias of GFP_KERNEL. Fix build on Vanilla 2.6.20 .

Modified:
    branches/1.2/xpp/xbus-core.c

Modified: branches/1.2/xpp/xbus-core.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/xbus-core.c?view=diff&rev=2257&r1=2256&r2=2257
==============================================================================
--- branches/1.2/xpp/xbus-core.c (original)
+++ branches/1.2/xpp/xbus-core.c Thu Mar  1 13:29:12 2007
@@ -630,7 +630,7 @@
 	BUG_ON(xbus->busname[0] == '\0');	/* No name? */
 	BUG_ON(xbus->poller);			/* Hmmm... overrun pollers? */
 	DBG("%s\n", xbus->busname);
-	poller = kmalloc(sizeof(*poller), SLAB_KERNEL);
+	poller = kmalloc(sizeof(*poller), GFP_KERNEL);
 	if(!poller)
 		goto err;
 	memset(poller, 0, sizeof(*poller));



More information about the svn-commits mailing list