Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31351
b: refs/heads/master
c: 74e651f
h: refs/heads/master
i:
  31349: 94801c5
  31347: a4a33d4
  31343: 5d24dc4
v: v3
  • Loading branch information
Linus Torvalds committed Jun 30, 2006
1 parent 750f547 commit 988d27b
Show file tree
Hide file tree
Showing 42 changed files with 4,184 additions and 3,649 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: 0702056f9f41274a06e21cb05f12b4265b4867a2
refs/heads/master: 74e651f0aa100f3e5d3432a8dd8869c089e8d72f
17 changes: 17 additions & 0 deletions trunk/arch/sparc/kernel/ioport.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
*/

#include <linux/config.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
Expand All @@ -40,6 +41,7 @@
#include <asm/vaddrs.h>
#include <asm/oplib.h>
#include <asm/prom.h>
#include <asm/of_device.h>
#include <asm/sbus.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
Expand Down Expand Up @@ -143,6 +145,21 @@ void __iomem *sbus_ioremap(struct resource *phyres, unsigned long offset,
phyres->start + offset, size, name);
}

void __iomem *of_ioremap(struct resource *res, unsigned long offset,
unsigned long size, char *name)
{
return _sparc_alloc_io(res->flags & 0xF,
res->start + offset,
size, name);
}
EXPORT_SYMBOL(of_ioremap);

void of_iounmap(void __iomem *base, unsigned long size)
{
iounmap(base);
}
EXPORT_SYMBOL(of_iounmap);

/*
*/
void sbus_iounmap(volatile void __iomem *addr, unsigned long size)
Expand Down
Loading

0 comments on commit 988d27b

Please sign in to comment.