The US Senate has passed legislation with overwhelming majority to end the budget impasse and avert a possible default. The legislation which also has to be cleared by the House of Representatives would permit the treasury to borrow normally through February 7 or perhaps a month longer, and fund the government through January 15. More than two million federal workers would be paid. President Barack Obama has vowed to sign it immediately once it reaches his desk to get things running as soon as possible.