x86/cpufeature: Reindent _static_cpu_has()
Because its daft.. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Borislav Petkov <bp@suse.de> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
328008a72d
commit
5355ccbe02
@ -183,9 +183,9 @@ static __always_inline __pure bool _static_cpu_has(u16 bit)
|
|||||||
[bitnum] "i" (1 << (bit & 7)),
|
[bitnum] "i" (1 << (bit & 7)),
|
||||||
[cap_byte] "m" (((const char *)boot_cpu_data.x86_capability)[bit >> 3])
|
[cap_byte] "m" (((const char *)boot_cpu_data.x86_capability)[bit >> 3])
|
||||||
: : t_yes, t_no);
|
: : t_yes, t_no);
|
||||||
t_yes:
|
t_yes:
|
||||||
return true;
|
return true;
|
||||||
t_no:
|
t_no:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user