lkml.org 
[lkml]   [2008]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86_64: ia32_signal.c: use macro instead of immediate
Hiroshi Shimamoto wrote:
> From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
>
> Make and use macro FIX_EFLAGS, instead of immediate value 0x40DD5 in
> ia32_restore_sigcontext().
>
> +
> +#ifdef CONFIG_X86_32
> +# define FIX_EFLAGS (__FIX_EFLAGS | X86_EFLAGS_RF)
> +#else
> +# define FIX_EFLAGS __FIX_EFLAGS
> +#endif
> +

Where did this come from? First of all, this is in a 64-bit-only file,
so CONFIG_X86_32 will never be set; second of all, it seems a bit fishy
that these should be different.

-hpa


\
 
 \ /
  Last update: 2008-07-15 00:13    [W:0.031 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site