)]}'
{
  "commit": "f36a1a133a947973efb8e6a1fbdcc23e4a011437",
  "tree": "c635e0a3a8329aac348c2e861f91347abe59792f",
  "parents": [
    "b26bc5a7f81474937e427b0c855eabee5ad56f89"
  ],
  "author": {
    "name": "Paul Mackerras",
    "email": "paulus@samba.org",
    "time": "Fri Aug 07 16:59:45 2009 +1000"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Sun Aug 09 12:54:37 2009 +0200"
  },
  "message": "perf_counter/powerpc: Fix oops on cpus without perf_counter hardware support\n\nIf we have the powerpc perf_counter backend compiled in, but\nthe cpu we are running on is one where we don\u0027t support the\nPMU, we currently oops in hw_perf_group_sched_in if we try to\nuse any counters, because ppmu is NULL in that case, and we\nunconditionally dereference ppmu.\n\nThis fixes the problem by adding a check if ppmu is NULL at the\nbeginning of hw_perf_group_sched_in, and also at the beginning\nof the other functions that get called from the perf_counter\ncore, i.e. hw_perf_disable, hw_perf_enable, and\nhw_perf_counter_setup.\n\nSigned-off-by: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: benh@kernel.crashing.org\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "809fdf94b95fb4b10c117a88927fbafecba83979",
      "old_mode": 33188,
      "old_path": "arch/powerpc/kernel/perf_counter.c",
      "new_id": "70e1f57f7dd864bb2ec9d2f2e5e16c301e647a19",
      "new_mode": 33188,
      "new_path": "arch/powerpc/kernel/perf_counter.c"
    }
  ]
}
