The invention provides new heterocyclic compounds having the general formula (I)wherein A, L, X, m, n, R1, R2and R3are as described herein, pharmaceutically acceptable salts thereof, compositions including the compounds, processes of manufacturing the compounds and methods of using the compounds.本發明提供具有通式(I)之新雜環化合物,其中A、L、X、m、n、R1、R2及R3如本文中所描述,其醫藥學上可接受之鹽、包括該等化合物之組合物、製造該等化合物之製程以及使用該等化合物之方法。