usb: gadget: udc: pch_udc: Fix a plethora of function documentation related issues
[linux/fpc-iii.git] / arch / mips / loongson2ef / common / setup.c
blob4fd27f4f90edb625d5d6e8f73c8c082bef57a3c2
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology
4 * Author: Fuxin Zhang, zhangfx@lemote.com
5 */
6 #include <linux/export.h>
7 #include <linux/init.h>
9 #include <asm/wbflush.h>
10 #include <asm/bootinfo.h>
12 #include <loongson.h>
14 static void wbflush_loongson(void)
16 asm(".set\tpush\n\t"
17 ".set\tnoreorder\n\t"
18 ".set mips3\n\t"
19 "sync\n\t"
20 "nop\n\t"
21 ".set\tpop\n\t"
22 ".set mips0\n\t");
25 void (*__wbflush)(void) = wbflush_loongson;
26 EXPORT_SYMBOL(__wbflush);
28 void __init plat_mem_setup(void)