sandybridge: Use calls rather than asm to call to MRC.
Using asm as it's done currently is unsafe because caller-saved registers
are not declared as clobbered.
Using real call is nicer.
regparm((1)) ensures that argument is passed in %eax as expected.
Signed-off-by: Vladimir Serbinenko <email@example.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <firstname.lastname@example.org>
1 file changed