Source: opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII: XQ-GE74, XQ-GE54, SO-51G, SOG17, A601SO, XQ-GE44), unmodified. Co-Authored-By: Claude Opus 5.5 <[email protected]>
26 lines
507 B
C
26 lines
507 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
*/
|
|
|
|
#include <linux/types.h>
|
|
|
|
#ifndef _CPU_PHYS_LOG_MAP_H
|
|
#define _CPU_PHYS_LOG_MAP_H
|
|
|
|
#if IS_ENABLED(CONFIG_QCOM_CPU_PHYS_LOG_MAP)
|
|
extern int cpu_logical_to_phys(int cpu);
|
|
extern int cpu_phys_to_logical(int cpu);
|
|
#else
|
|
static inline int cpu_logical_to_phys(int cpu)
|
|
{
|
|
return cpu;
|
|
}
|
|
static inline int cpu_phys_to_logical(int cpu)
|
|
{
|
|
return cpu;
|
|
}
|
|
#endif
|
|
|
|
#endif /* _CPU_PHYS_LOG_MAP_H */
|