/*
- * Copyright (C) 2010 Timo Kokkonen <kaapeli@itanic.dy.fi>
+ * Copyright (C) 2010 Timo Kokkonen <timo.t.kokkonen@iki.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
return (BITRANGE(5, 54) & p->pf) >> 5;
}
-#define KPAGEFLAGS_NUM 22
-
enum kpageflags {
LOCKED,
ERROR,
HWPOISON,
NOPAGE,
KSM,
+ THP,
+ __PAGEFLAGS_LAST,
};
+#define KPAGEFLAGS_NUM __PAGEFLAGS_LAST
+
struct kpageflag_str {
int flag;
char *str;