4ec98e6db9
The register state struct is 848 bytes, which ends up bloating the
apple_rtkit_crashlog_dump_regs stack frame beyond 1024 on some
32-bit platforms, triggering compile warnings.
This doesn't matter for 64BIT/ARM64, but there's also no good reason to
copy the structure to the stack in this case. We can use __packed to
avoid alignment issues, there are no double-read hazards, and this is a
fatal error path so performance does not matter.
Fixes:
|
||
---|---|---|
.. | ||
apple-pmgr-pwrstate.c | ||
Kconfig | ||
Makefile | ||
rtkit-crashlog.c | ||
rtkit-internal.h | ||
rtkit.c | ||
sart.c |