Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37715
b: refs/heads/master
c: 801f92a
h: refs/heads/master
i:
  37713: e9008ed
  37711: 91615db
v: v3
  • Loading branch information
Haavard Skinnemoen authored and Linus Torvalds committed Oct 1, 2006
1 parent cc4b715 commit ca75520
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 91 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: db71daabad0821996483dfe309c4bc81d6755a70
refs/heads/master: 801f92ad5a0c630646f6746f3ed1663fcab185d1
15 changes: 12 additions & 3 deletions trunk/arch/alpha/kernel/proto.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include <linux/interrupt.h>
#include <linux/io.h>

#include <asm/pgtable.h>

/* Prototypes of functions used across modules here in this directory. */

Expand Down Expand Up @@ -181,9 +183,16 @@ extern void titan_dispatch_irqs(u64, struct pt_regs *);
extern void switch_to_system_map(void);
extern void srm_paging_stop(void);

/* ../mm/remap.c */
extern int __alpha_remap_area_pages(unsigned long, unsigned long,
unsigned long, unsigned long);
static inline int
__alpha_remap_area_pages(unsigned long address, unsigned long phys_addr,
unsigned long size, unsigned long flags)
{
pgprot_t prot;

prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE
| _PAGE_KWE | flags);
return ioremap_page_range(address, address + size, phys_addr, prot);
}

/* irq.c */

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/alpha/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

EXTRA_CFLAGS := -Werror

obj-y := init.o fault.o extable.o remap.o
obj-y := init.o fault.o extable.o

obj-$(CONFIG_DISCONTIGMEM) += numa.o
86 changes: 0 additions & 86 deletions trunk/arch/alpha/mm/remap.c

This file was deleted.

0 comments on commit ca75520

Please sign in to comment.