patch-2.2.5 linux/include/asm-sparc/processor.h

Next file: linux/include/asm-sparc/termios.h
Previous file: linux/include/asm-sparc/mmu_context.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.4/linux/include/asm-sparc/processor.h linux/include/asm-sparc/processor.h
@@ -1,4 +1,4 @@
-/* $Id: processor.h,v 1.69 1999/01/19 07:57:44 davem Exp $
+/* $Id: processor.h,v 1.70 1999/03/24 11:42:44 davem Exp $
  * include/asm-sparc/processor.h
  *
  * Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu)
@@ -148,7 +148,10 @@
 extern pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
 
 
-#define copy_segments(nr, tsk, mm)	do { } while (0)
+#define copy_segments(__nr, __tsk, __mm)	\
+	if((__tsk) == current &&		\
+	   (__mm) != NULL)			\
+		flush_user_windows()
 #define release_segments(mm)		do { } while (0)
 #define forget_segments()		do { } while (0)
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)