Re: [tip:x86/asm] x86, 64-bit: ifdef out struct thread_struct::ip

From: Alexey Dobriyan
Date: Mon May 11 2009 - 13:22:22 EST


On Mon, May 11, 2009 at 8:03 PM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Mon, May 11, 2009 at 03:09:40PM +0000, tip-bot for Alexey Dobriyan wrote:
>> +#ifdef CONFIG_X86_32
>>       unsigned long           ip;
>> +#endif
>>  #ifdef CONFIG_X86_64
>>       unsigned long           fs;
>>  #endif
>
> What happened to the good old concept of #if #else #endif?

#else suggests alternative which is not the case.
->ip and ->fs can be in different parts of thread_struct.
--
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/