This commit is contained in:
CppHacker-dev 2024-10-31 01:29:13 +02:00 committed by GitHub
commit 98c1888ea6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View file

@ -3,6 +3,8 @@
* Copyright (C) 2017-2018, Intel Corporation
*/
#pragma once
#ifndef __STRATIX10_SMC_H
#define __STRATIX10_SMC_H

View file

@ -79,10 +79,12 @@
#include "exit.h"
/*
* The default value should be high enough to not crash a system that randomly
* crashes its kernel from time to time, but low enough to at least not permit
* overflowing 32-bit refcounts or the ldsem writer count.
* The default value should be set high enough to prevent system crashes
* caused by occasional kernel faults, but still low enough to avoid issues
* like overflowing 32-bit reference counters or exceeding the writer count
* for ldsem.
*/
static unsigned int oops_limit = 10000;
#ifdef CONFIG_SYSCTL