1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Fix a symbol conflict between hptrr and hptmv

This commit is contained in:
Scott Long 2008-02-06 05:33:17 +00:00
parent 54c1b47d28
commit b204a4e7a1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176031
2 changed files with 3 additions and 3 deletions

View File

@ -298,5 +298,5 @@ void __os_dbgbreak(const char *file, int line)
while (1);
}
int hpt_dbg_level = 1;
int hptrr_dbg_level = 1;
#endif

View File

@ -188,8 +188,8 @@ HPT_U8 os_get_vbus_seq(void *osext);
int os_printk(char *fmt, ...);
#ifdef DBG
extern int hpt_dbg_level;
#define KdPrint(x) do { if (hpt_dbg_level) os_printk x; } while (0)
extern int hptrr_dbg_level;
#define KdPrint(x) do { if (hptrr_dbg_level) os_printk x; } while (0)
void __os_dbgbreak(const char *file, int line);
#define os_dbgbreak() __os_dbgbreak(__FILE__, __LINE__)
#define HPT_ASSERT(x) do { if (!(x)) os_dbgbreak(); } while (0)