Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.19 20 lines 489 B view raw
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * s390 arch random implementation. 4 * 5 * Copyright IBM Corp. 2017, 2020 6 * Author(s): Harald Freudenberger 7 */ 8 9#include <linux/export.h> 10#include <linux/kernel.h> 11#include <linux/atomic.h> 12#include <linux/random.h> 13#include <linux/static_key.h> 14#include <asm/archrandom.h> 15#include <asm/cpacf.h> 16 17DEFINE_STATIC_KEY_FALSE(s390_arch_random_available); 18 19atomic64_t s390_arch_random_counter = ATOMIC64_INIT(0); 20EXPORT_SYMBOL(s390_arch_random_counter);