Use atomic_add_int rather than a simple ++ to ensure no cache races if
the power interrupt and init code waiting for the interrupt are
running on different CPUs. I haven't seen this make any real
difference, but I've also had some reports of odd behavior I can't
otherwise explain. It is an infrequent operation, and certainly
wouldn't hurt.
Description
Description
Details
Details
- Provenance
imp Authored on - Parents
- rS185739: Improve usefulness of the panic by printing the pointer to the problematic
- Branches
- Unknown
- Tags