[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0711271331240.4803@schroedinger.engr.sgi.com>
Date: Tue, 27 Nov 2007 13:38:02 -0800 (PST)
From: Christoph Lameter <clameter@....com>
To: Andreas Schwab <schwab@...e.de>
cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-ia64@...r.kernel.org, tony.luck@...el.com
Subject: Re: [patch 04/14] ia64: Remove the __SMALL_ADDR_AREA attribute for
per cpu access
On Tue, 27 Nov 2007, Andreas Schwab wrote:
> Strange. Works fine here.
>
> $ arch/ia64/scripts/toolchain-flags gcc objdump readelf
> -DHAVE_WORKING_TEXT_ALIGN -DHAVE_MODEL_SMALL_ATTRIBUTE -DHAVE_SERIALIZE_DIRECTIVE
> $ gcc --version | head -n 1
> gcc (GCC) 4.2.1 (SUSE Linux)
> $ grep ia64_handle_model_attribute config/ia64/*.c
> config/ia64/ia64.c:static tree ia64_handle_model_attribute (tree *, tree, tree, int, bool *);
> config/ia64/ia64.c: { "model", 1, 1, true, false, false, ia64_handle_model_attribute },
> config/ia64/ia64.c:ia64_handle_model_attribute (tree *node, tree name, tree args,
> $ grep small_addr_symbolic_operand config/ia64/*.md
> config/ia64/constraints.md: (match_operand 0 "small_addr_symbolic_operand"))
> config/ia64/predicates.md:(define_predicate "small_addr_symbolic_operand"
Hmmm...
http://www.ohse.de/uwe/articles/gcc-attributes.html
says:
model (MODEL-NAME)
Found in versions: 2.8-3.4
But true my compiler still takes it. Ok, I am going to add an option to
add attributes to percpu definitions.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists