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.10-rc5 23 lines 452 B view raw
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2019 IBM Corporation 4 * Author: Nayna Jain 5 * 6 * This file initializes secvar operations for PowerPC Secureboot 7 */ 8 9#include <linux/cache.h> 10#include <asm/secvar.h> 11#include <asm/bug.h> 12 13const struct secvar_operations *secvar_ops __ro_after_init = NULL; 14 15int set_secvar_ops(const struct secvar_operations *ops) 16{ 17 if (WARN_ON_ONCE(secvar_ops)) 18 return -EBUSY; 19 20 secvar_ops = ops; 21 22 return 0; 23}