summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRobert Love <rml@tech9.net>2002-06-02 20:56:04 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-06-02 20:56:04 -0700
commit916e75e349d0dedbebd79a68932308119e4689d4 (patch)
treefae1077d9260bedebdb7239ffe16679f2aa478c3 /include/linux
parent373c84d2cdc1e51ced83d24d9b934258ae38111e (diff)
[PATCH] sys_sysinfo cleanup
Looks like sys_sysinfo has not been touched in years. Among other things, it uses a global cli() for protection; I switched it to an existing rwlock. I also pulled it out of info.c and stuck it in timer.c (I choose timer.c because it shares dependencies there already). The details: - move sys_sysinfo to kernel/timer.c from kernel/info.c: why one small syscall got its own file is beyond me. - delete kernel/info.c - stop the global cli! now grab a read_lock on xtime_lock. this is safe as we moved the write_unlock on xtime_lock down one line to cover the calculating of avenrun. - trivial code cleanup
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions