# ifdef out log() for a rainy day. Also explain to the mystified what it # is for. Index: um/arch/um/kernel/mem_user.c =================================================================== --- um.orig/arch/um/kernel/mem_user.c 2004-07-23 19:36:35.000000000 -0400 +++ um/arch/um/kernel/mem_user.c 2004-08-05 20:10:12.000000000 -0400 @@ -206,6 +206,12 @@ return(0); } +#if 0 +/* Debugging facility for dumping stuff out to the host, avoiding the timing + * problems that come with printf and breakpoints. + * Enable in case of emergency. + */ + int logging = 1; int logging_fd = -1; @@ -231,6 +237,7 @@ va_end(ap); write(logging_fd, logging_buf, strlen(logging_buf)); } +#endif /* * Overrides for Emacs so that we follow Linus's tabbing style.