Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
bdca8cc0 NM |
2 | /* |
3 | * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. | |
4 | */ | |
5 | ||
6 | #include <asm/xor.h> | |
7 | #include <asm/checksum.h> | |
8 | #include <asm/trap_block.h> | |
9 | #include <asm/uaccess.h> | |
10 | #include <asm/atomic.h> | |
11 | #include <asm/ftrace.h> | |
12 | #include <asm/cacheflush.h> | |
13 | #include <asm/oplib.h> | |
14 | #include <linux/atomic.h> | |
15 | ||
16 | void *__memscan_zero(void *, size_t); | |
17 | void *__memscan_generic(void *, int, size_t); | |
18 | void *__bzero(void *, size_t); | |
19 | void VISenter(void); /* Dummy prototype to supress warning */ | |
20 | #undef memcpy | |
21 | #undef memset | |
22 | void *memcpy(void *dest, const void *src, size_t n); | |
23 | void *memset(void *s, int c, size_t n); | |
24 | typedef int TItype __attribute__((mode(TI))); | |
25 | TItype __multi3(TItype a, TItype b); |