)]}'
{
  "commit": "c1a2a962a2ad103846e7950b4591471fabecece7",
  "tree": "9a06ab8d1c65037456bad02c821033197f67f03f",
  "parents": [
    "868d64812ae84e8f094e0bcf95157c7d79d625ec"
  ],
  "author": {
    "name": "Akinobu Mita",
    "email": "akinobu.mita@gmail.com",
    "time": "Tue Dec 15 16:48:25 2009 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Wed Dec 16 07:20:18 2009 -0800"
  },
  "message": "bitmap: introduce bitmap_set, bitmap_clear, bitmap_find_next_zero_area\n\nThis introduces new bitmap functions:\n\nbitmap_set: Set specified bit area\nbitmap_clear: Clear specified bit area\nbitmap_find_next_zero_area: Find free bit area\n\nThese are mostly stolen from iommu helper. The differences are:\n\n- Use find_next_bit instead of doing test_bit for each bit\n\n- Rewrite bitmap_set and bitmap_clear\n\n  Instead of setting or clearing for each bit.\n\n- Check the last bit of the limit\n\n  iommu-helper doesn\u0027t want to find such area\n\n- The return value if there is no zero area\n\n  find_next_zero_area in iommu helper: returns -1\n  bitmap_find_next_zero_area: return \u003e\u003d bitmap size\n\nSigned-off-by: Akinobu Mita \u003cakinobu.mita@gmail.com\u003e\nCc: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nCc: \"David S. Miller\" \u003cdavem@davemloft.net\u003e\nCc: Benjamin Herrenschmidt \u003cbenh@kernel.crashing.org\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Ingo Molnar \u003cmingo@redhat.com\u003e\nCc: \"H. Peter Anvin\" \u003chpa@zytor.com\u003e\nCc: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\nCc: Lothar Wassmann \u003cLW@KARO-electronics.de\u003e\nCc: Roland Dreier \u003crolandd@cisco.com\u003e\nCc: Yevgeny Petrilin \u003cyevgenyp@mellanox.co.il\u003e\nCc: Tony Luck \u003ctony.luck@intel.com\u003e\nCc: Fenghua Yu \u003cfenghua.yu@intel.com\u003e\nCc: Joerg Roedel \u003cjoerg.roedel@amd.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "756d78b8c1c5e52195fc4b0db951c883c1a07122",
      "old_mode": 33188,
      "old_path": "include/linux/bitmap.h",
      "new_id": "daf8c480c7867e9a60f3cdd715e9b4a8c030942c",
      "new_mode": 33188,
      "new_path": "include/linux/bitmap.h"
    },
    {
      "type": "modify",
      "old_id": "702565821c9976fb4588dac793d84008bf93b229",
      "old_mode": 33188,
      "old_path": "lib/bitmap.c",
      "new_id": "11bf49750583af6087e5a65674a4c74247071ea5",
      "new_mode": 33188,
      "new_path": "lib/bitmap.c"
    }
  ]
}
