Merge branch 'locking/urgent' into locking/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
@@ -2639,8 +2639,8 @@ sub process {
|
||||
|
||||
# Check if the commit log has what seems like a diff which can confuse patch
|
||||
if ($in_commit_log && !$commit_log_has_diff &&
|
||||
(($line =~ m@^\s+diff\b.*a/[\w/]+@ &&
|
||||
$line =~ m@^\s+diff\b.*a/([\w/]+)\s+b/$1\b@) ||
|
||||
(($line =~ m@^\s+diff\b.*a/([\w/]+)@ &&
|
||||
$line =~ m@^\s+diff\b.*a/[\w/]+\s+b/$1\b@) ||
|
||||
$line =~ m@^\s*(?:\-\-\-\s+a/|\+\+\+\s+b/)@ ||
|
||||
$line =~ m/^\s*\@\@ \-\d+,\d+ \+\d+,\d+ \@\@/)) {
|
||||
ERROR("DIFF_IN_COMMIT_MSG",
|
||||
|
@@ -9,7 +9,7 @@ dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \
|
||||
dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o
|
||||
|
||||
# Source files need to get at the userspace version of libfdt_env.h to compile
|
||||
HOST_EXTRACFLAGS := -I $(srctree)/$(src)/libfdt
|
||||
HOST_EXTRACFLAGS += -I $(srctree)/$(src)/libfdt
|
||||
|
||||
ifeq ($(shell pkg-config --exists yaml-0.1 2>/dev/null && echo yes),)
|
||||
ifneq ($(CHECK_DT_BINDING)$(CHECK_DTBS),)
|
||||
|
@@ -82,6 +82,7 @@ static char *sym_name(const struct sym_entry *s)
|
||||
|
||||
static bool is_ignored_symbol(const char *name, char type)
|
||||
{
|
||||
/* Symbol names that exactly match to the following are ignored.*/
|
||||
static const char * const ignored_symbols[] = {
|
||||
/*
|
||||
* Symbols which vary between passes. Passes 1 and 2 must have
|
||||
@@ -104,6 +105,7 @@ static bool is_ignored_symbol(const char *name, char type)
|
||||
NULL
|
||||
};
|
||||
|
||||
/* Symbol names that begin with the following are ignored.*/
|
||||
static const char * const ignored_prefixes[] = {
|
||||
"$", /* local symbols for ARM, MIPS, etc. */
|
||||
".LASANPC", /* s390 kasan local symbols */
|
||||
@@ -113,6 +115,7 @@ static bool is_ignored_symbol(const char *name, char type)
|
||||
NULL
|
||||
};
|
||||
|
||||
/* Symbol names that end with the following are ignored.*/
|
||||
static const char * const ignored_suffixes[] = {
|
||||
"_from_arm", /* arm */
|
||||
"_from_thumb", /* arm */
|
||||
@@ -120,9 +123,15 @@ static bool is_ignored_symbol(const char *name, char type)
|
||||
NULL
|
||||
};
|
||||
|
||||
/* Symbol names that contain the following are ignored.*/
|
||||
static const char * const ignored_matches[] = {
|
||||
".long_branch.", /* ppc stub */
|
||||
".plt_branch.", /* ppc stub */
|
||||
NULL
|
||||
};
|
||||
|
||||
const char * const *p;
|
||||
|
||||
/* Exclude symbols which vary between passes. */
|
||||
for (p = ignored_symbols; *p; p++)
|
||||
if (!strcmp(name, *p))
|
||||
return true;
|
||||
@@ -138,6 +147,11 @@ static bool is_ignored_symbol(const char *name, char type)
|
||||
return true;
|
||||
}
|
||||
|
||||
for (p = ignored_matches; *p; p++) {
|
||||
if (strstr(name, *p))
|
||||
return true;
|
||||
}
|
||||
|
||||
if (type == 'U' || type == 'u')
|
||||
return true;
|
||||
/* exclude debugging symbols */
|
||||
|
@@ -66,23 +66,6 @@ static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out)
|
||||
fprintf(stderr, "Error in writing or end of file.\n");
|
||||
}
|
||||
|
||||
/* menu.c */
|
||||
void _menu_init(void);
|
||||
void menu_warn(struct menu *menu, const char *fmt, ...);
|
||||
struct menu *menu_add_menu(void);
|
||||
void menu_end_menu(void);
|
||||
void menu_add_entry(struct symbol *sym);
|
||||
void menu_add_dep(struct expr *dep);
|
||||
void menu_add_visibility(struct expr *dep);
|
||||
struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep);
|
||||
void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep);
|
||||
void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
|
||||
void menu_add_option_modules(void);
|
||||
void menu_add_option_defconfig_list(void);
|
||||
void menu_add_option_allnoconfig_y(void);
|
||||
void menu_finalize(struct menu *parent);
|
||||
void menu_set_type(int type);
|
||||
|
||||
/* util.c */
|
||||
struct file *file_lookup(const char *name);
|
||||
void *xmalloc(size_t size);
|
||||
@@ -109,6 +92,36 @@ void str_append(struct gstr *gs, const char *s);
|
||||
void str_printf(struct gstr *gs, const char *fmt, ...);
|
||||
const char *str_get(struct gstr *gs);
|
||||
|
||||
/* menu.c */
|
||||
void _menu_init(void);
|
||||
void menu_warn(struct menu *menu, const char *fmt, ...);
|
||||
struct menu *menu_add_menu(void);
|
||||
void menu_end_menu(void);
|
||||
void menu_add_entry(struct symbol *sym);
|
||||
void menu_add_dep(struct expr *dep);
|
||||
void menu_add_visibility(struct expr *dep);
|
||||
struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep);
|
||||
void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep);
|
||||
void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
|
||||
void menu_add_option_modules(void);
|
||||
void menu_add_option_defconfig_list(void);
|
||||
void menu_add_option_allnoconfig_y(void);
|
||||
void menu_finalize(struct menu *parent);
|
||||
void menu_set_type(int type);
|
||||
|
||||
extern struct menu rootmenu;
|
||||
|
||||
bool menu_is_empty(struct menu *menu);
|
||||
bool menu_is_visible(struct menu *menu);
|
||||
bool menu_has_prompt(struct menu *menu);
|
||||
const char *menu_get_prompt(struct menu *menu);
|
||||
struct menu *menu_get_root_menu(struct menu *menu);
|
||||
struct menu *menu_get_parent_menu(struct menu *menu);
|
||||
bool menu_has_help(struct menu *menu);
|
||||
const char *menu_get_help(struct menu *menu);
|
||||
struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head);
|
||||
void menu_get_ext_help(struct menu *menu, struct gstr *help);
|
||||
|
||||
/* symbol.c */
|
||||
void sym_clear_all_valid(void);
|
||||
struct symbol *sym_choice_default(struct symbol *sym);
|
||||
|
@@ -12,20 +12,6 @@ bool conf_get_changed(void);
|
||||
void conf_set_changed_callback(void (*fn)(void));
|
||||
void conf_set_message_callback(void (*fn)(const char *s));
|
||||
|
||||
/* menu.c */
|
||||
extern struct menu rootmenu;
|
||||
|
||||
bool menu_is_empty(struct menu *menu);
|
||||
bool menu_is_visible(struct menu *menu);
|
||||
bool menu_has_prompt(struct menu *menu);
|
||||
const char * menu_get_prompt(struct menu *menu);
|
||||
struct menu * menu_get_root_menu(struct menu *menu);
|
||||
struct menu * menu_get_parent_menu(struct menu *menu);
|
||||
bool menu_has_help(struct menu *menu);
|
||||
const char * menu_get_help(struct menu *menu);
|
||||
struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head);
|
||||
void menu_get_ext_help(struct menu *menu, struct gstr *help);
|
||||
|
||||
/* symbol.c */
|
||||
extern struct symbol * symbol_hash[SYMBOL_HASHSIZE];
|
||||
|
||||
|
@@ -755,7 +755,6 @@ static void build_conf(struct menu *menu)
|
||||
switch (ptype) {
|
||||
case P_MENU:
|
||||
child_count++;
|
||||
prompt = prompt;
|
||||
if (single_menu_mode) {
|
||||
item_make(menu, 'm',
|
||||
"%s%*c%s",
|
||||
|
@@ -1108,6 +1108,11 @@ void ConfigInfoView::menuInfo(void)
|
||||
if (showDebug())
|
||||
stream << debug_info(sym);
|
||||
|
||||
struct gstr help_gstr = str_new();
|
||||
|
||||
menu_get_ext_help(_menu, &help_gstr);
|
||||
stream << print_filter(str_get(&help_gstr));
|
||||
str_free(&help_gstr);
|
||||
} else if (_menu->prompt) {
|
||||
stream << "<big><b>";
|
||||
stream << print_filter(_menu->prompt->text);
|
||||
@@ -1119,11 +1124,11 @@ void ConfigInfoView::menuInfo(void)
|
||||
expr_print_help, &stream, E_NONE);
|
||||
stream << "<br><br>";
|
||||
}
|
||||
|
||||
stream << "defined at " << _menu->file->name << ":"
|
||||
<< _menu->lineno << "<br><br>";
|
||||
}
|
||||
}
|
||||
if (showDebug())
|
||||
stream << "defined at " << _menu->file->name << ":"
|
||||
<< _menu->lineno << "<br><br>";
|
||||
|
||||
setText(info);
|
||||
}
|
||||
@@ -1276,7 +1281,7 @@ void ConfigInfoView::clicked(const QUrl &url)
|
||||
}
|
||||
|
||||
free(result);
|
||||
delete data;
|
||||
delete[] data;
|
||||
}
|
||||
|
||||
void ConfigInfoView::contextMenuEvent(QContextMenuEvent *event)
|
||||
|
@@ -593,7 +593,10 @@ while ($repeat) {
|
||||
}
|
||||
|
||||
my %setconfigs;
|
||||
my @preserved_kconfigs = split(/:/,$ENV{LMC_KEEP});
|
||||
my @preserved_kconfigs;
|
||||
if (defined($ENV{'LMC_KEEP'})) {
|
||||
@preserved_kconfigs = split(/:/,$ENV{LMC_KEEP});
|
||||
}
|
||||
|
||||
sub in_preserved_kconfigs {
|
||||
my $kconfig = $config2kfile{$_[0]};
|
||||
|
@@ -589,7 +589,7 @@ explictly||explicitly
|
||||
expresion||expression
|
||||
exprimental||experimental
|
||||
extened||extended
|
||||
exteneded||extended||extended
|
||||
exteneded||extended
|
||||
extensability||extensibility
|
||||
extention||extension
|
||||
extenstion||extension
|
||||
|
@@ -26,7 +26,11 @@ else
|
||||
fi
|
||||
|
||||
# ignore userspace tools
|
||||
ignore="$ignore ( -path ${tree}tools ) -prune -o"
|
||||
if [ -n "$COMPILED_SOURCE" ]; then
|
||||
ignore="$ignore ( -path ./tools ) -prune -o"
|
||||
else
|
||||
ignore="$ignore ( -path ${tree}tools ) -prune -o"
|
||||
fi
|
||||
|
||||
# Detect if ALLSOURCE_ARCHS is set. If not, we assume SRCARCH
|
||||
if [ "${ALLSOURCE_ARCHS}" = "" ]; then
|
||||
@@ -92,7 +96,7 @@ all_sources()
|
||||
all_compiled_sources()
|
||||
{
|
||||
realpath -es $([ -z "$KBUILD_ABS_SRCTREE" ] && echo --relative-to=.) \
|
||||
include/generated/autoconf.h $(find -name "*.cmd" -exec \
|
||||
include/generated/autoconf.h $(find $ignore -name "*.cmd" -exec \
|
||||
grep -Poh '(?(?=^source_.* \K).*|(?=^ \K\S).*(?= \\))' {} \+ |
|
||||
awk '!a[$0]++') | sort -u
|
||||
}
|
||||
|
Reference in New Issue
Block a user