)]}'
{
  "commit": "96f935934591b72f5b05fd6923bc8cdcae92f2e5",
  "tree": "6fe1bcdc31cec5691e0b924d5349bdcb3b7c6a97",
  "parents": [
    "3985c7ce85039adacdf882904ca096f091d39346"
  ],
  "author": {
    "name": "Geert Uytterhoeven",
    "email": "geert@linux-m68k.org",
    "time": "Sun Oct 31 10:56:23 2010 +0100"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Sun Oct 31 06:35:14 2010 -0700"
  },
  "message": "initramfs: Fix initramfs size for 32-bit arches\n\nCommit ffe8018c3424 (\"initramfs: fix initramfs size calculation\") broke\n32-bit big-endian arches like (on ARAnyM):\n\n    VFS: Cannot open root device \"hda1\" or unknown-block(3,1)\n    Please append a correct \"root\u003d\" boot option; here are the available partitions:\n    fe80         1059408 nfhd8  (driver?)\n      fe81          921600 nfhd8p1 00000000-0000-0000-0000-000000000nfhd8p1\n      fe82          137807 nfhd8p2 00000000-0000-0000-0000-000000000nfhd8p2\n    0200            3280 fd0  (driver?)\n    0201            3280 fd1  (driver?)\n    0300         1059408 hda  driver: ide-gd\n      0301          921600 hda1 00000000-0000-0000-0000-000000000hda1\n      0302          137807 hda2 00000000-0000-0000-0000-000000000hda2\n    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)\n\nAs pointed out by Kerstin Jonsson \u003ckerstin.jonsson@ericsson.com\u003e, this\nis due to CONFIG_32BIT not being defined, so the initramfs size field is\ndone as a 64-bit quad.  On little-endian (like x86) this doesn matter,\nbut on a big-endian machine the 32-bit reads will see the (zero) high\nbits.\n\nOnly mips, s390, and score set CONFIG_32BIT for 32-bit builds, so fix it for\nall other 32-bit arches by inverting the logic and testing for CONFIG_64BIT,\nwhich should be defined on all 64-bit arches.\n\nSigned-off-by: Geert Uytterhoeven \u003cgeert@linux-m68k.org\u003e\n[ I think we should just make it \"u64\" on all architectures and get\n  rid of the whole #ifdef CONFIG_xxBIT   - Linus ]\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b9efed5e35cc222f3e7b34d922bbc1b90b29987b",
      "old_mode": 33188,
      "old_path": "usr/initramfs_data.S",
      "new_id": "792a750d9441af80cd16e4d797234159875babc4",
      "new_mode": 33188,
      "new_path": "usr/initramfs_data.S"
    }
  ]
}
