dmi.h 342 B

12345678910111213141516
  1. #ifndef _ASM_X86_DMI_H
  2. #define _ASM_X86_DMI_H
  3. #include <asm/io.h>
  4. #include <asm/setup.h>
  5. static inline void *dmi_alloc(unsigned len)
  6. {
  7. return extend_brk(len, sizeof(int));
  8. }
  9. /* Use early IO mappings for DMI because it's initialized early */
  10. #define dmi_ioremap early_ioremap
  11. #define dmi_iounmap early_iounmap
  12. #endif /* _ASM_X86_DMI_H */