Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44583
b: refs/heads/master
c: 0282884
h: refs/heads/master
i:
  44581: 62757e3
  44579: 17aef9b
  44575: 00ca203
v: v3
  • Loading branch information
Nicolas Pitre authored and Russell King committed Dec 13, 2006
1 parent 8e85b2b commit 188c1fd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 386b0ce25ae16eb1d25db6a004c959e3a9003ce3
refs/heads/master: 02828845dda5ccf921ab2557c6ca17b6e7fc70e2
16 changes: 8 additions & 8 deletions trunk/include/asm-arm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);
#if __LINUX_ARM_ARCH__ >= 5

#define ARCH_HAS_PREFETCH
#define prefetch(ptr) \
({ \
__asm__ __volatile__( \
"pld\t%0" \
: \
: "o" (*(char *)(ptr)) \
: "cc"); \
})
static inline void prefetch(const void *ptr)
{
__asm__ __volatile__(
"pld\t%0"
:
: "o" (*(char *)ptr)
: "cc");
}

#define ARCH_HAS_PREFETCHW
#define prefetchw(ptr) prefetch(ptr)
Expand Down

0 comments on commit 188c1fd

Please sign in to comment.