Patches provided by Joel Baker in PR 22364, verified by myself.
in arch/shark. (NOTE: arch/dnard, a premature move to split out the Shark support code, is going to be deleted. It has bit-rotted.)