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:
Ahsan Fayaz
2023-12-04 15:33:15 +00:00
parent 775c93001c
commit fad889db45
6 changed files with 32 additions and 37 deletions

View File

@@ -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)
{

View File

@@ -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);