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

@ -15,7 +15,7 @@
#include "ihk/mm.h"
#include "cls.h"
#include "debug.h"
#include <ihk/debug.h>
#define kmalloc(size, flag) ({\
void *r = _kmalloc(size, flag, __FILE__, __LINE__);\