M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#ifndef _PERF_ASM_ALTERNATIVE_ASM_H
#define _PERF_ASM_ALTERNATIVE_ASM_H
/* Just disable it so we can build arch/x86/lib/memcpy_64.S for perf bench: */
#define altinstruction_entry #
#endif

View File

@@ -0,0 +1 @@
/* stub */

View File

@@ -0,0 +1,22 @@
#ifndef _PERF_ASM_GENERIC_BUG_H
#define _PERF_ASM_GENERIC_BUG_H
#define __WARN_printf(arg...) do { fprintf(stderr, arg); } while (0)
#define WARN(condition, format...) ({ \
int __ret_warn_on = !!(condition); \
if (unlikely(__ret_warn_on)) \
__WARN_printf(format); \
unlikely(__ret_warn_on); \
})
#define WARN_ONCE(condition, format...) ({ \
static int __warned; \
int __ret_warn_once = !!(condition); \
\
if (unlikely(__ret_warn_once)) \
if (WARN(!__warned, format)) \
__warned = 1; \
unlikely(__ret_warn_once); \
})
#endif

View File

@@ -0,0 +1,2 @@
#include <asm/types.h>
#include "../../../../include/linux/swab.h"

View File

@@ -0,0 +1,9 @@
#ifndef PERF_CPUFEATURE_H
#define PERF_CPUFEATURE_H
/* cpufeature.h ... dummy header file for including arch/x86/lib/memcpy_64.S */
#define X86_FEATURE_REP_GOOD 0
#endif /* PERF_CPUFEATURE_H */

View File

@@ -0,0 +1,13 @@
#ifndef PERF_DWARF2_H
#define PERF_DWARF2_H
/* dwarf2.h ... dummy header file for including arch/x86/lib/mem{cpy,set}_64.S */
#define CFI_STARTPROC
#define CFI_ENDPROC
#define CFI_REMEMBER_STATE
#define CFI_RESTORE_STATE
#endif /* PERF_DWARF2_H */

View File

@@ -0,0 +1,8 @@
#ifndef PERF_HWEIGHT_H
#define PERF_HWEIGHT_H
#include <linux/types.h>
unsigned int hweight32(unsigned int w);
unsigned long hweight64(__u64 w);
#endif /* PERF_HWEIGHT_H */

View File

@@ -0,0 +1 @@
/* stub */

View File

@@ -0,0 +1 @@
/* Empty */

View File

@@ -0,0 +1,14 @@
#ifndef _PERF_ASM_UACCESS_H_
#define _PERF_ASM_UACCESS_H_
#define __get_user(src, dest) \
({ \
(src) = *dest; \
0; \
})
#define get_user __get_user
#define access_ok(type, addr, size) 1
#endif

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@