)]}'
{
  "commit": "b3ac891b67bd4b1fc728d1c784cad1212dea433d",
  "tree": "fda2067b546e9e6d9ff4e3a4a604bd17bbc6dd52",
  "parents": [
    "17c0e7107bed3d578864e6519f7f4e4c324c8f58"
  ],
  "author": {
    "name": "Luca Barbieri",
    "email": "luca@luca-barbieri.com",
    "time": "Wed Feb 24 10:54:22 2010 +0100"
  },
  "committer": {
    "name": "H. Peter Anvin",
    "email": "hpa@zytor.com",
    "time": "Thu Feb 25 20:46:23 2010 -0800"
  },
  "message": "x86: Add support for lock prefix in alternatives\n\nThe current lock prefix UP/SMP alternative code doesn\u0027t allow\nLOCK_PREFIX to be used in alternatives code.\n\nThis patch solves the problem by adding a new LOCK_PREFIX_ALTERNATIVE_PATCH\nmacro that only records the lock prefix location but does not emit\nthe prefix.\n\nThe user of this macro can then start any alternative sequence with\n\"lock\" and have it UP/SMP patched.\n\nTo make this work, the UP/SMP alternative code is changed to do the\nlock/DS prefix switching only if the byte actually contains a lock or\nDS prefix.\n\nThus, if an alternative without the \"lock\" is selected, it will now do\nnothing instead of clobbering the code.\n\nChanges in v2:\n- Naming change\n- Change label to not conflict with alternatives\n\nSigned-off-by: Luca Barbieri \u003cluca@luca-barbieri.com\u003e\nLKML-Reference: \u003c1267005265-27958-2-git-send-email-luca@luca-barbieri.com\u003e\nSigned-off-by: H. Peter Anvin \u003chpa@zytor.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3b5b828767b6233019d2ef755f06e22134885fcb",
      "old_mode": 33188,
      "old_path": "arch/x86/include/asm/alternative.h",
      "new_id": "55fee12cea6defc065d76841bef48fcd442058eb",
      "new_mode": 33188,
      "new_path": "arch/x86/include/asm/alternative.h"
    },
    {
      "type": "modify",
      "old_id": "2589ea4c60ce145bfadbb2b925e6f81f85957bd8",
      "old_mode": 33188,
      "old_path": "arch/x86/kernel/alternative.c",
      "new_id": "80b222ea4cf696551839161a5aabcb2acf937d0d",
      "new_mode": 33188,
      "new_path": "arch/x86/kernel/alternative.c"
    }
  ]
}
