Fraction of \PJpsi from b-hadron decays at midrapidity as a function of the \PJpsi \pt in p--Pb collisions at $\snn = 5.02$ TeV (red closed circles) compared with results from the ALICE and ATLAS collaborations in the same collision system (blue and green closed circles, and the blue arrow that shows an upper limit at 95\% CL in the range $1.3<\pt<3$ GeV/$c$). The results from CDF in p$\rm \overline{p}$ collisions at $\sqrt{s} = 1.96$ TeV and those of the ALICE , ATLAS , and CMS collaborations in pp collisions at $\sqrt{s} = 7$ TeV or $\sqrt{s} = 8$ TeV are also shown (black symbols) For all experiments, vertical error bars represent the quadratic sum of the statistical and systematic uncertainties The data points of ALICE are placed horizontally at the mean value of the \pt distribution within each \pt-interval, determined from the MC simulations described in the text.