Commit df2b3843 authored by Peter Zijlstra's avatar Peter Zijlstra
Browse files

objtool: Fix 32bit cross builds



Apparently there's people doing 64bit builds on 32bit machines.

Fixes: 74b873e4 ("objtool: Optimize find_rela_by_dest_range()")
Reported-by: default avatar <youling257@gmail.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
parent 18bf3408
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ static inline u32 sec_offset_hash(struct section *sec, unsigned long offset)
	offset &= OFFSET_STRIDE_MASK;

	ol = offset;
	oh = offset >> 32;
	oh = (offset >> 16) >> 16;

	__jhash_mix(ol, oh, idx);