mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-06 05:08:29 +02:00
Apply clang-format to CPU pinning and parking code
The original PR #416 failed the format check, but this wasn't apparent until after merging.
This commit is contained in:
@@ -29,10 +29,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sched.h>
|
||||
#include "common-cpu.h"
|
||||
#include "common-logging.h"
|
||||
#include <sched.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
char *parse_cpulist(char *cpulist, long *from, long *to)
|
||||
{
|
||||
|
@@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#pragma once
|
||||
|
||||
#define IS_CPU_PARK 0
|
||||
#define IS_CPU_PIN 1
|
||||
#define IS_CPU_PIN 1
|
||||
|
||||
/* Storage for CPU info*/
|
||||
struct GameModeCPUInfo {
|
||||
@@ -44,4 +44,3 @@ struct GameModeCPUInfo {
|
||||
|
||||
/* parses a list of cpu cores in the format "a,b-c,d-e,f" */
|
||||
char *parse_cpulist(char *cpulist, long *from, long *to);
|
||||
|
||||
|
Reference in New Issue
Block a user