I think Linux has adopted 64-bit timestamps on 32-bit systems as well by now.
Mainframes don't run Unix in the way we think of it, and the applications they run store timestamps in a different format (hence the panic about Y2K back in the day). I'm by no means an expert, but I think these people don't need to worry about Y2K38.