summaryrefslogtreecommitdiff
path: root/proc.h
blob: 4c34a6412a810e90a4629ec67084e982d2a6ebf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef PROC_H
#define PROC_H

#include <stdbool.h>

extern void cpu_affinity(int cpu);
extern int set_proc_prio(int prio);
extern int set_sched_status(int policy, int priority);
extern ssize_t proc_get_cmdline(unsigned int pid, char *cmdline, size_t len);
extern int proc_exec(const char *proc, char *const argv[]);
extern int proc_find_by_inode(ino_t ino, char *cmdline, size_t len, pid_t *pid);
extern bool proc_exists(pid_t pid);

#endif /* PROC_H */
th>Tobias Klauser <tklauser@distanz.ch>2016-12-16 17:30:27 +0100 commit93d8be41c619ea6d4b29a1cefd15b60d2d82e764 (patch) tree6d2620b46332c6f706d73bbe525d9400eb2c91d0 parent73e2e0c9b13c97df1c8565f6e158caac3c481b44 (diff)
ethernet: sfc: Add Kconfig entry for vendor Solarflare
Since commit 5a6681e22c14 ("sfc: separate out SFC4000 ("Falcon") support into new sfc-falcon driver") there are two drivers for Solarflare devices, but both still show up directly beneath "Ethernet driver support" in the Kconfig. Follow the pattern of other vendors and group the individual drivers beneath an own vendor Kconfig entry for Solarflare. Cc: Edward Cree <ecree@solarflare.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat