Let $G$ be a profinite group and $M$ be a finite $G$-module. I can compute the cohomology of $G$ with coefficients in $M$ either as a topological group or as a discrete group. There is an obvious map $H^p(G,M)\to H^p(G^{\delta},M)$ (where $G^\delta$ denotes the underlying discrete group of $G$) which forgets that a $p$-cochain is continuous.
I would like to know if there are conditions on $G$ that insure that these maps are isomorphisms. In my case $G$ is finitely generated (as a topological group).