)]}'
{
  "commit": "f83b5e323f57d6e1f35a839d663e91cebe985e54",
  "tree": "59e19500a8204abd8e77620b7e80138d5f7fda68",
  "parents": [
    "4d99f93bdaa1ab49188cac67b4aae9180f8e3960"
  ],
  "author": {
    "name": "Ustyugov Roman",
    "email": "dr_unique@ymg.ru",
    "time": "Fri Sep 23 08:42:11 2005 +0400"
  },
  "committer": {
    "name": "Sam Ravnborg",
    "email": "sam@mars.ravnborg.org",
    "time": "Mon Dec 26 00:33:41 2005 +0100"
  },
  "message": "kbuild: set correct KBUILD_MODNAME when using well known kernel symbols as module names\n\nThis patch fixes a problem when we use well known kernel symbols as module\nnames.\n\nFor example, if module source name is current.c, idle_stack.c or etc.,\nwe have a bad KBUILD_MODNAME value.\nFor example, KBUILD_MODNAME will be \"get_current()\" instead of \"current\", or\n\"(init_thread_union.stack)\" instead of \"idle_task\".\n\nThe trick is to define a stringify macro on the commandline - named\nKBUILD_STR for namespace reasons - and then to stringify the module\nname.\n\nThere are a few uses of KBUILD_MODNAME throughout the tree but the usage\nis for debug and will not be harmed by this change so left untouched for now.\n\nWhile at it KBUILD_BASENAME was changed too. Any spinlock usage in the\nunix module would have created wrong section names without it.\nUsage in spinlock.h fixed so it no longer stringify KBUILD_BASENAME.\n\nOriginal patch from Ustyogov Roman - all bugs introduced by me.\n\nSigned-off-by: Sam Ravnborg \u003csam@ravnborg.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0e9682c9def5e0d1a198486435618978829d33ac",
      "old_mode": 33188,
      "old_path": "include/linux/spinlock.h",
      "new_id": "799be674794459e9a857a4c7218ad31d0cd05883",
      "new_mode": 33188,
      "new_path": "include/linux/spinlock.h"
    },
    {
      "type": "modify",
      "old_id": "0f81dcfd6909aec0f873fdef797fec5fca75f44a",
      "old_mode": 33188,
      "old_path": "scripts/Makefile.lib",
      "new_id": "550798f57da5028401f05f67f9e483c6e6a2beda",
      "new_mode": 33188,
      "new_path": "scripts/Makefile.lib"
    },
    {
      "type": "modify",
      "old_id": "8ce5a631868410e0585250f32d498e9ed8e64c92",
      "old_mode": 33188,
      "old_path": "scripts/mod/modpost.c",
      "new_id": "f70ff13d481834b14ceb926879a6a3a2e99e1894",
      "new_mode": 33188,
      "new_path": "scripts/mod/modpost.c"
    }
  ]
}
