Consider a CobbDouglas Production function Y=A*(K)^a*(L)^(1-a),
Log Y=:Log A+a*Log K+(1-a)*Log L+e.
or, Log Y-Log L=Log A+a*(Log K-Log L)+e.
Thus log (Y/L)=Log A+a*Log(K/L)+e
Hence to obtain the restricted R^2 what you have to do is to fit a regression of Log(Y/L) on Log(K/L) with intercept.
"I don't ride side-saddle. I'm as straight as a submarine"