Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230523
b: refs/heads/master
c: c81fc38
h: refs/heads/master
i:
  230521: 9dcfa2f
  230519: 160b3dc
v: v3
  • Loading branch information
Paul Mundt committed Jan 11, 2011
1 parent 61081ca commit 407a592
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 89e9fd32c6f4ed58cd6f6e3c3cf5b536a3f36100
refs/heads/master: c81fc389255d287dbfb17a70cd172663f962341a
6 changes: 4 additions & 2 deletions trunk/arch/sh/include/asm/processor_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,17 @@ extern unsigned long get_wchan(struct task_struct *p);
#define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[15])

#if defined(CONFIG_CPU_SH2A) || defined(CONFIG_CPU_SH4)

#define PREFETCH_STRIDE L1_CACHE_BYTES
#define ARCH_HAS_PREFETCH
#define ARCH_HAS_PREFETCHW
static inline void prefetch(void *x)

static inline void prefetch(const void *x)
{
__builtin_prefetch(x, 0, 3);
}

static inline void prefetchw(void *x)
static inline void prefetchw(const void *x)
{
__builtin_prefetch(x, 1, 3);
}
Expand Down

0 comments on commit 407a592

Please sign in to comment.