~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to arch/arm/common/pl330.c

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2012-03-04 15:32:20 UTC
  • mto: (43.1.29 sid)
  • mto: This revision was merged to the branch mainline in revision 57.
  • Revision ID: package-import@ubuntu.com-20120304153220-z43emb9b8y0vpuf2
Tags: upstream-3.2.9
ImportĀ upstreamĀ versionĀ 3.2.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
1496
1496
        struct pl330_thread *thrd = ch_id;
1497
1497
        struct pl330_dmac *pl330;
1498
1498
        unsigned long flags;
1499
 
        int ret = 0, active = thrd->req_running;
 
1499
        int ret = 0, active;
1500
1500
 
1501
1501
        if (!thrd || thrd->free || thrd->dmac->state == DYING)
1502
1502
                return -EINVAL;
1503
1503
 
1504
1504
        pl330 = thrd->dmac;
 
1505
        active = thrd->req_running;
1505
1506
 
1506
1507
        spin_lock_irqsave(&pl330->lock, flags);
1507
1508