diff options
Diffstat (limited to 'arch/mips/include/asm/mach-loongson/loongson.h')
-rw-r--r-- | arch/mips/include/asm/mach-loongson/loongson.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/mips/include/asm/mach-loongson/loongson.h b/arch/mips/include/asm/mach-loongson/loongson.h index ee8bc8376972..fcdbe3a4ce1f 100644 --- a/arch/mips/include/asm/mach-loongson/loongson.h +++ b/arch/mips/include/asm/mach-loongson/loongson.h | |||
@@ -1,12 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2009 Lemote, Inc. | 2 | * Copyright (C) 2009 Lemote, Inc. |
3 | * Author: Wu Zhangjin <wuzj@lemote.com> | 3 | * Author: Wu Zhangjin <wuzhangjin@gmail.com> |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms of the GNU General Public License as published by the | 6 | * under the terms of the GNU General Public License as published by the |
7 | * Free Software Foundation; either version 2 of the License, or (at your | 7 | * Free Software Foundation; either version 2 of the License, or (at your |
8 | * option) any later version. | 8 | * option) any later version. |
9 | * | ||
10 | */ | 9 | */ |
11 | 10 | ||
12 | #ifndef __ASM_MACH_LOONGSON_LOONGSON_H | 11 | #ifndef __ASM_MACH_LOONGSON_LOONGSON_H |
@@ -23,7 +22,7 @@ extern void mach_prepare_reboot(void); | |||
23 | extern void mach_prepare_shutdown(void); | 22 | extern void mach_prepare_shutdown(void); |
24 | 23 | ||
25 | /* environment arguments from bootloader */ | 24 | /* environment arguments from bootloader */ |
26 | extern unsigned long bus_clock, cpu_clock_freq; | 25 | extern unsigned long cpu_clock_freq; |
27 | extern unsigned long memsize, highmemsize; | 26 | extern unsigned long memsize, highmemsize; |
28 | 27 | ||
29 | /* loongson-specific command line, env and memory initialization */ | 28 | /* loongson-specific command line, env and memory initialization */ |
@@ -308,7 +307,7 @@ extern unsigned long _loongson_addrwincfg_base; | |||
308 | */ | 307 | */ |
309 | #define LOONGSON_ADDRWIN_CFG(s, d, w, src, dst, size) do {\ | 308 | #define LOONGSON_ADDRWIN_CFG(s, d, w, src, dst, size) do {\ |
310 | s##_WIN##w##_BASE = (src); \ | 309 | s##_WIN##w##_BASE = (src); \ |
311 | s##_WIN##w##_MMAP = (src) | ADDRWIN_MAP_DST_##d; \ | 310 | s##_WIN##w##_MMAP = (dst) | ADDRWIN_MAP_DST_##d; \ |
312 | s##_WIN##w##_MASK = ~(size-1); \ | 311 | s##_WIN##w##_MASK = ~(size-1); \ |
313 | } while (0) | 312 | } while (0) |
314 | 313 | ||