Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759040AbdDSB7i (ORCPT ); Tue, 18 Apr 2017 21:59:38 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35126 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759010AbdDSB7f (ORCPT ); Tue, 18 Apr 2017 21:59:35 -0400 From: Li Qiang X-Google-Original-From: Li Qiang To: jason.wessel@windriver.com, corbet@lwn.net, labbott@redhat.com Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, Li Qiang Subject: [PATCH] Documentation: DocBook: kgdb: update CONFIG_STRICT_KERNEL_RWX info Date: Tue, 18 Apr 2017 18:58:45 -0700 Message-Id: <1492567125-61756-1-git-send-email-liqiang6-s@360.cn> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 947 Lines: 25 CONFIG_STRICT_KERNEL_RWX is no longer selectable on most architectures. Update this info to the documentation. Signed-off-by: Li Qiang --- Documentation/DocBook/kgdb.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/DocBook/kgdb.tmpl b/Documentation/DocBook/kgdb.tmpl index 856ac20..ef0b67b 100644 --- a/Documentation/DocBook/kgdb.tmpl +++ b/Documentation/DocBook/kgdb.tmpl @@ -121,7 +121,9 @@ If kgdb supports it for the architecture you are using, you can use hardware breakpoints if you desire to run with the CONFIG_STRICT_KERNEL_RWX option turned on, else you need to turn off - this option. + this option. In most architectures, this option is not selectable. + For this situation, it can be turned off by adding a runtime parameter + 'rodata=off'. Next you should choose one of more I/O drivers to interconnect -- 2.7.4