lkml.org 
[lkml]   [2008]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: make asm/asm.h work for asm code.
Jeremy Fitzhardinge wrote:

> +# define __ASM_INC incl
> +# define __ASM_INC incq
> +#define _ASM_INC __ASM_INC
> +#define _ASM_INC " " __stringify(__ASM_INC) " "

You have *exactly* as many #defines as if one would simply do four cases
(32 C, 64 C, 32 asm, 64 asm), and that would be easier to read...

-hpa


\
 
 \ /
  Last update: 2008-06-17 00:49    [W:0.071 / U:1.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site