aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/atmdev.h
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
commitc71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch)
treeecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /include/linux/atmdev.h
parentea53c912f8a86a8567697115b6a0d8152beee5c8 (diff)
parent6a00f206debf8a5c8899055726ad127dbeeed098 (diff)
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts: litmus/sched_cedf.c
Diffstat (limited to 'include/linux/atmdev.h')
-rw-r--r--include/linux/atmdev.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/atmdev.h b/include/linux/atmdev.h
index f6481daf6e52..381f4cec8260 100644
--- a/include/linux/atmdev.h
+++ b/include/linux/atmdev.h
@@ -427,8 +427,10 @@ extern rwlock_t vcc_sklist_lock;
427 427
428#define ATM_SKB(skb) (((struct atm_skb_data *) (skb)->cb)) 428#define ATM_SKB(skb) (((struct atm_skb_data *) (skb)->cb))
429 429
430struct atm_dev *atm_dev_register(const char *type,const struct atmdev_ops *ops, 430struct atm_dev *atm_dev_register(const char *type, struct device *parent,
431 int number,unsigned long *flags); /* number == -1: pick first available */ 431 const struct atmdev_ops *ops,
432 int number, /* -1 == pick first available */
433 unsigned long *flags);
432struct atm_dev *atm_dev_lookup(int number); 434struct atm_dev *atm_dev_lookup(int number);
433void atm_dev_deregister(struct atm_dev *dev); 435void atm_dev_deregister(struct atm_dev *dev);
434 436
@@ -441,6 +443,7 @@ void atm_dev_signal_change(struct atm_dev *dev, char signal);
441 443
442void vcc_insert_socket(struct sock *sk); 444void vcc_insert_socket(struct sock *sk);
443 445
446void atm_dev_release_vccs(struct atm_dev *dev);
444 447
445/* 448/*
446 * This is approximately the algorithm used by alloc_skb. 449 * This is approximately the algorithm used by alloc_skb.
@@ -449,7 +452,7 @@ void vcc_insert_socket(struct sock *sk);
449 452
450static inline int atm_guess_pdu2truesize(int size) 453static inline int atm_guess_pdu2truesize(int size)
451{ 454{
452 return (SKB_DATA_ALIGN(size) + sizeof(struct skb_shared_info)); 455 return SKB_DATA_ALIGN(size) + sizeof(struct skb_shared_info);
453} 456}
454 457
455 458