kgdb: could not write to the last of valid memory with kgdb
authorAtsuo Igarashi <atsuo_igarashi@tripeaks.co.jp>
Fri, 26 Sep 2008 15:36:41 +0000 (10:36 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 26 Sep 2008 15:36:41 +0000 (10:36 -0500)
commit18d6522b86d21a04c8ac1ea79747e2e434a956d9
tree4df66d758f79eb7c71352e3de57d63df7156bac3
parent6ef190cc92e33565accff6a320f0e7d90480bfe7
kgdb: could not write to the last of valid memory with kgdb

On the ARM architecture, kgdb will crash the kernel if the last byte
of valid memory is written due to a flush_icache_range flushing
beyond the memory boundary.

Signed-off-by: Atsuo Igarashi <atsuo_igarashi@tripeaks.co.jp>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/kgdb.c