Re: [PATCH 5/9] x86: Use FIX_EFLAGS define in X86_64

From: Chuck Ebbert
Date: Fri Feb 08 2008 - 17:11:45 EST


On 02/08/2008 03:09 PM, Harvey Harrison wrote:
> +#ifdef CONFIG_X86_32
> +#define FIX_EFLAGS (X86_EFLAGS_AC | X86_EFLAGS_RF | X86_EFLAGS_OF | \
> + X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \
> + X86_EFLAGS_ZF | X86_EFLAGS_AF | X86_EFLAGS_PF | \
> + X86_EFLAGS_CF)
> +#else
> +#define FIX_EFLAGS (X86_EFLAGS_AC | X86_EFLAGS_OF | \
> + X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \
> + X86_EFLAGS_ZF | X86_EFLAGS_AF | X86_EFLAGS_PF | \
> + X86_EFLAGS_CF)
> +#endif

A comment about some of these would be nice... like what this bitmask is for...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/