diff options
author | Akihiro Nagai <akihiro.nagai.hw@hitachi.com> | 2010-12-03 06:58:53 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-12-06 20:33:29 +0300 |
commit | e4e18d568b0e833c75c1f7833e1690cdde8f4d76 (patch) | |
tree | 829337ccfa8b09ad7dc23f9227886f0396698db6 /firmware | |
parent | 1437a30aae865d83c7d96e3401f503a73fffe14d (diff) | |
download | linux-e4e18d568b0e833c75c1f7833e1690cdde8f4d76.tar.xz |
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 <masami.hiramatsu.pt@hitachi.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20101203035853.7827.17502.stgit@localhost6.localdomain6>
Signed-off-by: Akihiro Nagai <akihiro.nagai.hw@hitachi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions