mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-01 23:53:16 -04:00
define pr_err to printk Link: https://lkml.kernel.org/r/20220906194824.2110408-3-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com> Tested-by: Yu Zhao <yuzhao@google.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: David Hildenbrand <david@redhat.com> Cc: David Howells <dhowells@redhat.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org> Cc: SeongJae Park <sj@kernel.org> Cc: Sven Schnelle <svens@linux.ibm.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Will Deacon <will@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
27 lines
565 B
C
27 lines
565 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _KERNEL_H
|
|
#define _KERNEL_H
|
|
|
|
#include "../../include/linux/kernel.h"
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
#include <limits.h>
|
|
|
|
#include <linux/compiler.h>
|
|
#include <linux/err.h>
|
|
#include <linux/bitops.h>
|
|
#include <linux/log2.h>
|
|
#include "../../../include/linux/kconfig.h"
|
|
|
|
#define printk printf
|
|
#define pr_err printk
|
|
#define pr_info printk
|
|
#define pr_debug printk
|
|
#define pr_cont printk
|
|
|
|
#define __acquires(x)
|
|
#define __releases(x)
|
|
#define __must_hold(x)
|
|
|
|
#define EXPORT_PER_CPU_SYMBOL_GPL(x)
|
|
#endif /* _KERNEL_H */
|