Skip to content

Commit

Permalink
[PATCH] alpha(): pgprot_noncached
Browse files Browse the repository at this point in the history
The infiniband code expects that the arch implements pgprot_noncached().

We're mapping PCI areas anyway, so this probabyl wasn't needed and we should
make infiniband stop doing that..

Cc: Roland Dreier <[email protected]>
Cc: Richard Henderson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jul 8, 2005
1 parent 7e8d7e3 commit 4048655
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-alpha/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
#define __S110 _PAGE_S(0)
#define __S111 _PAGE_S(0)

#define pgprot_noncached(prot) (prot)

/*
* BAD_PAGETABLE is used when we need a bogus page-table, while
* BAD_PAGE is used for a bogus page.
Expand Down

0 comments on commit 4048655

Please sign in to comment.