diff options
| author | Jan Kara <jack@suse.cz> | 2019-11-06 10:52:10 +0100 | 
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2019-11-06 10:52:10 +0100 | 
| commit | dae82c7fd0926840c832151f3258ba751f73d348 (patch) | |
| tree | 5cdef8359f6cfb964919ffb0bfa36d2de60140b1 /scripts/recordmcount.h | |
| parent | a9913d7eafa74eb2e34e26aa31fe80449b999f8e (diff) | |
| parent | a0828b6ccbdfd46afbbaa9f28df359081c29109b (diff) | |
Pull series refactoring quota enabling and disabling code.
Diffstat (limited to 'scripts/recordmcount.h')
| -rw-r--r-- | scripts/recordmcount.h | 5 | 
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/recordmcount.h b/scripts/recordmcount.h index 8f0a278ce0af..74eab03e31d4 100644 --- a/scripts/recordmcount.h +++ b/scripts/recordmcount.h @@ -389,11 +389,8 @@ static int nop_mcount(Elf_Shdr const *const relhdr,  			mcountsym = get_mcountsym(sym0, relp, str0);  		if (mcountsym == Elf_r_sym(relp) && !is_fake_mcount(relp)) { -			if (make_nop) { +			if (make_nop)  				ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); -				if (ret < 0) -					return -1; -			}  			if (warn_on_notrace_sect && !once) {  				printf("Section %s has mcount callers being ignored\n",  				       txtname);  | 
