]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'mips/mips-for-linux-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Dec 2011 01:12:03 +0000 (12:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Dec 2011 01:12:03 +0000 (12:12 +1100)
Conflicts:
arch/mips/kernel/perf_event_mipsxx.c

1  2 
arch/mips/kernel/perf_event_mipsxx.c
drivers/spi/Kconfig
drivers/tty/serial/Kconfig
drivers/tty/serial/Makefile

index 315fc0b250f8fe3373684f12f5c0437fd3d0b7b1,bda4bc9e6988bcab40f6b5513748c861d7a0adec..e3b897acfbc04b3db1cbd29a37a423ccca4df815
@@@ -731,16 -710,16 +710,16 @@@ static int validate_group(struct perf_e
  
        memset(&fake_cpuc, 0, sizeof(fake_cpuc));
  
-       if (!validate_event(&fake_cpuc, leader))
+       if (mipsxx_pmu_alloc_counter(&fake_cpuc, &leader->hw) < 0)
 -              return -ENOSPC;
 +              return -EINVAL;
  
        list_for_each_entry(sibling, &leader->sibling_list, group_entry) {
-               if (!validate_event(&fake_cpuc, sibling))
+               if (mipsxx_pmu_alloc_counter(&fake_cpuc, &sibling->hw) < 0)
 -                      return -ENOSPC;
 +                      return -EINVAL;
        }
  
-       if (!validate_event(&fake_cpuc, event))
+       if (mipsxx_pmu_alloc_counter(&fake_cpuc, &event->hw) < 0)
 -              return -ENOSPC;
 +              return -EINVAL;
  
        return 0;
  }
Simple merge
Simple merge
Simple merge