Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95672
b: refs/heads/master
c: ef3fb66
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Linus Torvalds committed May 1, 2008
1 parent 7327524 commit bdfec10
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 99da9047e675a4a8d671bbd67b34eb096c308b0d
refs/heads/master: ef3fb66ced1a890769d71a4f4ae9f68b8afa98b6
5 changes: 5 additions & 0 deletions trunk/include/asm-ia64/dmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@

#include <asm/io.h>

/* Use normal IO mappings for DMI */
#define dmi_ioremap ioremap
#define dmi_iounmap(x,l) iounmap(x)
#define dmi_alloc(l) kmalloc(l, GFP_ATOMIC)

#endif
5 changes: 0 additions & 5 deletions trunk/include/asm-ia64/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -423,11 +423,6 @@ extern void __iomem * ioremap(unsigned long offset, unsigned long size);
extern void __iomem * ioremap_nocache (unsigned long offset, unsigned long size);
extern void iounmap (volatile void __iomem *addr);

/* Use normal IO mappings for DMI */
#define dmi_ioremap ioremap
#define dmi_iounmap(x,l) iounmap(x)
#define dmi_alloc(l) kmalloc(l, GFP_ATOMIC)

/*
* String version of IO memory access ops:
*/
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-x86/dmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ static inline void *dmi_alloc(unsigned len)

#endif

/* Use early IO mappings for DMI because it's initialized early */
#define dmi_ioremap early_ioremap
#define dmi_iounmap early_iounmap

Expand Down
5 changes: 0 additions & 5 deletions trunk/include/asm-x86/io_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ extern void *early_ioremap(unsigned long offset, unsigned long size);
extern void early_iounmap(void *addr, unsigned long size);
extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys);

/* Use early IO mappings for DMI because it's initialized early */
#define dmi_ioremap early_ioremap
#define dmi_iounmap early_iounmap
#define dmi_alloc alloc_bootmem

/*
* ISA I/O bus memory addresses are 1:1 with the physical address.
*/
Expand Down

0 comments on commit bdfec10

Please sign in to comment.