Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300357
b: refs/heads/master
c: b3cb867
h: refs/heads/master
i:
  300355: 7ad5a94
v: v3
  • Loading branch information
James Bottomley authored and James Bottomley committed May 16, 2012
1 parent 21de4cd commit e13ae85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 207f583d7179f707f402c36a7bda5ca1fd03ad5b
refs/heads/master: b3cb8674811d1851bbf1486a73d62b90c119b994
7 changes: 6 additions & 1 deletion trunk/arch/parisc/include/asm/prefetch.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@
#define ARCH_HAS_PREFETCH
static inline void prefetch(const void *addr)
{
__asm__("ldw 0(%0), %%r0" : : "r" (addr));
__asm__(
#ifndef CONFIG_PA20
/* Need to avoid prefetch of NULL on PA7300LC */
" extrw,u,= %0,31,32,%%r0\n"
#endif
" ldw 0(%0), %%r0" : : "r" (addr));
}

/* LDD is a PA2.0 addition. */
Expand Down

0 comments on commit e13ae85

Please sign in to comment.