]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/ds.c
Merge branch 'x86-fixes-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / ds.c
index ab21c270bfa4c59f7f179310ff638db68d461c50..2b69994fd3a800458f4d81abbebad357405eac69 100644 (file)
@@ -479,12 +479,12 @@ static int ds_release(struct task_struct *task, enum ds_qualifier qual)
                goto out;
 
        kfree(context->buffer[qual]);
-       context->buffer[qual] = 0;
+       context->buffer[qual] = NULL;
 
        current->mm->total_vm  -= context->pages[qual];
        current->mm->locked_vm -= context->pages[qual];
        context->pages[qual] = 0;
-       context->owner[qual] = 0;
+       context->owner[qual] = NULL;
 
        /*
         * we put the context twice: