Blame view

include/linux/goldfish.h 311 Bytes
425f3740c   Alan   goldfish: Add a 6...
1
2
3
4
5
6
7
8
9
  #ifndef __LINUX_GOLDFISH_H
  #define __LINUX_GOLDFISH_H
  
  /* Helpers for Goldfish virtual platform */
  
  static inline void gf_write64(unsigned long data,
  		void __iomem *portl, void __iomem *porth)
  {
  	writel((u32)data, portl);
8d9e9857c   Alan Cox   goldfish: fix >> ...
10
  #ifdef CONFIG_64BIT
425f3740c   Alan   goldfish: Add a 6...
11
12
13
14
15
  	writel(data>>32, porth);
  #endif
  }
  
  #endif /* __LINUX_GOLDFISH_H */