Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105609
b: refs/heads/master
c: 6dbeb45
h: refs/heads/master
i:
  105607: 1e10ba7
v: v3
  • Loading branch information
Sebastian Siewior authored and Greg Ungerer committed Jul 23, 2008
1 parent 82213d3 commit 617ef60
Show file tree
Hide file tree
Showing 2 changed files with 12 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: e872504b311cec52f7a316a0037fb959080dbea0
refs/heads/master: 6dbeb456baaba05d60e7ca8213da26142062408a
11 changes: 11 additions & 0 deletions trunk/include/asm-m68knommu/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ asmlinkage void resume(void);
#define smp_read_barrier_depends() do { } while(0)
#endif

#define read_barrier_depends() ((void)0)

#define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))

struct __xchg_dummy { unsigned long a[100]; };
Expand Down Expand Up @@ -310,4 +312,13 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz
#endif
#define arch_align_stack(x) (x)


static inline int irqs_disabled_flags(unsigned long flags)
{
if (flags & 0x0700)
return 0;
else
return 1;
}

#endif /* _M68KNOMMU_SYSTEM_H */

0 comments on commit 617ef60

Please sign in to comment.