diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2019-10-20 23:01:36 +0800 |
---|---|---|
committer | Paul Burton <paulburton@kernel.org> | 2019-11-01 14:31:28 -0700 |
commit | 6fbde6b492dfc761ad60a68fb2cb32b1eb05b786 (patch) | |
tree | 34036144cad92b8209ca0e35e79b48c32b797271 /arch/mips/loongson64/common/setup.c | |
parent | 1bdb7b76705a38936e9875950587ea91c9ec0a98 (diff) |
MIPS: Loongson64: Move files to the top-level directory
Current Loongson-3 code can share among all Loongson64 processors.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: chenhc@lemote.com
Cc: paul.burton@mips.com
Diffstat (limited to 'arch/mips/loongson64/common/setup.c')
-rw-r--r-- | arch/mips/loongson64/common/setup.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/arch/mips/loongson64/common/setup.c b/arch/mips/loongson64/common/setup.c deleted file mode 100644 index 4fd27f4f90ed..000000000000 --- a/arch/mips/loongson64/common/setup.c +++ /dev/null @@ -1,30 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology - * Author: Fuxin Zhang, zhangfx@lemote.com - */ -#include <linux/export.h> -#include <linux/init.h> - -#include <asm/wbflush.h> -#include <asm/bootinfo.h> - -#include <loongson.h> - -static void wbflush_loongson(void) -{ - asm(".set\tpush\n\t" - ".set\tnoreorder\n\t" - ".set mips3\n\t" - "sync\n\t" - "nop\n\t" - ".set\tpop\n\t" - ".set mips0\n\t"); -} - -void (*__wbflush)(void) = wbflush_loongson; -EXPORT_SYMBOL(__wbflush); - -void __init plat_mem_setup(void) -{ -} |