)]}'
{
  "commit": "bc32df00894f0e1dbf583cc3dab210d2969b078a",
  "tree": "1276c26359ac5c4cd231d1d61a4e9649971f4d35",
  "parents": [
    "e5d6151115aee73825c1752aff7cd09adfece839"
  ],
  "author": {
    "name": "Heiko Carstens",
    "email": "heiko.carstens@de.ibm.com",
    "time": "Mon Mar 15 00:35:03 2010 -0400"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Wed Mar 17 18:43:47 2010 -0700"
  },
  "message": "memory hotplug: allow setting of phys_device\n\n/sys/devices/system/memory/memoryX/phys_device is supposed to contain the\nnumber of the physical device that the corresponding piece of memory\nbelongs to.\n\nIn case a physical device should be replaced or taken offline for whatever\nreason it is necessary to set all corresponding memory pieces offline.\nThe current implementation always sets phys_device to \u00270\u0027 and there is no\nway or hook to change that.  Seems like there was a plan to implement that\nbut it wasn\u0027t finished for whatever reason.\n\nSo add a weak function which architectures can override to actually set\nthe phys_device from within add_memory_block().\n\nSigned-off-by: Heiko Carstens \u003cheiko.carstens@de.ibm.com\u003e\nCc: Dave Hansen \u003chaveblue@us.ibm.com\u003e\nCc: Gerald Schaefer \u003cgerald.schaefer@de.ibm.com\u003e\nCc: KAMEZAWA Hiroyuki \u003ckamezawa.hiroyu@jp.fujitsu.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2f8691511190f921e1e6a75beab9581d123d68d7",
      "old_mode": 33188,
      "old_path": "drivers/base/memory.c",
      "new_id": "db0848e54cc639f7ad63d7673cd48e90d570fb34",
      "new_mode": 33188,
      "new_path": "drivers/base/memory.c"
    },
    {
      "type": "modify",
      "old_id": "1adfe779eb99123a91c4141bd1974654db8d5880",
      "old_mode": 33188,
      "old_path": "include/linux/memory.h",
      "new_id": "85582e1bcee900bd219c60169a708a2a38dca8e1",
      "new_mode": 33188,
      "new_path": "include/linux/memory.h"
    }
  ]
}
