diff options
author | Marius Strobl <marius@FreeBSD.org> | 2007-05-20 14:49:01 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2007-05-20 14:49:01 +0000 |
commit | 62afade2cccf2b0d8432768dbc2a1c91c40fda72 (patch) | |
tree | 391fc747b8b969d8925979b4b0f2e5f899126d0d /sys/dev/de/if_devar.h | |
parent | 8d9b9168aafdd278fbe68504ee55a48b4cbb3c8e (diff) |
- Staticize cpu_ipi_send() and cpu_mp_unleash() as these aren't
referenced outside of mp_machdep.c
- Replace a magic 14 with the newly added IDC_ITID_SHIFT macro.
- Remove the global mp_boot_mid variable as it's not really necessary
and just replacing it with PCPU_GET(mid) doesn't have any impact on
performance once booted.
- Replace PCPU_GET(cpuid) with the curcpu shortcut.
- Replace hardcoded function names in panic strings etc with __func__
so they don't need to be updated when renaming the function.
- Use register_t instead of u_long for variables used to hold the
return value of intr_disable() so we don't need to apply any
knowledge about the actual width of that value here.
- Improve the wording of some comments.
- Fix several style(9) bugs.
Notes
Notes:
svn path=/head/; revision=169796
Diffstat (limited to 'sys/dev/de/if_devar.h')
0 files changed, 0 insertions, 0 deletions