Commit Graph

176899 Commits

Author SHA1 Message Date
christos
45220987b8 PR/40414: Peter Bex: nvi abort()s in autoindent/autoindent differs from
historical vi
2009-01-16 15:05:55 +00:00
he
c35e4870f2 Add some more weak aliases for versioned library calls, to prevent
that we try to link in objects from libc.a where we also provide our
own replacements here, leading to multiple definitions during linking.

OK'ed by christos@
2009-01-16 14:48:04 +00:00
yamt
350f838fcf wsevent_init: always initialize version. pointed out by christos. 2009-01-16 14:38:09 +00:00
jmcneill
e90eb84a4b regen for HP Generic RNDIS 2009-01-16 13:31:41 +00:00
jmcneill
3e9c6e548d Add HP Generic RNDIS ID 2009-01-16 13:31:01 +00:00
hira
796ac4ad75 Fix off-by-one. 2009-01-16 13:30:07 +00:00
njoly
8ff5603c09 Regen for compat 50 update. 2009-01-16 13:12:35 +00:00
njoly
9554a2932f Update some syscalls that now needs compat50 timeval structure. 2009-01-16 13:10:47 +00:00
haad
d80238dac9 Add struct disk to dm_dev so our LV will beshowed in iostat output. 2009-01-16 11:19:02 +00:00
drochner
21a81eb749 update struct timeval 2009-01-16 10:52:07 +00:00
jmmv
9b08dc4841 Make sure that the database version is correct if we are updating a single
record; otherwise, bail out early to avoid leaving the database in an
inconsistent state (some old-format records, one new-format record).
2009-01-16 10:42:36 +00:00
bjh21
0c5de7f101 Simplify the pre-ARMv6 code. Specifically:
* Take advantage of conditional instructions to avoid branching.
 * Tweak register allocation to remove some MOVs from the debug code.
 * In the debug code, only the address of the counter varies between
   the success and failure cases, so make the rest of the code common.

Also correct the initial comment: _lock_cas returns the old value, not a
boolean.
2009-01-16 10:28:24 +00:00
junyoung
555ffa79b2 Fix one more build breakage ("warning: 'er' may be used uninitialized in
this function").
2009-01-16 10:24:20 +00:00
uebayasi
7caa97c9ca config_found_sm(9) -> config_found_sm_loc(9) 2009-01-16 09:51:34 +00:00
uebayasi
547b81ca4c Better whitespace in ioconf.c output. 2009-01-16 09:43:41 +00:00
jnemeth
b0196b24f8 PR/40404 - Robert Elz -- Thailand airport updates 2009-01-16 08:51:37 +00:00
junyoung
121584256f Fix build error (hi christos). 2009-01-16 07:09:09 +00:00
yamt
20c094eb67 uvm_page_unbusy: add an assertion 2009-01-16 07:01:28 +00:00
yamt
ae07703384 cache_prune: use (a - b > 0) rather than (a > b) to compare ticks. 2009-01-16 06:59:21 +00:00
mhitch
23a9d45ee2 When checking drive status, bump the pointer to the previous status
rather than using just drive 0 status.  Another drive with a different
status would cause the previous status state to flip-flop and repeatedly
output state change messages.
2009-01-16 05:40:50 +00:00
yamt
4f322c072e one more change which i forgot to commit with
UVM_PAGE_HASH_PENALTY -> UVM_PAGE_TREE_PENALTY rename.
noticed by Andreas Wrede.
2009-01-16 05:15:29 +00:00
mhitch
258f66824c Another missed part of the device_t/softc split. Fixes ld(4) devices
on mlx(4) controller.
2009-01-16 04:20:28 +00:00
yamt
09ff411cf6 - g/c stale function prototypes.
- rename UVM_PAGE_HASH_PENALTY to UVM_PAGE_TREE_PENALTY.
2009-01-16 02:33:14 +00:00
haad
660aec81c7 Add lvm rc.d script to build. 2009-01-16 01:59:23 +00:00
haad
f42e53f384 Add lvm script to the lists. 2009-01-16 01:58:32 +00:00
yamt
3e54d28391 use TAILQ_FOREACH where appropriate, rather than rolling their own. 2009-01-16 01:48:09 +00:00
yamt
46b53b5f94 replace clearly broken bufq_priocscan_cancel with
something which might work.  (hi reinoud)
2009-01-16 01:44:27 +00:00
bjh21
e26a7c553a cpu_info_store, machine, and machine_arch can all be shared by acorn26 and
arm32, so share them.
2009-01-16 01:03:47 +00:00
haad
44e4eeea57 Disable unloading of dm driver when there are any devices defined. This means
that we have to run lvm vgchange -a n before modunload in NetBSD.

We really need to disable module unloading only for mounted devices, I have
to look at vfs_hooks for mount/umount calls and find way how to mark devices
as mounted in dm driver.
2009-01-16 00:46:12 +00:00
bjh21
3947d9169a acorn26 and arm32 have identical versions of cpu_need_resched(). Unify them.
Similarly, with a small tweak acorn26 can use the same cpu_intr_p() as arm32,
so those can be unified too.
2009-01-16 00:44:43 +00:00
bjh21
b4036b9540 Remove a couple of spurious instructions from irq_entry -- there's
no need to copy SP into R0 to pass to irq_handler() when R0 already
contains SP from a few instructions earlier.
2009-01-16 00:13:25 +00:00
christos
584a4c6af9 don't use glue for semctl, the number of underscores makes this an intractable
problem :-) Use regular wrappers like we do with sigtimedwait.
2009-01-16 00:02:57 +00:00
njoly
b615dfc4d8 Rengen for compat50 update. 2009-01-15 23:50:35 +00:00
njoly
7345858afe Update some syscalls/arguments to use the new compat50 equivalents. 2009-01-15 23:48:50 +00:00
bjh21
a9eabe0d4b ILL_ILLTRP seems like the right code for a SWI that's not in the range
assigned for syscalls, so use it.
2009-01-15 23:33:41 +00:00
christos
51200e9aa1 mention that you'll need to update compat if you change the size of in6_ifreq. 2009-01-15 23:22:15 +00:00
plunky
c2336815fa use msg_flags field to determine
a. if the PDU is truncated, close client fd
    b. if a control message is truncated, ignore it
2009-01-15 23:17:00 +00:00
pooka
a5ae82a57e Revert 1.101, author did not provide a justification. 2009-01-15 21:26:03 +00:00
christos
5a4537eb47 Emulate a couple more ioctls. Thanks to Matthias Drochner for pointing them out. 2009-01-15 20:32:59 +00:00
joerg
99bea28aa2 Fix typo in comment. 2009-01-15 19:03:31 +00:00
christos
ba8b020023 - switch the lifetime struct to time_t and provide compatibility for the
old ioctl.
2009-01-15 18:20:48 +00:00
christos
ff90a0090a compat glue. 2009-01-15 18:19:23 +00:00
yamt
b9b9c67db2 bufq_cancel: KNF. 2009-01-15 16:11:19 +00:00
christos
651aa5ccda - remove errmsg; we all have strerror() these days.
- sanitize error printing. Try to print the system error or a reason for
  the message.
2009-01-15 15:58:42 +00:00
christos
19540887f2 - Don't use TOOL_SED; we are not a regular Makefile
- PREFIX defaults to /usr/pkg
- use -g
- delete errmsg.c
2009-01-15 15:57:18 +00:00
christos
dfcfa95743 check for error in the COMPAT_50 case. 2009-01-15 15:29:10 +00:00
christos
a46d2217e9 reverse the polarity of the use of the error variable. Using a different
variable would be cleaner but it would require more ifdefs.
2009-01-15 15:25:37 +00:00
jym
1c44582377 Remove unneeded x86_lfence(). Xen RING macros use memory fences internally, and
hypercalls are also memory fences.

Ok by bouyer@.
2009-01-15 14:51:30 +00:00
rtr
ab7669ef5b use PRIu64 format to print major and minor dev_t
from Wojciech Galazka on current-users@
2009-01-15 12:35:13 +00:00
yamt
0915dface4 - reduce the number of #ifdefs.
- build compat glues if MODULAR.
2009-01-15 04:22:11 +00:00