treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / c6x / include / asm / procinfo.h
blobaaa3cb902c43fdb954a12a5f3d7adeafbe25d4f9
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2010 Texas Instruments Incorporated
4 * Author: Mark Salter (msalter@redhat.com)
5 */
6 #ifndef _ASM_C6X_PROCINFO_H
7 #define _ASM_C6X_PROCINFO_H
9 #ifdef __KERNEL__
11 struct proc_info_list {
12 unsigned int cpu_val;
13 unsigned int cpu_mask;
14 const char *arch_name;
15 const char *elf_name;
16 unsigned int elf_hwcap;
19 #else /* __KERNEL__ */
20 #include <asm/elf.h>
21 #warning "Please include asm/elf.h instead"
22 #endif /* __KERNEL__ */
24 #endif /* _ASM_C6X_PROCINFO_H */