Skip to contentSkip to conversation

UML fixes

PATCH New Jeff Dike 1 participant 1 message Mar 28, 2003

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 1/1 UML fixes

Please pull

	http://jdike.stearns.org:5000/fixes-2.5

This fixes a number of UML bugs:
updated the ubd driver to the new block and devfs APIs fixed calls to schedule_tail
fixed a few SMP deadlocks
the ubd driver locks its device files
flush stdout before entering the kernel
fix a uaccess fencepost bug
fix a 'tracing myself' bug
code cleanup
error message fixes

Jeff

 arch/um/drivers/line.c                |    6 
 arch/um/drivers/ubd_kern.c            |  224 +++++++++++++++++++---------------
 arch/um/drivers/ubd_user.c            |   44 ++++--
 arch/um/include/os.h                  |    2 
 arch/um/kernel/mem.c                  |    2 
 arch/um/kernel/process.c              |    3 
 arch/um/kernel/skas/include/uaccess.h |    2 
 arch/um/kernel/skas/process_kern.c    |   10 -
 arch/um/kernel/time_kern.c            |    2 
 arch/um/kernel/tt/process_kern.c      |   26 +--
 arch/um/kernel/um_arch.c              |    1 
 arch/um/os-Linux/file.c               |   31 ++++
 include/asm-um/common.lds.S           |   12 +
 13 files changed, 230 insertions(+), 135 deletions(-)

[email protected], 2003-03-27 23:13:21-05:00, [email protected]
Fixed a call to devfs_mk_dir.

[email protected], 2003-03-27 21:40:19-05:00, [email protected]
Fixed the ubd driver call to devfs_mk_symlink.

[email protected], 2003-03-27 15:29:35-05:00, [email protected]
.66 conflict fixes.

[email protected], 2003-03-27 13:44:02-05:00, [email protected]
Fixed a register_blkdev call.

[email protected], 2003-03-22 15:37:52-05:00, [email protected]
Merged the 2.5.65 conflicts.

[email protected], 2003-02-25 00:44:11-05:00, [email protected]
Fixed the calls to schedule_tail to not be conditional on CONFIG_SMP, to be conditional on current->thread.prev_sched being non-NULL, and to pass current->thread.prev_sched in to schedule_tail.

[email protected], 2003-02-24 21:59:25-05:00, [email protected]
Fixed a bug with the initialization of the mode that a device file is opened with.

[email protected], 2003-02-24 01:48:30-05:00, [email protected]
Fixed a deadlock caused by not disabling interrupts around a call to update_process_times.

[email protected], 2003-02-23 14:50:33-05:00, [email protected]
Made some minor fixes to get rid of some unneeded code, improve a panic message, and fix a signal blocking bug.

[email protected], 2003-02-19 11:05:33-05:00, [email protected]
Merge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5

[email protected], 2003-02-19 09:55:14-05:00, [email protected]
Fixed signal blocking and cleaned up the code a bit.

[email protected], 2003-02-07 13:48:13-05:00, [email protected]
Fixed a few compilation bugs in the ubd changes.

[email protected], 2003-02-07 12:52:23-05:00, [email protected]
Merged in changes from 2.4 up to 2.4.19-50.
The ubd driver locks its files.
Merged a bunch of ubd fixes from James McMechan.
stdout is now flushed before entering the kernel.
Fixed a uaccess fencepost bug.
Fixed a 'tracing myself' bug.
Various other cleanups and error message fixes.