From: Akihiro Nagai Date: Fri, 3 Dec 2010 03:58:53 +0000 (+0900) Subject: perf options: add OPT_CALLBACK_DEFAULT_NOOPT X-Git-Tag: v2.6.38-rc1~490^2~42^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4e18d568b0e833c75c1f7833e1690cdde8f4d76;p=pandora-kernel.git perf options: add OPT_CALLBACK_DEFAULT_NOOPT Add new macro OPT_CALLBACK_DEFAULT_NOOPT for parse_options. It enables to pass the default value (opt->defval) to the callback function processing options require no argument. Reviewed-by: Masami Hiramatsu Cc: Ingo Molnar Cc: Masami Hiramatsu Cc: Paul Mackerras Cc: Peter Zijlstra LKML-Reference: <20101203035853.7827.17502.stgit@localhost6.localdomain6> Signed-off-by: Akihiro Nagai Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed