Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4e0fa85602a4fa219fc3a9c053d5140bf987d3e3
Commit:     4e0fa85602a4fa219fc3a9c053d5140bf987d3e3
Parent:     7b2f27f4e1818fad980da7bea688dca2b9e9c3f3
Author:     Jeremy Fitzhardinge <[EMAIL PROTECTED]>
AuthorDate: Wed May 2 19:27:15 2007 +0200
Committer:  Andi Kleen <[EMAIL PROTECTED]>
CommitDate: Wed May 2 19:27:15 2007 +0200

    [PATCH] i386: PARAVIRT: Use enums for paravirt lazy flush modi
    
    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 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/include/asm-i386/paravirt.h b/include/asm-i386/paravirt.h
index 5048b41..c545192 100644
--- a/include/asm-i386/paravirt.h
+++ b/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_clear(pte_t *p)
 }
 #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)
 {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to