linux: Avoid using unsigned long directly.