)]}'
{
  "commit": "7c9034735eccbf82608a4602c59aaf6053ea9416",
  "tree": "219e8cd4b5cfffeb261f42a2bd8e512be19cba40",
  "parents": [
    "abcd9e51f5b832439b119d530db1353c12fd4073"
  ],
  "author": {
    "name": "Eric W. Biederman",
    "email": "ebiederm@xmission.com",
    "time": "Tue Jul 26 11:29:55 2005 -0600"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Tue Jul 26 14:35:41 2005 -0700"
  },
  "message": "[PATCH] Add emergency_restart()\n\nWhen the kernel is working well and we want to restart cleanly\nkernel_restart is the function to use.   But in many instances\nthe kernel wants to reboot when thing are expected to be working\nvery badly such as from panic or a software watchdog handler.\n\nThis patch adds the function emergency_restart() so that\ncallers can be clear what semantics they expect when calling\nrestart.  emergency_restart() is expected to be callable\nfrom interrupt context and possibly reliable in even more\ntrying circumstances.\n\nThis is an initial generic implementation for all architectures.\n\nSigned-off-by: Eric W. Biederman \u003cebiederm@xmission.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-alpha/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-arm/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-arm26/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-cris/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-frv/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0d68a1eae98528b3c2f711774ecf01b4c2a21dbb",
      "new_mode": 33188,
      "new_path": "include/asm-generic/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-h8300/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-i386/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-ia64/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-m32r/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-m68k/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-m68knommu/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-mips/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-parisc/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-ppc/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-ppc64/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-s390/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-sh/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-sh64/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-sparc/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-sparc64/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-um/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-v850/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-x86_64/emergency-restart.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "108d8c48e42e86978077354f2fa1b151f25c41df",
      "new_mode": 33188,
      "new_path": "include/asm-xtensa/emergency-restart.h"
    },
    {
      "type": "modify",
      "old_id": "828ba4f107d908473cf6005127b6ea1980b704ed",
      "old_mode": 33188,
      "old_path": "include/linux/reboot.h",
      "new_id": "3b3266ff1a9508ba1edbb96600cfc280e5fdbef0",
      "new_mode": 33188,
      "new_path": "include/linux/reboot.h"
    },
    {
      "type": "modify",
      "old_id": "31ac41a733298bd68e1385c91300bdd7510dea65",
      "old_mode": 33188,
      "old_path": "kernel/sys.c",
      "new_id": "a74039036fb47cf9d27896477add07d4f41cb063",
      "new_mode": 33188,
      "new_path": "kernel/sys.c"
    }
  ]
}
