Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/linux/firmware/intel/stratix10-smc.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Copyright (C) 2017-2018, Intel Corporation
*/

#pragma once

#ifndef __STRATIX10_SMC_H
#define __STRATIX10_SMC_H

Expand Down
8 changes: 5 additions & 3 deletions kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down