Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348307
b: refs/heads/master
c: bef9ae3
h: refs/heads/master
i:
  348305: 6a82074
  348303: 8364470
v: v3
  • Loading branch information
Ralf Baechle committed Dec 28, 2012
1 parent 6420da3 commit 80eca80
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 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: 20082595d341d69dcf7853f2f1d4dc0051090b97
refs/heads/master: bef9ae3d883ce908d8879fff0cd2c3971f5ee4b4
5 changes: 2 additions & 3 deletions trunk/arch/mips/kernel/genex.S
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <asm/mipsregs.h>
#include <asm/stackframe.h>
#include <asm/war.h>
#include <asm/page.h>
#include <asm/thread_info.h>

#define PANIC_PIC(msg) \
Expand Down Expand Up @@ -483,8 +482,8 @@ NESTED(nmi_handler, PT_SIZE, sp)
MFC0 k1, CP0_ENTRYHI
andi k1, 0xff /* ASID_MASK */
MFC0 k0, CP0_EPC
PTR_SRL k0, PAGE_SHIFT + 1
PTR_SLL k0, PAGE_SHIFT + 1
PTR_SRL k0, _PAGE_SHIFT + 1
PTR_SLL k0, _PAGE_SHIFT + 1
or k1, k0
MTC0 k1, CP0_ENTRYHI
mtc0_tlbw_hazard
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/mips/kernel/relocate_kernel.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <asm/asm.h>
#include <asm/asmmacro.h>
#include <asm/regdef.h>
#include <asm/page.h>
#include <asm/mipsregs.h>
#include <asm/stackframe.h>
#include <asm/addrspace.h>
Expand Down Expand Up @@ -50,7 +49,7 @@ process_entry:
and s3, s2, 0x8
beq s3, zero, process_entry
and s2, s2, ~0x8
li s6, (1 << PAGE_SHIFT) / SZREG
li s6, (1 << _PAGE_SHIFT) / SZREG

copy_word:
/* copy page word by word */
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,7 +1,8 @@
#include <asm/asm-offsets.h>
#include <asm/page.h>
#include <asm/thread_info.h>

#define PAGE_SIZE _PAGE_SIZE

/*
* Put .bss..swapper_pg_dir as the first thing in .bss. This will
* ensure that it has .bss alignment (64K).
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/mips/power/hibernate.S
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* Wu Zhangjin <wuzhangjin@gmail.com>
*/
#include <asm/asm-offsets.h>
#include <asm/page.h>
#include <asm/regdef.h>
#include <asm/asm.h>

Expand All @@ -35,7 +34,7 @@ LEAF(swsusp_arch_resume)
0:
PTR_L t1, PBE_ADDRESS(t0) /* source */
PTR_L t2, PBE_ORIG_ADDRESS(t0) /* destination */
PTR_ADDU t3, t1, PAGE_SIZE
PTR_ADDU t3, t1, _PAGE_SIZE
1:
REG_L t8, (t1)
REG_S t8, (t2)
Expand Down

0 comments on commit 80eca80

Please sign in to comment.