]> git.hungrycats.org Git - linux/commit
ia64: If the compiler supports it, use attribute (model (small)) to
authorDavid Mosberger <davidm@tiger.hpl.hp.com>
Wed, 16 Jul 2003 12:44:13 +0000 (05:44 -0700)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Wed, 16 Jul 2003 12:44:13 +0000 (05:44 -0700)
commit900e7bd2d1e74785a43def0be79aef7872d9f714
tree52aeed2adf069b2d1daf158912040a0d28be92f5
parent0f4f7d2428612ae2c06ba62e6ed1c9b77677819c
ia64: If the compiler supports it, use attribute (model (small)) to
tell the compiler that per-CPU variables can be addressed
with "addl".

On the simulator kernel, this saves about 2776 bytes in the
kernel image.  On a zx1 kernel, it saves about 5593 bytes.
As per-CPU variables are used more, these savings will
increase, of course.
arch/ia64/scripts/check-model.c [new file with mode: 0644]
arch/ia64/scripts/toolchain-flags
include/asm-ia64/percpu.h