18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2010 Texas Instruments Incorporated 48c2ecf20Sopenharmony_ci * Author: Mark Salter (msalter@redhat.com) 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci#ifndef _ASM_C6X_PROCINFO_H 78c2ecf20Sopenharmony_ci#define _ASM_C6X_PROCINFO_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifdef __KERNEL__ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_cistruct proc_info_list { 128c2ecf20Sopenharmony_ci unsigned int cpu_val; 138c2ecf20Sopenharmony_ci unsigned int cpu_mask; 148c2ecf20Sopenharmony_ci const char *arch_name; 158c2ecf20Sopenharmony_ci const char *elf_name; 168c2ecf20Sopenharmony_ci unsigned int elf_hwcap; 178c2ecf20Sopenharmony_ci}; 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#else /* __KERNEL__ */ 208c2ecf20Sopenharmony_ci#include <asm/elf.h> 218c2ecf20Sopenharmony_ci#warning "Please include asm/elf.h instead" 228c2ecf20Sopenharmony_ci#endif /* __KERNEL__ */ 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci#endif /* _ASM_C6X_PROCINFO_H */ 25