kdump: update kdump documentation as kexec-tools-resting has been renamed kexec-tools
[safe/jmp/linux-2.6] / include / asm-x86 / mmu.h
index 3f922c8..00e8867 100644 (file)
  *
  * cpu_vm_mask is used to optimize ldt flushing.
  */
-typedef struct { 
+typedef struct {
        void *ldt;
 #ifdef CONFIG_X86_64
-       rwlock_t ldtlock; 
+       rwlock_t ldtlock;
 #endif
        int size;
        struct mutex lock;
        void *vdso;
 } mm_context_t;
 
+#ifdef CONFIG_SMP
+void leave_mm(int cpu);
+#else
+static inline void leave_mm(int cpu)
+{
+}
+#endif
+
 #endif /* _ASM_X86_MMU_H */