From: Anton Vorontsov Date: Thu, 31 May 2012 23:26:26 +0000 (-0700) Subject: kernel/cpu.c: document clear_tasks_mm_cpumask() X-Git-Tag: v3.5-rc1~21^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4cc2f873ad0833aa5c4aca56bebe15b9603a1e7;p=pandora-kernel.git kernel/cpu.c: document clear_tasks_mm_cpumask() Add more comments on clear_tasks_mm_cpumask, plus adds a runtime check: the function is only suitable for offlined CPUs, and if called inappropriately, the kernel should scream aloud. [akpm@linux-foundation.org: tweak comment: s/walks up/walks/, use 80 cols] Suggested-by: Andrew Morton Suggested-by: Peter Zijlstra Signed-off-by: Anton Vorontsov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed