mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
b738c106f7
Add some other common headers for basic LoongArch support. Reviewed-by: WANG Xuerui <git@xen0n.name> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
19 lines
371 B
C
19 lines
371 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited
|
|
*/
|
|
#ifndef _ASM_TYPES_H
|
|
#define _ASM_TYPES_H
|
|
|
|
#include <asm-generic/int-ll64.h>
|
|
#include <uapi/asm/types.h>
|
|
|
|
#ifdef __ASSEMBLY__
|
|
#define _ULCAST_
|
|
#define _U64CAST_
|
|
#else
|
|
#define _ULCAST_ (unsigned long)
|
|
#define _U64CAST_ (u64)
|
|
#endif
|
|
|
|
#endif /* _ASM_TYPES_H */
|