procinfo.h 673 B

1234567891011121314151617181920212223242526272829
  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. #ifdef __KERNEL__
  13. struct proc_info_list {
  14. unsigned int cpu_val;
  15. unsigned int cpu_mask;
  16. const char *arch_name;
  17. const char *elf_name;
  18. unsigned int elf_hwcap;
  19. };
  20. #else /* __KERNEL__ */
  21. #include <asm/elf.h>
  22. #warning "Please include asm/elf.h instead"
  23. #endif /* __KERNEL__ */
  24. #endif /* _ASM_C6X_PROCINFO_H */