From: Doug Anderson Date: Tue, 22 Apr 2014 22:14:51 +0000 (-0700) Subject: arm: kgdb: Handle read-only text / modules X-Git-Tag: omap-for-v3.19/fixes-rc1~105^2^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23a4e4050ba9;p=pandora-kernel.git arm: kgdb: Handle read-only text / modules Handle the case where someone has set the text segment of the kernel as read-only by using the newly introduced "patch" mechanism. Signed-off-by: Doug Anderson [kees: switched structure size check to BUILD_BUG_ON (sboyd)] Signed-off-by: Kees Cook Acked-by: Nicolas Pitre --- Reading git-diff-tree failed