1 /* 2 * Copyright (C) 2010 Texas Instruments Incorporated 3 * Author: Mark Salter (msalter@redhat.com) 4 * 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 */ 10 #ifndef _ASM_C6X_PROCINFO_H 11 #define _ASM_C6X_PROCINFO_H 12 13 #ifdef __KERNEL__ 14 15 struct proc_info_list { 16 unsigned int cpu_val; 17 unsigned int cpu_mask; 18 const char *arch_name; 19 const char *elf_name; 20 unsigned int elf_hwcap; 21 }; 22 23 #else /* __KERNEL__ */ 24 #include <asm/elf.h> 25 #warning "Please include asm/elf.h instead" 26 #endif /* __KERNEL__ */ 27 28 #endif /* _ASM_C6X_PROCINFO_H */ 29