A majority of the Detroit automaker 's unsecured bondholders have accepted a deal viewed as crucial to reorganization , and Germany agreed to loan $ 2 billion to GM 's German unit , Opel , as part of its acquisition by a Canadian auto parts supplier .