summaryrefslogtreecommitdiff
path: root/proc.h
blob: 0a31f36a1fca264575a906a523a8e2a5c644a16d (plain)
1
2
3
4
5
6
7
8
#ifndef PROC_H
#define PROC_H

extern void cpu_affinity(int cpu);
extern int set_proc_prio(int prio);
extern int set_sched_status(int policy, int priority);

#endif /* PROC_H */
'submit' value='reload'/>
authorArnd Bergmann <arnd@arndb.de>2016-06-17 18:15:30 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-17 22:27:38 -0700
commita9836cbb5fc885d3b8f3b91b2d47525f7269dec1 (patch)
tree3cf375267190e61fdd1cd6679c5ac74ec555386a
parentb47ac27a1dbebc559156f92a0807dc957bb12731 (diff)
net: tilegx: use correct timespec64 type
The conversion to the 64-bit time based ptp methods left two instances of 'struct timespec' in place. This is harmless because 64-bit architectures define timespec64 as timespec, and this driver is not used on 32-bit machines. However, using 'struct timespec64' directly is obviously the right thing to do, and will help us remove 'struct timespec' in the future. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: b9acf24f779c ("ptp: tilegx: convert to the 64 bit get/set time methods.") Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat