)]}'
{
  "commit": "ade356b99a4187578609f2a91c4d2ed88e4e70dc",
  "tree": "c1e5afa33f44a16c1e90d1e8aff293994ace266a",
  "parents": [
    "abc514c58059ca6f02df41798e828ffd864f1d21"
  ],
  "author": {
    "name": "Arnd Bergmann",
    "email": "arnd@arndb.de",
    "time": "Tue Mar 22 14:27:26 2016 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Mar 22 15:36:02 2016 -0700"
  },
  "message": "profile: hide unused functions when !CONFIG_PROC_FS\n\nA couple of functions and variables in the profile implementation are\nused only on SMP systems by the procfs code, but are unused if either\nprocfs is disabled or in uniprocessor kernels.  gcc prints a harmless\nwarning about the unused symbols:\n\n  kernel/profile.c:243:13: error: \u0027profile_flip_buffers\u0027 defined but not used [-Werror\u003dunused-function]\n   static void profile_flip_buffers(void)\n               ^\n  kernel/profile.c:266:13: error: \u0027profile_discard_flip_buffers\u0027 defined but not used [-Werror\u003dunused-function]\n   static void profile_discard_flip_buffers(void)\n               ^\n  kernel/profile.c:330:12: error: \u0027profile_cpu_callback\u0027 defined but not used [-Werror\u003dunused-function]\n   static int profile_cpu_callback(struct notifier_block *info,\n              ^\n\nThis adds further #ifdef to the file, to annotate exactly in which cases\nthey are used.  I have done several thousand ARM randconfig kernels with\nthis patch applied and no longer get any warnings in this file.\n\nSigned-off-by: Arnd Bergmann \u003carnd@arndb.de\u003e\nCc: Vlastimil Babka \u003cvbabka@suse.cz\u003e\nCc: Robin Holt \u003crobinmholt@gmail.com\u003e\nCc: Johannes Weiner \u003channes@cmpxchg.org\u003e\nCc: Christoph Lameter \u003ccl@linux.com\u003e\nCc: Tejun Heo \u003ctj@kernel.org\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": "51369697466e36ba52af710863376d4847d43e36",
      "old_mode": 33188,
      "old_path": "kernel/profile.c",
      "new_id": "c2199e9901c9e636da0082fcee65e11ba299fa64",
      "new_mode": 33188,
      "new_path": "kernel/profile.c"
    }
  ]
}
