Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 160817
b: refs/heads/master
c: 5d57795
h: refs/heads/master
i:
  160815: d8b5542
v: v3
  • Loading branch information
Catalin Marinas committed Jul 24, 2009
1 parent e6b9545 commit 6e33358
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 365f7a43497dfdfdc05ca03896a8e22ee6944179
refs/heads/master: 5d57795e26c413656725c26bd053dbee3711adee
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-realview/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <asm/sizes.h>

/* macro to get at IO space when running virtually */
#ifdef CONFIG_MMU
/*
* Statically mapped addresses:
*
Expand All @@ -33,6 +34,9 @@
* 1fxx xxxx -> fexx xxxx
*/
#define IO_ADDRESS(x) (((x) & 0x03ffffff) + 0xfb000000)
#else
#define IO_ADDRESS(x) (x)
#endif
#define __io_address(n) __io(IO_ADDRESS(n))

#endif

0 comments on commit 6e33358

Please sign in to comment.