mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 02:54:05 +00:00
Ensure there's a single place that parses check_options, in preparation for extending where to get options from. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
20 lines
587 B
C
20 lines
587 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2015 Josh Poimboeuf <[email protected]>
|
|
*/
|
|
#ifndef _BUILTIN_H
|
|
#define _BUILTIN_H
|
|
|
|
#include <subcmd/parse-options.h>
|
|
|
|
extern const struct option check_options[];
|
|
extern bool no_fp, no_unreachable, retpoline, module, backtrace, uaccess, stats,
|
|
validate_dup, vmlinux, mcount, noinstr, backup;
|
|
|
|
extern int cmd_parse_options(int argc, const char **argv, const char * const usage[]);
|
|
|
|
extern int cmd_check(int argc, const char **argv);
|
|
extern int cmd_orc(int argc, const char **argv);
|
|
|
|
#endif /* _BUILTIN_H */
|