Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243395
b: refs/heads/master
c: 5ca7202
h: refs/heads/master
i:
  243393: 6006c69
  243391: f50f473
v: v3
  • Loading branch information
Amerigo Wang authored and David Howells committed Mar 29, 2011
1 parent 1d174a5 commit 52aa930
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 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: 5ef9bdde9cd8e7f9d43a975b47f520ca64cbd0a1
refs/heads/master: 5ca7202bc4db3e2fd5653c52a608601c7a64a2ac
1 change: 0 additions & 1 deletion trunk/arch/frv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ menu "Power management options"

config ARCH_SUSPEND_POSSIBLE
def_bool y
depends on !SMP

source kernel/power/Kconfig
endmenu
Expand Down
9 changes: 0 additions & 9 deletions trunk/arch/frv/include/asm/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,12 @@ do { \
#define wmb() asm volatile ("membar" : : :"memory")
#define read_barrier_depends() do { } while (0)

#ifdef CONFIG_SMP
#define smp_mb() mb()
#define smp_rmb() rmb()
#define smp_wmb() wmb()
#define smp_read_barrier_depends() read_barrier_depends()
#define set_mb(var, value) \
do { xchg(&var, (value)); } while (0)
#else
#define smp_mb() barrier()
#define smp_rmb() barrier()
#define smp_wmb() barrier()
#define smp_read_barrier_depends() do {} while(0)
#define set_mb(var, value) \
do { var = (value); barrier(); } while (0)
#endif

extern void die_if_kernel(const char *, ...) __attribute__((format(printf, 1, 2)));
extern void free_initmem(void);
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/frv/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

#define THREAD_SIZE 8192

#define __HAVE_ARCH_TASK_STRUCT_ALLOCATOR

/*
* low level task data that entry.S needs immediate access to
* - this struct should fit entirely inside of one cache line
Expand Down

0 comments on commit 52aa930

Please sign in to comment.