X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_debug.h;h=ad833e28f20e1aec1c174925b36f7cbd0c6cf38e;hb=eb8452240bce761062d49ff7cbd6398a239d431c;hp=a1a879c5e2294e6ff1edd22077132459c1017cf3;hpb=01def2b635ff0b7bacde158d9124334c42cd5d2b;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_debug.h b/lustre/include/lustre_debug.h index a1a879c..ad833e2 100644 --- a/lustre/include/lustre_debug.h +++ b/lustre/include/lustre_debug.h @@ -45,11 +45,10 @@ #include #include -#if defined(__linux__) -#include -#else -#error Unsupported operating system. -#endif +#define LL_CDEBUG_PAGE(mask, page, fmt, arg...) \ + CDEBUG(mask, "page %p map %p index %lu flags %lx count %u priv %0lx: " \ + fmt, page, page->mapping, page->index, (long)page->flags, \ + page_count(page), page_private(page), ## arg) #define ASSERT_MAX_SIZE_MB 60000ULL #define ASSERT_PAGE_INDEX(index, OP) \