summaryrefslogtreecommitdiff
path: root/xpp
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-01 19:50:34 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-01 19:50:34 +0000
commita6fdebb56b77a2571d13b5b089a5c4bfbbb04a8d (patch)
tree4c181697c8b4803f79333064be7a37f3cfca2c94 /xpp
parent4b6422e1d856247cb133554b9f1588b7f9dbd2ce (diff)
r2257 | tzafrir | 2007-03-01 21:29:12 +0200 (Thu, 01 Mar 2007) | 2 lines
SLAB_KERNEL is an obsolete alias of GFP_KERNEL. Fix build on Vanilla 2.6.20 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2259 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp')
-rw-r--r--xpp/xbus-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/xbus-core.c b/xpp/xbus-core.c
index a65e201..690d9d2 100644
--- a/xpp/xbus-core.c
+++ b/xpp/xbus-core.c
@@ -630,7 +630,7 @@ static struct xbus_poller *poller_new(xbus_t *xbus)
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));