  We extend existing calculations of the electromagnetic dipole operator
contribution to the total decay rate and the photon energy spectrum of the
decay \bar{B} -> X_s\gamma at O(\alpha_s^2) by working out the exact dependence
on the charm quark mass.
