)]}'
{
  "commit": "eac522ef438f8ea173569fd0469371bc5d317947",
  "tree": "890a1a68a65768b9f0de66083e566737a65c8483",
  "parents": [
    "16c29dafcc86024048f1dbb8349d31cb22c7c55a"
  ],
  "author": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Mon Mar 28 12:53:29 2011 +0100"
  },
  "committer": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Mon Mar 28 12:53:29 2011 +0100"
  },
  "message": "NOMMU: percpu should use is_vmalloc_addr().\n\nper_cpu_ptr_to_phys() uses VMALLOC_START and VMALLOC_END to determine if an\naddress is in the vmalloc() region or not.  This is incorrect on NOMMU as\nthere is no real vmalloc() capability (vmalloc() is emulated by kmalloc()).\n\nThe correct way to do this is to use is_vmalloc_addr().  This encapsulates the\nvmalloc() region test in MMU mode and just returns 0 in NOMMU mode.\n\nOn FRV in NOMMU mode, the percpu compilation fails without this patch:\n\nmm/percpu.c: In function \u0027per_cpu_ptr_to_phys\u0027:\nmm/percpu.c:1011: error: \u0027VMALLOC_START\u0027 undeclared (first use in this function)\nmm/percpu.c:1011: error: (Each undeclared identifier is reported only once\nmm/percpu.c:1011: error: for each function it appears in.)\nmm/percpu.c:1012: error: \u0027VMALLOC_END\u0027 undeclared (first use in this function)\nmm/percpu.c:1018: warning: control reaches end of non-void function\n\nSigned-off-by: David Howells \u003cdhowells@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3f930018aa60dc075bc49f7283c57b2b3b6f0035",
      "old_mode": 33188,
      "old_path": "mm/percpu.c",
      "new_id": "55d4d113fbd37fe4edb7531dc61102fc8f7c1bcc",
      "new_mode": 33188,
      "new_path": "mm/percpu.c"
    }
  ]
}
