kgdb,x86: use macro HBP_NUM to replace magic number 4
authorDongdong Deng <dongdong.deng@windriver.com>
Thu, 5 Aug 2010 14:22:25 +0000 (09:22 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:25 +0000 (09:22 -0500)
commitdf4939350b345ebb44937902827aa75b8ad4998c
treeeac83368c659160c6e4bd919abc2fe8a7f9edd77
parent7aeb48b70b077375cdd2fe22f7a8b63ed6a98f25
kgdb,x86: use macro HBP_NUM to replace magic number 4

Use the macros provided by the HW breakpoint API.

Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
arch/x86/kernel/kgdb.c