]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: unify memory region checks between kgdb and traps
authorMike Frysinger <vapier@gentoo.org>
Sun, 7 Jun 2009 20:31:52 +0000 (16:31 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 23 Jun 2009 01:15:34 +0000 (21:15 -0400)
commit8e4c6de783fbeeda00c331848149a60499bba331
tree5a49f9a42d1577c13ee59d016bd0630c60de58d1
parent2e7f5e88146c9f3b071c4cf3ba5a17aa14879358
Blackfin: unify memory region checks between kgdb and traps

The kgdb (in multiple places) and traps code developed pretty much
identical checks for how to access different regions of the Blackfin
memory map, but each wasn't 100%, so unify them to avoid duplication,
bitrot, and bugs with edge cases.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/uaccess.h
arch/blackfin/kernel/kgdb.c
arch/blackfin/kernel/process.c
arch/blackfin/kernel/traps.c