Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225862
b: refs/heads/master
c: 3d29005
h: refs/heads/master
v: v3
  • Loading branch information
Shiraz Hashim authored and Russell King committed Dec 24, 2010
1 parent dfb798f commit 31f7ac1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 67cfa23ac9df810d1fbf3a06b7f408243350ecfe
refs/heads/master: 3d29005ab8d828e36108ecc2338612ce3acdd86f
7 changes: 7 additions & 0 deletions trunk/arch/arm/include/asm/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ extern unsigned int user_debug;
#define vectors_high() (0)
#endif

#if __LINUX_ARM_ARCH__ >= 7 || \
(__LINUX_ARM_ARCH__ == 6 && defined(CONFIG_CPU_32v6K))
#define sev() __asm__ __volatile__ ("sev" : : : "memory")
#define wfe() __asm__ __volatile__ ("wfe" : : : "memory")
#define wfi() __asm__ __volatile__ ("wfi" : : : "memory")
#endif

#if __LINUX_ARM_ARCH__ >= 7
#define isb() __asm__ __volatile__ ("isb" : : : "memory")
#define dsb() __asm__ __volatile__ ("dsb" : : : "memory")
Expand Down

0 comments on commit 31f7ac1

Please sign in to comment.