~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to sound/pci/ctxfi/ctvmem.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
        if (entry->size == size) {
54
54
                /* Move the vm node from unused list to used list directly */
55
 
                list_del(&entry->list);
56
 
                list_add(&entry->list, &vm->used);
 
55
                list_move(&entry->list, &vm->used);
57
56
                vm->size -= size;
58
57
                block = entry;
59
58
                goto out;