mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-31 07:12:18 +00:00
a94b3d14aa
Changes included (and more): 1. Dynamic RAM merge 2. Real-time page scan and allocation 3. Cache compression 4. Real-time IRQ checks 5. Dynamic I/O allocation for Java heap 6. Java page migration 7. Contiguous memory allocation 8. Idle pages tracking 9. Per CPU RAM usage tracking 10. ARM NEON scalar multiplication library 11. NEON/ARMv8 crypto extensions 12. NEON SHA, Blake, RIPEMD crypto extensions 13. Parallel NEON crypto engine for multi-algo based CPU stress reduction
26 lines
650 B
C
26 lines
650 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _PRINTK_H
|
|
#define _PRINTK_H
|
|
|
|
#include <stdio.h>
|
|
#include <asm/bug.h>
|
|
|
|
/*
|
|
* memblock_dbg is called with u64 arguments that don't match the "%llu"
|
|
* specifier in printf. This results in warnings that cannot be fixed without
|
|
* modifying memblock.c, which we wish to avoid. As these messaged are not used
|
|
* in testing anyway, the mismatch can be ignored.
|
|
*/
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wformat"
|
|
#define printk printf
|
|
#pragma GCC diagnostic push
|
|
|
|
#define pr_info printk
|
|
#define pr_debug printk
|
|
#define pr_cont printk
|
|
#define pr_err printk
|
|
#define pr_warn printk
|
|
|
|
#endif
|