summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-11-20 20:33:25 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-11-20 20:33:25 +0000
commitb7e31873a5c9480c386ed30cda01527bec2c0527 (patch)
treee8f6580efeecf338242520c76bc4469a5748e650 /sys/dev
parent0ec4827cfd483b9a1e6a836c4dbc9266b7bf44f6 (diff)
This is a first step towards getting rid of avail_start and avail_end in the
kernel, currently limited to low-hanging fruit: these variables were used by bus_dma to specify the range in which to allocate memory, back when uvm_pglistalloc() was stupid and would not walk the vm_physseg[]. Nowadays, except on some platforms for early initialization, these variables are not used, or do not need to be global variables. Therefore: - remove `extern' declarations of avail_start and avail_end (or close cousins, such as arm physical_start and physical_end) from files which no longer need to use them. - make them local variables whenever possible. - remove them when they are assigned to but no longer used.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions