Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312122
b: refs/heads/master
c: 7b1c0d2
h: refs/heads/master
v: v3
  • Loading branch information
David Daney authored and Ralf Baechle committed Jul 19, 2012
1 parent d354200 commit 3d80346
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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: c5de50dada1403e1abc8cd4a8c9a1283c859e0bb
refs/heads/master: 7b1c0d26a8e272787f0f9fcc5f3e8531df3b3409
4 changes: 2 additions & 2 deletions trunk/arch/mips/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ struct thread_info {
register struct thread_info *__current_thread_info __asm__("$28");
#define current_thread_info() __current_thread_info

#endif /* !__ASSEMBLY__ */

/* thread information allocation */
#if defined(CONFIG_PAGE_SIZE_4KB) && defined(CONFIG_32BIT)
#define THREAD_SIZE_ORDER (1)
Expand All @@ -85,8 +87,6 @@ register struct thread_info *__current_thread_info __asm__("$28");

#define STACK_WARN (THREAD_SIZE / 8)

#endif /* !__ASSEMBLY__ */

#define PREEMPT_ACTIVE 0x10000000

/*
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/mips/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <asm/asm-offsets.h>
#include <asm/page.h>
#include <asm/thread_info.h>
#include <asm-generic/vmlinux.lds.h>

#undef mips
Expand Down Expand Up @@ -72,7 +73,7 @@ SECTIONS
.data : { /* Data */
. = . + DATAOFFSET; /* for CONFIG_MAPPED_KERNEL */

INIT_TASK_DATA(PAGE_SIZE)
INIT_TASK_DATA(THREAD_SIZE)
NOSAVE_DATA
CACHELINE_ALIGNED_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT)
READ_MOSTLY_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT)
Expand Down

0 comments on commit 3d80346

Please sign in to comment.