printk-core.c uses BITS_PER_LONG and is included into inmate printk. In
order order to use that code correctly inmates need that define.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
#define PAGE_SIZE (4 * 1024ULL)
#ifdef __x86_64__
+#define BITS_PER_LONG 64
#define HUGE_PAGE_SIZE (2 * 1024 * 1024ULL)
#else
+#define BITS_PER_LONG 32
#define HUGE_PAGE_SIZE (4 * 1024 * 1024ULL)
#endif
#define PAGE_MASK (~(PAGE_SIZE - 1))