debug.h: merge both instances into ihk/debug.h

We do not need two debug.h files.

Take Fujitsu's STATIC_ASSERT over BUILD_BUG_ON because it is more used

Change-Id: If04c17fbb7406ab15fe86267fed8d6da460cec62
Fujitsu: POSTK_DEBUG_ARCH_DEP_9
This commit is contained in:
Dominique Martinet
2019-02-27 14:18:59 +09:00
committed by Dominique Martinet
parent 06e96005a6
commit 9ec0aeeab5
43 changed files with 91 additions and 162 deletions

View File

@@ -23,9 +23,8 @@
//#define DEBUG_PRINT_PAGE_ALLOC
#ifdef DEBUG_PRINT_PAGE_ALLOC
#define dkprintf kprintf
#else
#define dkprintf(...) do { if (0) kprintf(__VA_ARGS__); } while (0)
#undef DDEBUG_DEFAULT
#define DDEBUG_DEFAULT DDEBUG_PRINT
#endif
void free_pages(void *, int npages);