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

« back to all changes in this revision

Viewing changes to arch/powerpc/platforms/pseries/cmm.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:
508
508
        if (action == MEM_ISOLATE_COUNT)
509
509
                ret = cmm_count_pages(arg);
510
510
 
511
 
        if (ret)
512
 
                ret = notifier_from_errno(ret);
513
 
        else
514
 
                ret = NOTIFY_OK;
515
 
 
516
 
        return ret;
 
511
        return notifier_from_errno(ret);
517
512
}
518
513
 
519
514
static struct notifier_block cmm_mem_isolate_nb = {
635
630
                break;
636
631
        }
637
632
 
638
 
        if (ret)
639
 
                ret = notifier_from_errno(ret);
640
 
        else
641
 
                ret = NOTIFY_OK;
642
 
 
643
 
        return ret;
 
633
        return notifier_from_errno(ret);
644
634
}
645
635
 
646
636
static struct notifier_block cmm_mem_nb = {