diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-generic/pgtable.h | 2 | ||||
| -rw-r--r-- | include/drm/drmP.h | 2 | ||||
| -rw-r--r-- | include/linux/dcbnl.h | 2 | ||||
| -rw-r--r-- | include/linux/freezer.h | 2 | ||||
| -rw-r--r-- | include/linux/fs.h | 4 | ||||
| -rw-r--r-- | include/linux/i2c/twl.h | 2 | ||||
| -rw-r--r-- | include/linux/list.h | 12 | ||||
| -rw-r--r-- | include/linux/module.h | 2 | ||||
| -rw-r--r-- | include/linux/mtd/onenand_regs.h | 1 | ||||
| -rw-r--r-- | include/linux/pm.h | 2 | ||||
| -rw-r--r-- | include/linux/pm_wakeup.h | 25 | ||||
| -rw-r--r-- | include/linux/rio_regs.h | 4 | ||||
| -rw-r--r-- | include/linux/rtc.h | 15 | ||||
| -rw-r--r-- | include/linux/sched.h | 2 | ||||
| -rw-r--r-- | include/linux/thermal.h | 8 | ||||
| -rw-r--r-- | include/linux/workqueue.h | 8 | ||||
| -rw-r--r-- | include/net/ipv6.h | 12 | ||||
| -rw-r--r-- | include/net/netfilter/nf_tproxy_core.h | 12 | ||||
| -rw-r--r-- | include/net/sch_generic.h | 2 | ||||
| -rw-r--r-- | include/pcmcia/ds.h | 1 | ||||
| -rw-r--r-- | include/sound/wm8903.h | 10 | ||||
| -rw-r--r-- | include/target/target_core_base.h | 28 | ||||
| -rw-r--r-- | include/target/target_core_transport.h | 2 | 
23 files changed, 108 insertions, 52 deletions
diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h index 31b6188df22..b4bfe338ea0 100644 --- a/include/asm-generic/pgtable.h +++ b/include/asm-generic/pgtable.h @@ -4,6 +4,8 @@  #ifndef __ASSEMBLY__  #ifdef CONFIG_MMU +#include <linux/mm_types.h> +  #ifndef __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS  extern int ptep_set_access_flags(struct vm_area_struct *vma,  				 unsigned long address, pte_t *ptep, diff --git a/include/drm/drmP.h b/include/drm/drmP.h index fe29aadb129..348843b8015 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -1101,7 +1101,7 @@ struct drm_device {  	struct platform_device *platformdev; /**< Platform device struture */  	struct drm_sg_mem *sg;	/**< Scatter gather memory */ -	int num_crtcs;                  /**< Number of CRTCs on this device */ +	unsigned int num_crtcs;                  /**< Number of CRTCs on this device */  	void *dev_private;		/**< device private data */  	void *mm_private;  	struct address_space *dev_mapping; diff --git a/include/linux/dcbnl.h b/include/linux/dcbnl.h index 68cd248f6d3..66900e3c6eb 100644 --- a/include/linux/dcbnl.h +++ b/include/linux/dcbnl.h @@ -101,8 +101,8 @@ struct ieee_pfc {   */  struct dcb_app {  	__u8	selector; -	__u32	protocol;  	__u8	priority; +	__u16	protocol;  };  struct dcbmsg { diff --git a/include/linux/freezer.h b/include/linux/freezer.h index da7e52b099f..1effc8b56b4 100644 --- a/include/linux/freezer.h +++ b/include/linux/freezer.h @@ -109,7 +109,7 @@ static inline void freezer_count(void)  }  /* - * Check if the task should be counted as freezeable by the freezer + * Check if the task should be counted as freezable by the freezer   */  static inline int freezer_should_skip(struct task_struct *p)  { diff --git a/include/linux/fs.h b/include/linux/fs.h index bd3215940c3..e38b50a4b9d 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -649,6 +649,7 @@ struct address_space {  	spinlock_t		private_lock;	/* for use by the address_space */  	struct list_head	private_list;	/* ditto */  	struct address_space	*assoc_mapping;	/* ditto */ +	struct mutex		unmap_mutex;    /* to protect unmapping */  } __attribute__((aligned(sizeof(long))));  	/*  	 * On most architectures that alignment is already the case; but @@ -2139,7 +2140,7 @@ extern void check_disk_size_change(struct gendisk *disk,  				   struct block_device *bdev);  extern int revalidate_disk(struct gendisk *);  extern int check_disk_change(struct block_device *); -extern int __invalidate_device(struct block_device *); +extern int __invalidate_device(struct block_device *, bool);  extern int invalidate_partition(struct gendisk *, int);  #endif  unsigned long invalidate_mapping_pages(struct address_space *mapping, @@ -2225,6 +2226,7 @@ extern loff_t vfs_llseek(struct file *file, loff_t offset, int origin);  extern int inode_init_always(struct super_block *, struct inode *);  extern void inode_init_once(struct inode *); +extern void address_space_init_once(struct address_space *mapping);  extern void ihold(struct inode * inode);  extern void iput(struct inode *);  extern struct inode * igrab(struct inode *); diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index 61b9609e55f..9d88b717111 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h @@ -637,7 +637,6 @@ extern void twl4030_power_init(struct twl4030_power_data *triton2_scripts);  extern int twl4030_remove_script(u8 flags);  struct twl4030_codec_audio_data { -	unsigned int audio_mclk; /* not used, will be removed */  	unsigned int digimic_delay; /* in ms */  	unsigned int ramp_delay_value;  	unsigned int offset_cncl_path; @@ -648,7 +647,6 @@ struct twl4030_codec_audio_data {  };  struct twl4030_codec_vibra_data { -	unsigned int	audio_mclk;  	unsigned int	coexist;  }; diff --git a/include/linux/list.h b/include/linux/list.h index 9a5f8a71810..3a54266a1e8 100644 --- a/include/linux/list.h +++ b/include/linux/list.h @@ -96,6 +96,11 @@ static inline void __list_del(struct list_head * prev, struct list_head * next)   * in an undefined state.   */  #ifndef CONFIG_DEBUG_LIST +static inline void __list_del_entry(struct list_head *entry) +{ +	__list_del(entry->prev, entry->next); +} +  static inline void list_del(struct list_head *entry)  {  	__list_del(entry->prev, entry->next); @@ -103,6 +108,7 @@ static inline void list_del(struct list_head *entry)  	entry->prev = LIST_POISON2;  }  #else +extern void __list_del_entry(struct list_head *entry);  extern void list_del(struct list_head *entry);  #endif @@ -135,7 +141,7 @@ static inline void list_replace_init(struct list_head *old,   */  static inline void list_del_init(struct list_head *entry)  { -	__list_del(entry->prev, entry->next); +	__list_del_entry(entry);  	INIT_LIST_HEAD(entry);  } @@ -146,7 +152,7 @@ static inline void list_del_init(struct list_head *entry)   */  static inline void list_move(struct list_head *list, struct list_head *head)  { -	__list_del(list->prev, list->next); +	__list_del_entry(list);  	list_add(list, head);  } @@ -158,7 +164,7 @@ static inline void list_move(struct list_head *list, struct list_head *head)  static inline void list_move_tail(struct list_head *list,  				  struct list_head *head)  { -	__list_del(list->prev, list->next); +	__list_del_entry(list);  	list_add_tail(list, head);  } diff --git a/include/linux/module.h b/include/linux/module.h index 9bdf27c7615..5de42043dff 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -62,7 +62,7 @@ struct module_version_attribute {  	struct module_attribute mattr;  	const char *module_name;  	const char *version; -}; +} __attribute__ ((__aligned__(sizeof(void *))));  struct module_kobject  { diff --git a/include/linux/mtd/onenand_regs.h b/include/linux/mtd/onenand_regs.h index cd6f3b43119..d60130f88ee 100644 --- a/include/linux/mtd/onenand_regs.h +++ b/include/linux/mtd/onenand_regs.h @@ -168,6 +168,7 @@  #define ONENAND_SYS_CFG1_INT		(1 << 6)  #define ONENAND_SYS_CFG1_IOBE		(1 << 5)  #define ONENAND_SYS_CFG1_RDY_CONF	(1 << 4) +#define ONENAND_SYS_CFG1_VHF		(1 << 3)  #define ONENAND_SYS_CFG1_HF		(1 << 2)  #define ONENAND_SYS_CFG1_SYNC_WRITE	(1 << 1) diff --git a/include/linux/pm.h b/include/linux/pm.h index dd9c7ab3827..21415cc91cb 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -431,6 +431,8 @@ struct dev_pm_info {  	struct list_head	entry;  	struct completion	completion;  	struct wakeup_source	*wakeup; +#else +	unsigned int		should_wakeup:1;  #endif  #ifdef CONFIG_PM_RUNTIME  	struct timer_list	suspend_timer; diff --git a/include/linux/pm_wakeup.h b/include/linux/pm_wakeup.h index 9cff00dd6b6..03a67db03d0 100644 --- a/include/linux/pm_wakeup.h +++ b/include/linux/pm_wakeup.h @@ -109,11 +109,6 @@ static inline bool device_can_wakeup(struct device *dev)  	return dev->power.can_wakeup;  } -static inline bool device_may_wakeup(struct device *dev) -{ -	return false; -} -  static inline struct wakeup_source *wakeup_source_create(const char *name)  {  	return NULL; @@ -134,24 +129,32 @@ static inline void wakeup_source_unregister(struct wakeup_source *ws) {}  static inline int device_wakeup_enable(struct device *dev)  { -	return -EINVAL; +	dev->power.should_wakeup = true; +	return 0;  }  static inline int device_wakeup_disable(struct device *dev)  { +	dev->power.should_wakeup = false;  	return 0;  } -static inline int device_init_wakeup(struct device *dev, bool val) +static inline int device_set_wakeup_enable(struct device *dev, bool enable)  { -	dev->power.can_wakeup = val; -	return val ? -EINVAL : 0; +	dev->power.should_wakeup = enable; +	return 0;  } +static inline int device_init_wakeup(struct device *dev, bool val) +{ +	device_set_wakeup_capable(dev, val); +	device_set_wakeup_enable(dev, val); +	return 0; +} -static inline int device_set_wakeup_enable(struct device *dev, bool enable) +static inline bool device_may_wakeup(struct device *dev)  { -	return -EINVAL; +	return dev->power.can_wakeup && dev->power.should_wakeup;  }  static inline void __pm_stay_awake(struct wakeup_source *ws) {} diff --git a/include/linux/rio_regs.h b/include/linux/rio_regs.h index d63dcbaea16..9026b30238f 100644 --- a/include/linux/rio_regs.h +++ b/include/linux/rio_regs.h @@ -14,10 +14,12 @@  #define LINUX_RIO_REGS_H  /* - * In RapidIO, each device has a 2MB configuration space that is + * In RapidIO, each device has a 16MB configuration space that is   * accessed via maintenance transactions.  Portions of configuration   * space are standardized and/or reserved.   */ +#define RIO_MAINT_SPACE_SZ	0x1000000 /* 16MB of RapidIO mainenance space */ +  #define RIO_DEV_ID_CAR		0x00	/* [I] Device Identity CAR */  #define RIO_DEV_INFO_CAR	0x04	/* [I] Device Information CAR */  #define RIO_ASM_ID_CAR		0x08	/* [I] Assembly Identity CAR */ diff --git a/include/linux/rtc.h b/include/linux/rtc.h index a0b639f8e80..89c3e518299 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h @@ -203,6 +203,18 @@ struct rtc_device  	struct hrtimer pie_timer; /* sub second exp, so needs hrtimer */  	int pie_enabled;  	struct work_struct irqwork; + + +#ifdef CONFIG_RTC_INTF_DEV_UIE_EMUL +	struct work_struct uie_task; +	struct timer_list uie_timer; +	/* Those fields are protected by rtc->irq_lock */ +	unsigned int oldsecs; +	unsigned int uie_irq_active:1; +	unsigned int stop_uie_polling:1; +	unsigned int uie_task_active:1; +	unsigned int uie_timer_active:1; +#endif  };  #define to_rtc_device(d) container_of(d, struct rtc_device, dev) @@ -235,7 +247,10 @@ extern int rtc_irq_set_freq(struct rtc_device *rtc,  				struct rtc_task *task, int freq);  extern int rtc_update_irq_enable(struct rtc_device *rtc, unsigned int enabled);  extern int rtc_alarm_irq_enable(struct rtc_device *rtc, unsigned int enabled); +extern int rtc_dev_update_irq_enable_emul(struct rtc_device *rtc, +						unsigned int enabled); +void rtc_handle_legacy_irq(struct rtc_device *rtc, int num, int mode);  void rtc_aie_update_irq(void *private);  void rtc_uie_update_irq(void *private);  enum hrtimer_restart rtc_pie_update_irq(struct hrtimer *timer); diff --git a/include/linux/sched.h b/include/linux/sched.h index d747f948b34..777d8a5ed06 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1744,7 +1744,7 @@ extern void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t *  #define PF_MCE_EARLY    0x08000000      /* Early kill for mce process policy */  #define PF_MEMPOLICY	0x10000000	/* Non-default NUMA mempolicy */  #define PF_MUTEX_TESTER	0x20000000	/* Thread belongs to the rt mutex tester */ -#define PF_FREEZER_SKIP	0x40000000	/* Freezer should not count it as freezeable */ +#define PF_FREEZER_SKIP	0x40000000	/* Freezer should not count it as freezable */  #define PF_FREEZER_NOSIG 0x80000000	/* Freezer won't send signals to it */  /* diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 8651556dbd5..d3ec89fb412 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -172,6 +172,14 @@ void thermal_zone_device_update(struct thermal_zone_device *);  struct thermal_cooling_device *thermal_cooling_device_register(char *, void *,  		const struct thermal_cooling_device_ops *);  void thermal_cooling_device_unregister(struct thermal_cooling_device *); + +#ifdef CONFIG_NET  extern int generate_netlink_event(u32 orig, enum events event); +#else +static inline int generate_netlink_event(u32 orig, enum events event) +{ +	return 0; +} +#endif  #endif /* __THERMAL_H__ */ diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 1ac11586a2f..f7998a3bf02 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -250,7 +250,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; }  enum {  	WQ_NON_REENTRANT	= 1 << 0, /* guarantee non-reentrance */  	WQ_UNBOUND		= 1 << 1, /* not bound to any cpu */ -	WQ_FREEZEABLE		= 1 << 2, /* freeze during suspend */ +	WQ_FREEZABLE		= 1 << 2, /* freeze during suspend */  	WQ_MEM_RECLAIM		= 1 << 3, /* may be used for memory reclaim */  	WQ_HIGHPRI		= 1 << 4, /* high priority */  	WQ_CPU_INTENSIVE	= 1 << 5, /* cpu instensive workqueue */ @@ -318,7 +318,7 @@ __alloc_workqueue_key(const char *name, unsigned int flags, int max_active,  /**   * alloc_ordered_workqueue - allocate an ordered workqueue   * @name: name of the workqueue - * @flags: WQ_* flags (only WQ_FREEZEABLE and WQ_MEM_RECLAIM are meaningful) + * @flags: WQ_* flags (only WQ_FREEZABLE and WQ_MEM_RECLAIM are meaningful)   *   * Allocate an ordered workqueue.  An ordered workqueue executes at   * most one work item at any given time in the queued order.  They are @@ -335,8 +335,8 @@ alloc_ordered_workqueue(const char *name, unsigned int flags)  #define create_workqueue(name)					\  	alloc_workqueue((name), WQ_MEM_RECLAIM, 1) -#define create_freezeable_workqueue(name)			\ -	alloc_workqueue((name), WQ_FREEZEABLE | WQ_UNBOUND | WQ_MEM_RECLAIM, 1) +#define create_freezable_workqueue(name)			\ +	alloc_workqueue((name), WQ_FREEZABLE | WQ_UNBOUND | WQ_MEM_RECLAIM, 1)  #define create_singlethread_workqueue(name)			\  	alloc_workqueue((name), WQ_UNBOUND | WQ_MEM_RECLAIM, 1) diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 4a3cd2cd2f5..96e50e0ce3c 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -89,6 +89,18 @@  #define IPV6_ADDR_SCOPE_GLOBAL		0x0e  /* + *	Addr flags + */ +#ifdef __KERNEL__ +#define IPV6_ADDR_MC_FLAG_TRANSIENT(a)	\ +	((a)->s6_addr[1] & 0x10) +#define IPV6_ADDR_MC_FLAG_PREFIX(a)	\ +	((a)->s6_addr[1] & 0x20) +#define IPV6_ADDR_MC_FLAG_RENDEZVOUS(a)	\ +	((a)->s6_addr[1] & 0x40) +#endif + +/*   *	fragmentation header   */ diff --git a/include/net/netfilter/nf_tproxy_core.h b/include/net/netfilter/nf_tproxy_core.h index cd85b3bc832..e505358d899 100644 --- a/include/net/netfilter/nf_tproxy_core.h +++ b/include/net/netfilter/nf_tproxy_core.h @@ -201,18 +201,8 @@ nf_tproxy_get_sock_v6(struct net *net, const u8 protocol,  }  #endif -static inline void -nf_tproxy_put_sock(struct sock *sk) -{ -	/* TIME_WAIT inet sockets have to be handled differently */ -	if ((sk->sk_protocol == IPPROTO_TCP) && (sk->sk_state == TCP_TIME_WAIT)) -		inet_twsk_put(inet_twsk(sk)); -	else -		sock_put(sk); -} -  /* assign a socket to the skb -- consumes sk */ -int +void  nf_tproxy_assign_sock(struct sk_buff *skb, struct sock *sk);  #endif diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index 160a407c196..04f8556313d 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h @@ -199,7 +199,7 @@ struct tcf_proto {  struct qdisc_skb_cb {  	unsigned int		pkt_len; -	char			data[]; +	long			data[];  };  static inline int qdisc_qlen(struct Qdisc *q) diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index 8479b66c067..3fd5064dd43 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h @@ -261,6 +261,7 @@ void pcmcia_disable_device(struct pcmcia_device *p_dev);  #define CONF_ENABLE_ESR         0x0008  #define CONF_ENABLE_IOCARD	0x0010 /* auto-enabled if IO resources or IRQ  					* (CONF_ENABLE_IRQ) in use */ +#define CONF_ENABLE_ZVCARD	0x0020  /* flags used by pcmcia_loop_config() autoconfiguration */  #define CONF_AUTO_CHECK_VCC	0x0100 /* check for matching Vcc? */ diff --git a/include/sound/wm8903.h b/include/sound/wm8903.h index b4a0db2307e..1eeebd534f7 100644 --- a/include/sound/wm8903.h +++ b/include/sound/wm8903.h @@ -17,13 +17,9 @@  /*   * R6 (0x06) - Mic Bias Control 0   */ -#define WM8903_MICDET_HYST_ENA                  0x0080  /* MICDET_HYST_ENA */ -#define WM8903_MICDET_HYST_ENA_MASK             0x0080  /* MICDET_HYST_ENA */ -#define WM8903_MICDET_HYST_ENA_SHIFT                 7  /* MICDET_HYST_ENA */ -#define WM8903_MICDET_HYST_ENA_WIDTH                 1  /* MICDET_HYST_ENA */ -#define WM8903_MICDET_THR_MASK                  0x0070  /* MICDET_THR - [6:4] */ -#define WM8903_MICDET_THR_SHIFT                      4  /* MICDET_THR - [6:4] */ -#define WM8903_MICDET_THR_WIDTH                      3  /* MICDET_THR - [6:4] */ +#define WM8903_MICDET_THR_MASK                  0x0030  /* MICDET_THR - [5:4] */ +#define WM8903_MICDET_THR_SHIFT                      4  /* MICDET_THR - [5:4] */ +#define WM8903_MICDET_THR_WIDTH                      2  /* MICDET_THR - [5:4] */  #define WM8903_MICSHORT_THR_MASK                0x000C  /* MICSHORT_THR - [3:2] */  #define WM8903_MICSHORT_THR_SHIFT                    2  /* MICSHORT_THR - [3:2] */  #define WM8903_MICSHORT_THR_WIDTH                    2  /* MICSHORT_THR - [3:2] */ diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 07fdfb6b9a9..0828b6c8610 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -8,7 +8,6 @@  #include <scsi/scsi_cmnd.h>  #include <net/sock.h>  #include <net/tcp.h> -#include "target_core_mib.h"  #define TARGET_CORE_MOD_VERSION		"v4.0.0-rc6"  #define SHUTDOWN_SIGS	(sigmask(SIGKILL)|sigmask(SIGINT)|sigmask(SIGABRT)) @@ -195,6 +194,21 @@ typedef enum {  	SAM_TASK_ATTR_EMULATED  } t10_task_attr_index_t; +/* + * Used for target SCSI statistics + */ +typedef enum { +	SCSI_INST_INDEX, +	SCSI_DEVICE_INDEX, +	SCSI_AUTH_INTR_INDEX, +	SCSI_INDEX_TYPE_MAX +} scsi_index_t; + +struct scsi_index_table { +	spinlock_t	lock; +	u32		scsi_mib_index[SCSI_INDEX_TYPE_MAX]; +} ____cacheline_aligned; +  struct se_cmd;  struct t10_alua { @@ -578,8 +592,6 @@ struct se_node_acl {  	spinlock_t		stats_lock;  	/* Used for PR SPEC_I_PT=1 and REGISTER_AND_MOVE */  	atomic_t		acl_pr_ref_count; -	/* Used for MIB access */ -	atomic_t		mib_ref_count;  	struct se_dev_entry	*device_list;  	struct se_session	*nacl_sess;  	struct se_portal_group *se_tpg; @@ -595,8 +607,6 @@ struct se_node_acl {  } ____cacheline_aligned;  struct se_session { -	/* Used for MIB access */ -	atomic_t		mib_ref_count;  	u64			sess_bin_isid;  	struct se_node_acl	*se_node_acl;  	struct se_portal_group *se_tpg; @@ -806,7 +816,6 @@ struct se_hba {  	/* Virtual iSCSI devices attached. */  	u32			dev_count;  	u32			hba_index; -	atomic_t		dev_mib_access_count;  	atomic_t		load_balance_queue;  	atomic_t		left_queue_depth;  	/* Maximum queue depth the HBA can handle. */ @@ -845,6 +854,12 @@ struct se_lun {  #define SE_LUN(c)		((struct se_lun *)(c)->se_lun) +struct scsi_port_stats { +       u64     cmd_pdus; +       u64     tx_data_octets; +       u64     rx_data_octets; +} ____cacheline_aligned; +  struct se_port {  	/* RELATIVE TARGET PORT IDENTIFER */  	u16		sep_rtpi; @@ -867,6 +882,7 @@ struct se_port {  } ____cacheline_aligned;  struct se_tpg_np { +	struct se_portal_group *tpg_np_parent;  	struct config_group	tpg_np_group;  } ____cacheline_aligned; diff --git a/include/target/target_core_transport.h b/include/target/target_core_transport.h index 66f44e56eb8..24694051157 100644 --- a/include/target/target_core_transport.h +++ b/include/target/target_core_transport.h @@ -111,6 +111,8 @@ struct se_subsystem_api;  extern int init_se_global(void);  extern void release_se_global(void); +extern void init_scsi_index_table(void); +extern u32 scsi_get_new_index(scsi_index_t);  extern void transport_init_queue_obj(struct se_queue_obj *);  extern int transport_subsystem_check_init(void);  extern int transport_subsystem_register(struct se_subsystem_api *);  |