Hi. On Mon, 2007-04-30 at 12:27 +0200, Andi Kleen wrote: > From: Jeremy Fitzhardinge <[email protected]> > Remove #defines, add enum for PARAVIRT_LAZY_FLUSH. > > Signed-off-by: Jeremy Fitzhardinge <[email protected]> > Signed-off-by: Andi Kleen <[email protected]> > > --- > include/asm-i386/paravirt.h | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > > =================================================================== > Index: linux/include/asm-i386/paravirt.h > =================================================================== > --- linux.orig/include/asm-i386/paravirt.h > +++ linux/include/asm-i386/paravirt.h > @@ -30,6 +30,7 @@ enum paravirt_lazy_mode { > PARAVIRT_LAZY_NONE = 0, > PARAVIRT_LAZY_MMU = 1, > PARAVIRT_LAZY_CPU = 2, > + PARAVIRT_LAZY_FLUSH = 3, > }; > > struct paravirt_ops > @@ -1036,12 +1037,6 @@ static inline pte_t raw_ptep_get_and_cle > } > #endif /* CONFIG_X86_PAE */ > > -/* Lazy mode for batching updates / context switch */ > -#define PARAVIRT_LAZY_NONE 0 > -#define PARAVIRT_LAZY_MMU 1 > -#define PARAVIRT_LAZY_CPU 2 > -#define PARAVIRT_LAZY_FLUSH 3 > - > #define __HAVE_ARCH_ENTER_LAZY_CPU_MODE > static inline void arch_enter_lazy_cpu_mode(void) > { Is the subject for this right? Regards, Nigel
Attachment:
signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- Re: [patches] [PATCH] [19/40] i386: fix paravirt-documentation
- From: Andi Kleen <[email protected]>
- Re: [patches] [PATCH] [19/40] i386: fix paravirt-documentation
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [patches] [PATCH] [19/40] i386: fix paravirt-documentation
- References:
- [PATCH] [0/40] x86 candidate patches for review V: paravirt patches
- From: Andi Kleen <[email protected]>
- [PATCH] [19/40] i386: fix paravirt-documentation
- From: Andi Kleen <[email protected]>
- [PATCH] [0/40] x86 candidate patches for review V: paravirt patches
- Prev by Date: Re: [PATCH] [39/40] i386: Export paravirt_ops for non GPL modules too
- Next by Date: Re: [-mm patch] i386: enable 4k stacks by default
- Previous by thread: [PATCH] [19/40] i386: fix paravirt-documentation
- Next by thread: Re: [patches] [PATCH] [19/40] i386: fix paravirt-documentation
- Index(es):