kernel_platform/common (Android common kernel, android16-6.12) from opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII), unmodified. This is the kernel Sony ships, so stock-built modules (e.g. the WLAN driver, whose source is not in the archive) match it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
30 lines
606 B
C
30 lines
606 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 schedule()
|
|
#define PAGE_SHIFT 12
|
|
|
|
#define __acquires(x)
|
|
#define __releases(x)
|
|
#define __must_hold(x)
|
|
|
|
#define EXPORT_PER_CPU_SYMBOL_GPL(x)
|
|
#endif /* _KERNEL_H */
|