Re: [tip:x86/asm] x86, processor-flags: Fix the datatypes and add bit number defines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/25/2013 04:07 PM, Borislav Petkov wrote:
> 
> Btw, are you going to need those _BIT defines anywhere else?
> 
> Because if no, you could simply do:
> 
> #define X86_EFLAGS_CF		_BITUL(0) /* Carry Flag */
> 
> and so on, and drop the _BIT defines.
> 

Yes.  I didn't get around to doing this particular bit of the cleanup,
but we have several places where we currently index various bits by
open-coded numbers, especially in assembly code.

	-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux