XenevaOS
Loading...
Searching...
No Matches
kgdb.h
Go to the documentation of this file.
1/*
2 * DCL kgdb.h -- in_dbg_master() is false.
3 *
4 * drm_util.h's drm_can_sleep() checks it before allowing a "can sleep"
5 * answer; DCL has no kgdb stub, so the debugger is never "master" and the
6 * remaining conditions (atomic context, irqs off) decide alone.
7 */
8#ifndef _LINUX_KGDB_H
9#define _LINUX_KGDB_H
10
11static inline int in_dbg_master(void)
12{
13 return 0;
14}
15
16#endif /* _LINUX_KGDB_H */