)]}'
{
  "commit": "6984efb692e97ce5f75f26e595685c04c2061bac",
  "tree": "d7093e4fe93fbec7a244ed9b85aadcacf9c25de8",
  "parents": [
    "ed966aac335a63083d3125198479447248637d9e"
  ],
  "author": {
    "name": "Paul Mackerras",
    "email": "paulus@samba.org",
    "time": "Wed Jun 03 19:38:58 2009 +1000"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Wed Jun 03 11:49:52 2009 +0200"
  },
  "message": "perf_counter: powerpc: Fix event alternative code generation on POWER5/5+\n\nCommit ef923214 (\"perf_counter: powerpc: use u64 for event\ncodes internally\") introduced a bug where the return value from\nfunction find_alternative_bdecode gets put into a u64 variable\nand later tested to see if it is \u003c 0.  The effect is that we\nget extra, bogus event code alternatives on POWER5 and POWER5+,\nleading to error messages such as \"oops compute_mmcr failed\"\nbeing printed and counters not counting properly.\n\nThis fixes it by using s64 for the return type of\nfind_alternative_bdecode and for the local variable that the\ncaller puts the value in.  It also makes the event argument a\nu64 on POWER5+ for consistency.\n\nSigned-off-by: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Corey Ashford \u003ccjashfor@linux.vnet.ibm.com\u003e\nCc: Marcelo Tosatti \u003cmtosatti@redhat.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: John Kacur \u003cjkacur@redhat.com\u003e\nCc: Stephane Eranian \u003ceranian@googlemail.com\u003e\nLKML-Reference: \u003c18982.17586.666132.90983@cargo.ozlabs.ibm.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c6cdfc165d6ef4e308ebe7f0774252221fab6414",
      "old_mode": 33188,
      "old_path": "arch/powerpc/kernel/power5+-pmu.c",
      "new_id": "8471e3c2e46584ecf948c912c9b59304e89620ac",
      "new_mode": 33188,
      "new_path": "arch/powerpc/kernel/power5+-pmu.c"
    },
    {
      "type": "modify",
      "old_id": "d5344968ee9cba2a2a4e243f857a6bc1ff918b87",
      "old_mode": 33188,
      "old_path": "arch/powerpc/kernel/power5-pmu.c",
      "new_id": "1b44c5fca1898ad4853383cdc6bbbc9ea0ca1138",
      "new_mode": 33188,
      "new_path": "arch/powerpc/kernel/power5-pmu.c"
    }
  ]
}
