1 // SPDX-License-Identifier: GPL-2.0 1 2 /* 3 * s390 arch random implementation. 4 * 5 * Copyright IBM Corp. 2017, 2020 6 * Author(s): Harald Freudenberger 7 */ 8 9 #include <linux/kernel.h> 10 #include <linux/atomic.h> 11 #include <linux/random.h> 12 #include <linux/static_key.h> 13 #include <asm/archrandom.h> 14 #include <asm/cpacf.h> 15 16 DEFINE_STATIC_KEY_FALSE(s390_arch_random_avail 17 18 atomic64_t s390_arch_random_counter = ATOMIC64 19 EXPORT_SYMBOL(s390_arch_random_counter); 20
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.