Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120078
b: refs/heads/master
c: eb67cf1
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Dec 22, 2008
1 parent 6477c95 commit a986ab7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 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: f74c034d52d0f908d5b929423a680962a2586199
refs/heads/master: eb67cf14ae5c21609c200859d6f3eba71c591569
3 changes: 3 additions & 0 deletions trunk/arch/sh/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ extern struct sh_cpuinfo cpu_data[];
#define current_cpu_data cpu_data[smp_processor_id()]
#define raw_current_cpu_data cpu_data[raw_smp_processor_id()]

#define cpu_sleep() __asm__ __volatile__ ("sleep" : : : "memory")
#define cpu_relax() barrier()

/* Forward decl */
struct seq_operations;

Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/sh/include/asm/processor_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,6 @@ extern unsigned long get_wchan(struct task_struct *p);

#define user_stack_pointer(regs) ((regs)->regs[15])

#define cpu_sleep() __asm__ __volatile__ ("sleep" : : : "memory")
#define cpu_relax() barrier()

#if defined(CONFIG_CPU_SH2A) || defined(CONFIG_CPU_SH3) || \
defined(CONFIG_CPU_SH4)
#define PREFETCH_STRIDE L1_CACHE_BYTES
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/sh/include/asm/processor_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,5 @@ extern unsigned long get_wchan(struct task_struct *p);

#define user_stack_pointer(regs) ((regs)->sp)

#define cpu_relax() barrier()

#endif /* __ASSEMBLY__ */
#endif /* __ASM_SH_PROCESSOR_64_H */

0 comments on commit a986ab7

Please sign in to comment.