diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2022-03-23 09:58:40 +0100 | 
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2022-03-23 09:58:40 +0100 | 
| commit | b690490d6d466972ade172ee2e7f6ffa49e7e910 (patch) | |
| tree | 50a93da28c9128e19eb7a3038aecf75dab6b36e1 /arch/arc/kernel/unwind.c | |
| parent | f97ec5d75e9261a5da78dc28a8955b7cc0c4468b (diff) | |
| parent | 0f203948230720e849ad50d158adac1cd32c282f (diff) | |
Merge branch 'for-5.18/amd-sfh' into for-linus
- dead code elimination (Christophe JAILLET)
Diffstat (limited to 'arch/arc/kernel/unwind.c')
| -rw-r--r-- | arch/arc/kernel/unwind.c | 9 | 
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c index 9e28058cdba8..200270a94558 100644 --- a/arch/arc/kernel/unwind.c +++ b/arch/arc/kernel/unwind.c @@ -245,14 +245,9 @@ static void swap_eh_frame_hdr_table_entries(void *p1, void *p2, int size)  {  	struct eh_frame_hdr_table_entry *e1 = p1;  	struct eh_frame_hdr_table_entry *e2 = p2; -	unsigned long v; -	v = e1->start; -	e1->start = e2->start; -	e2->start = v; -	v = e1->fde; -	e1->fde = e2->fde; -	e2->fde = v; +	swap(e1->start, e2->start); +	swap(e1->fde, e2->fde);  }  static void init_unwind_hdr(struct unwind_table *table,  | 
