summaryrefslogtreecommitdiff
path: root/xpp
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-01 20:09:16 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-01 20:09:16 +0000
commitb08875b787ff1deda7fe064c0be163ad3927e023 (patch)
treea898484f4a1c088ee26f3b3723c2c064e68eceb8 /xpp
parent13ac59fc2e0af198f15e5a8291bc3cbc6d22a711 (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/trunk@2260 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));