diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 23:41:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 23:41:53 -0400 |
commit | d6dd9e93c7531fa31370e27d053a3940d8d662fb (patch) | |
tree | afab573031b3f0b9bbe5e417a890f7cae09a7224 /arch/mips/mm/c-r4k.c | |
parent | dd9cd6d4351076c78bb8c0f9146d1904b481fdbb (diff) | |
parent | b4b2917cc8babe8eaf4bc133bca31b11ed7dac13 (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: (50 commits)
[MIPS] Add smp_call_function_single()
[MIPS] thread_info.h: kmalloc + memset conversion to kzalloc
[MIPS] Kexec: Fix several 64-bit bugs.
[MIPS] Kexec: Fix several warnings.
[MIPS] DDB5477: Remove support
[MIPS] Fulong: Remove unneeded header file
[MIPS] Cobalt: Enable UART on RaQ1
[MIPS] Remove unused GROUP_TOSHIBA_NAMES
[MIPS] remove some duplicate includes
[MIPS] Oprofile: Fix rm9000 performance counter handler
[MIPS] Use -Werror on subdirectories which build cleanly.
[MIPS] Yosemite: Fix warning.
[MIPS] PMON: Fix cpustart declaration.
[MIPS] Yosemite: Only build ll_ht_smp_irq_handler() if HYPERTRANSPORT.
[MIPS] Yosemite: Fix build error due to undeclared titan_mailbox_irq().
[MIPS] Yosemite: Don't declare titan_mailbox_irq() as asmlinkage.
[MIPS] Yosemite: Fix warnings in i2c-yoesmite by deleting the unused code.
[MIPS] Delete unused arch/mips/gt64120/common/
[MIPS] Fix build warning in unaligned load/store emulator.
[MIPS] IP32: Don't ignore request_irq's return value.
...
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
-rw-r--r-- | arch/mips/mm/c-r4k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index be96231dccb6..bad571971bf6 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <asm/page.h> | 23 | #include <asm/page.h> |
24 | #include <asm/pgtable.h> | 24 | #include <asm/pgtable.h> |
25 | #include <asm/r4kcache.h> | 25 | #include <asm/r4kcache.h> |
26 | #include <asm/sections.h> | ||
26 | #include <asm/system.h> | 27 | #include <asm/system.h> |
27 | #include <asm/mmu_context.h> | 28 | #include <asm/mmu_context.h> |
28 | #include <asm/war.h> | 29 | #include <asm/war.h> |
@@ -1010,7 +1011,6 @@ static void __init probe_pcache(void) | |||
1010 | */ | 1011 | */ |
1011 | static int __init probe_scache(void) | 1012 | static int __init probe_scache(void) |
1012 | { | 1013 | { |
1013 | extern unsigned long stext; | ||
1014 | unsigned long flags, addr, begin, end, pow2; | 1014 | unsigned long flags, addr, begin, end, pow2; |
1015 | unsigned int config = read_c0_config(); | 1015 | unsigned int config = read_c0_config(); |
1016 | struct cpuinfo_mips *c = ¤t_cpu_data; | 1016 | struct cpuinfo_mips *c = ¤t_cpu_data; |
@@ -1019,7 +1019,7 @@ static int __init probe_scache(void) | |||
1019 | if (config & CONF_SC) | 1019 | if (config & CONF_SC) |
1020 | return 0; | 1020 | return 0; |
1021 | 1021 | ||
1022 | begin = (unsigned long) &stext; | 1022 | begin = (unsigned long) &_stext; |
1023 | begin &= ~((4 * 1024 * 1024) - 1); | 1023 | begin &= ~((4 * 1024 * 1024) - 1); |
1024 | end = begin + (4 * 1024 * 1024); | 1024 | end = begin + (4 * 1024 * 1024); |
1025 | 1025 | ||