)]}'
{
  "commit": "917b1f78a9871a1985004df09ed1eb2e0dc3bf4f",
  "tree": "fad71a349195be55c35d026c24422678c1b73e6e",
  "parents": [
    "1c08ca89b07eeca241fcf1ec297d3ef173a999a9"
  ],
  "author": {
    "name": "Brian Uhrain says",
    "email": "buhrain@rosettastone.com",
    "time": "Mon Apr 10 22:53:16 2006 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Tue Apr 11 06:18:34 2006 -0700"
  },
  "message": "[PATCH] alpha: SMP boot fixes\n\nI\u0027ve encountered two problems with 2.6.16 and newer kernels on my API CS20\n(dual 833MHz Alpha 21264b processors).  The first is the kernel OOPSing\nbecause of a NULL pointer dereference while trying to populate SysFS with the\nCPU information.  The other is that only one processor was being brought up.\nI\u0027ve included a small Alpha-specific patch that fixes both problems.\n\nThe first problem was caused by the CPUs never being properly registered using\nregister_cpu(), the way it\u0027s done on other architectures.\n\nThe second problem has to do with the removal of hwrpb_cpu_present_mask in\narch/alpha/kernel/smp.c.  In setup_smp() in the 2.6.15 kernel sources,\nhwrpb_cpu_present_mask has a bit set for each processor that is probed, and\nafterwards cpu_present_mask is set to the cpumask for the boot CPU.  In the\nsame function of the same file in the 2.6.16 sources, instead of\nhwrpb_cpu_present_mask being set, cpu_possible_map is updated for each probed\nCPU.  cpu_present_mask is still set to the cpumask of the boot CPU afterwards.\n The problem lies in include/asm-alpha/smp.h, where cpu_possible_map is\n#define\u0027d to be cpu_present_mask.\n\nCleanups from: Ivan Kokshaysky \u003cink@jurassic.park.msu.ru\u003e\n\n - cpu_present_mask and cpu_possible_map are essentially the same thing\n   on alpha, as it doesn\u0027t support CPU hotplug;\n - allocate \"struct cpu\" only for present CPUs, like sparc64 does.\n   Static array of \"struct cpu\" is just a waste of memory.\n\nSigned-off-by: Brian Uhrain \u003cbuhrain@rosettastone.com\u003e\nCc: Richard Henderson \u003crth@twiddle.net\u003e\nCc: Ivan Kokshaysky \u003cink@jurassic.park.msu.ru\u003e\nCc: \u003cstable@kernel.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a15e18a00258ee69d65329945c174e0ec0e3f66c",
      "old_mode": 33188,
      "old_path": "arch/alpha/kernel/setup.c",
      "new_id": "558b83368559396f4d50f793d37d8e7dd83c26d1",
      "new_mode": 33188,
      "new_path": "arch/alpha/kernel/setup.c"
    },
    {
      "type": "modify",
      "old_id": "02c2db08114ad66e42876d5e1f2b80c402ec9a84",
      "old_mode": 33188,
      "old_path": "arch/alpha/kernel/smp.c",
      "new_id": "185255416e8538c22384ae89491720834aa6fcc1",
      "new_mode": 33188,
      "new_path": "arch/alpha/kernel/smp.c"
    }
  ]
}
