This is nasty. We have to fail gracefully, ideally without expecting userinput.

Adding 'while(1)' will cause the CPU to enter a busy loop, artificiallyincreasing the power consumption of the system, which would be counter-productive in a system that was configured to suspend when the battery waslow.

We need to at least print a message specifying what happened andinstructing them to reboot. It's dorky, but over time, all every systemshould eventually be fixed to either enter a low-power mode or shut downproperly.

Perhaps we could also fill in machine_halt(), which the patch below alsodoes.

> * software_suspend() did not check for smp, this fixes it.

Applied, thanks.

> * copy_page() is dangerous. This is actually my fault.

Why is copy_page() dangerous? Shouldn't it be fixed if that is the case?