diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-15 18:01:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-15 18:01:29 -0400 |
commit | 7e2225d860772aaa07e1cebca6a5aa6f93f9aa91 (patch) | |
tree | 8a4c3076c2043d011fcf2357835f4f16be7606a7 /arch/mips/mm | |
parent | 3a628b0fd42f7eaf9d052447784d48ceae9ffb8e (diff) | |
parent | b27418aa551a153e8bf1bd16cf93e5786f9590a9 (diff) |
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (54 commits)
[MIPS] Remove mips_machtype for LASAT machines
[MIPS] Remove mips_machtype from EMMA2RH machines
[MIPS] Remove mips_machtype from ARC based machines
[MIPS] MTX-1 flash partition setup move to platform devices registration
[MIPS] TXx9: cleanup and fix some sparse warnings
[MIPS] TXx9: rename asm-mips/mach-jmr3927 to asm-mips/mach-tx39xx
[MIPS] remove machtype for group Toshiba
[MIPS] separate rbtx4927_time_init() and rbtx4937_time_init()
[MIPS] separate rbtx4927_arch_init() and rbtx4937_arch_init()
[MIPS] txx9_cpu_clock setup move to rbtx4927_time_init()
[MIPS] txx9_board_vec set directly without mips_machtype
[MIPS] IP22: Add platform device for Indy volume buttons
[MIPS] cmbvr4133: Remove support
[MIPS] remove wrppmc_machine_power_off()
[MIPS] replace inline assembler to cpu_wait()
[MIPS] IP22/28: Add platform devices for HAL2
[MIPS] TXx9: Update and merge defconfigs
[MIPS] TXx9: Make single kernel can support multiple boards
[MIPS] TXx9: Update defconfigs
[MIPS] TXx9: Reorganize PCI code
...
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/uasm.c | 4 | ||||
-rw-r--r-- | arch/mips/mm/uasm.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips/mm/uasm.c b/arch/mips/mm/uasm.c index 1655aa69e133..f467199676a8 100644 --- a/arch/mips/mm/uasm.c +++ b/arch/mips/mm/uasm.c | |||
@@ -396,7 +396,7 @@ int __cpuinit uasm_in_compat_space_p(long addr) | |||
396 | #endif | 396 | #endif |
397 | } | 397 | } |
398 | 398 | ||
399 | int __cpuinit uasm_rel_highest(long val) | 399 | static int __cpuinit uasm_rel_highest(long val) |
400 | { | 400 | { |
401 | #ifdef CONFIG_64BIT | 401 | #ifdef CONFIG_64BIT |
402 | return ((((val + 0x800080008000L) >> 48) & 0xffff) ^ 0x8000) - 0x8000; | 402 | return ((((val + 0x800080008000L) >> 48) & 0xffff) ^ 0x8000) - 0x8000; |
@@ -405,7 +405,7 @@ int __cpuinit uasm_rel_highest(long val) | |||
405 | #endif | 405 | #endif |
406 | } | 406 | } |
407 | 407 | ||
408 | int __cpuinit uasm_rel_higher(long val) | 408 | static int __cpuinit uasm_rel_higher(long val) |
409 | { | 409 | { |
410 | #ifdef CONFIG_64BIT | 410 | #ifdef CONFIG_64BIT |
411 | return ((((val + 0x80008000L) >> 32) & 0xffff) ^ 0x8000) - 0x8000; | 411 | return ((((val + 0x80008000L) >> 32) & 0xffff) ^ 0x8000) - 0x8000; |
diff --git a/arch/mips/mm/uasm.h b/arch/mips/mm/uasm.h index 0d6a66f32030..c6d1e3dd82d4 100644 --- a/arch/mips/mm/uasm.h +++ b/arch/mips/mm/uasm.h | |||
@@ -103,8 +103,6 @@ struct uasm_label { | |||
103 | void __cpuinit uasm_build_label(struct uasm_label **lab, u32 *addr, int lid); | 103 | void __cpuinit uasm_build_label(struct uasm_label **lab, u32 *addr, int lid); |
104 | #ifdef CONFIG_64BIT | 104 | #ifdef CONFIG_64BIT |
105 | int uasm_in_compat_space_p(long addr); | 105 | int uasm_in_compat_space_p(long addr); |
106 | int uasm_rel_highest(long val); | ||
107 | int uasm_rel_higher(long val); | ||
108 | #endif | 106 | #endif |
109 | int uasm_rel_hi(long val); | 107 | int uasm_rel_hi(long val); |
110 | int uasm_rel_lo(long val); | 108 | int uasm_rel_lo(long val); |