Re: [GIT PULL] x86/asm for 2.6.36

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: H. Peter Anvin
Date: Friday, August 6, 2010 - 11:03 am

On 08/06/2010 10:45 AM, H. Peter Anvin wrote:

Looking through the build I'm currently running, so far, it is smoking
out a bunch of unnecessary casts and wrappers, for example, in kvm/mmu.c:

static void __set_spte(u64 *sptep, u64 spte)
{
#ifdef CONFIG_X86_64
	set_64bit((unsigned long *)sptep, spte);
#else
	set_64bit((unsigned long long *)sptep, spte);
#endif
}

... which just becomes the much cleaner ...

static void __set_spte(u64 *sptep, u64 spte)
{
	set_64bit(sptep, spte);
}

I'll go through all these as this build finishes and give you an updated
tree to pull, ok?

	-hpa
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PULL] x86/asm for 2.6.36, H. Peter Anvin, (Thu Aug 5, 1:37 pm)
Re: [GIT PULL] x86/asm for 2.6.36, Linus Torvalds, (Fri Aug 6, 10:17 am)
Re: [GIT PULL] x86/asm for 2.6.36, H. Peter Anvin, (Fri Aug 6, 10:45 am)
Re: [GIT PULL] x86/asm for 2.6.36, Linus Torvalds, (Fri Aug 6, 10:56 am)
Re: [GIT PULL] x86/asm for 2.6.36, H. Peter Anvin, (Fri Aug 6, 11:03 am)