Re: [PATCH 12/39] introduce __ASM_REG macro
- Date: Sat, 28 Jun 2008 14:09:47 +0200
- From: Andi Kleen <andi@xxxxxxxxxxxxxx>
- Subject: Re: [PATCH 12/39] introduce __ASM_REG macro
Glauber Costa <gcosta@xxxxxxxxxx> writes: > There are situations in which the architecture wants to use the > register that represents its word-size, whatever it is. For those, > introduce __ASM_REG in asm.h, along with the first users _ASM_AX > and _ASM_DX. They have users waiting for it, namely the getuser > functions. FYI the ABI of the 64bit get_user was designed for minimal code size originally. You should check for regressions if you change that. -Andi -- 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/
- References:
- [PATCH 0/39] Merge files at x86/lib
- From: Glauber Costa
- [PATCH 01/39] Don't use size specifiers
- From: Glauber Costa
- [PATCH 02/39] provide delay loop for x86_64
- From: Glauber Costa
- [PATCH 03/39] use rdtscll in read_current_timer for i386.
- From: Glauber Costa
- [PATCH 04/39] explicitly use edx in const delay function.
- From: Glauber Costa
- [PATCH 05/39] integrate delay functions
- From: Glauber Costa
- [PATCH 06/39] use something common for both architectures
- From: Glauber Costa
- [PATCH 07/39] don't clobber r8 nor use rcx
- From: Glauber Costa
- [PATCH 08/39] don't use word-size specifiers
- From: Glauber Costa
- [PATCH 09/39] adapt x86_64 getuser functions
- From: Glauber Costa
- [PATCH 10/39] rename threadinfo to TI
- From: Glauber Costa
- [PATCH 11/39] Don't use word-size specifiers on getuser_64
- From: Glauber Costa
- [PATCH 12/39] introduce __ASM_REG macro
- From: Glauber Costa
- [PATCH 0/39] Merge files at x86/lib
- Prev by Date: Re: [RFC v1] Tunable sched_mc_power_savings=n
- Next by Date: Re: [PATCH 17/39] clobber rbx in putuser_64.S
- Previous by thread: Re: [PATCH 15/39] don't save ebx in putuser_32.S
- Next by thread: Re: [PATCH 08/39] don't use word-size specifiers
- Index(es):