summaryrefslogtreecommitdiff
path: root/cpusched.h
blob: 3af82810c07ab593f581c6576b5c987794a293da (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef CPUSCHED_H
#define CPUSCHED_H

extern void init_cpusched(unsigned int cpus);
extern unsigned int socket_to_cpu(int fd);
extern unsigned int register_socket(int fd);
extern void unregister_socket(int fd);
extern void destroy_cpusched(void);

#endif /* CPUSCHED_H */
d> committerDavid S. Miller <davem@davemloft.net>2012-08-20 02:26:30 -0700 commitfc0739385ba10f59105e87a46cc93d9d9a10553c (patch) tree7ae1ac9f233ed40183e6f5f06b5488b076106389 parent4225a398c1352a7a5c14dc07277cb5cc4473983b (diff)
tipc: remove pointless name sanity check and tipc_alphabet array
There is no real reason to check whether all letters in the given media name and network interface name are within the character set defined in tipc_alphabet array. Even if we eliminate the checking, the rest of checking conditions in tipc_enable_bearer() can ensure we do not enable an invalid or illegal bearer. Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat