linux/arch/um/include/asm/io.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#ifndef _ASM_UM_IO_H
   3#define _ASM_UM_IO_H
   4#include <linux/types.h>
   5
   6/* get emulated iomem (if desired) */
   7#include <asm-generic/logic_io.h>
   8
   9#ifndef ioremap
  10#define ioremap ioremap
  11static inline void __iomem *ioremap(phys_addr_t offset, size_t size)
  12{
  13        return NULL;
  14}
  15#endif /* ioremap */
  16
  17#ifndef iounmap
  18#define iounmap iounmap
  19static inline void iounmap(void __iomem *addr)
  20{
  21}
  22#endif /* iounmap */
  23
  24#include <asm-generic/io.h>
  25
  26#endif
  27