Change architecture-specific code to use iterators rather than tailq pointers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| sys/powerpc/aim/mmu_oea64.c | ||
|---|---|---|
| 3802 | I am curious why this condition is needed now. | |
| sys/powerpc/aim/mmu_oea64.c | ||
|---|---|---|
| 3802 | make buildkernel TARGET=powerpc TARGET_ARCH=powerpc will emit these lines: --- mmu_oea64.o ---
/freebsd/dougm/src/sys/powerpc/aim/mmu_oea64.c:3804:1: warning: unused function 'moea64_sp_promote' [-Wunused-function]
3804 | moea64_sp_promote(pmap_t pmap, vm_offset_t va, vm_page_t m)
| ^~~~~~~~~~~~~~~~~If the condition is removed. | |
| sys/powerpc/aim/mmu_oea64.c | ||
|---|---|---|
| 3802 | Ok, it is fine, but should be a separate commit. | |
Comment Actions
Add braces. Drop a null check. Restore a physical address check. Drop attempts to silence compiler warnings.