mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-12 16:40:42 +09:00
Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android
This commit is contained in:
@@ -622,7 +622,7 @@ struct edac_raw_error_desc {
|
||||
*/
|
||||
struct mem_ctl_info {
|
||||
struct device dev;
|
||||
struct bus_type bus;
|
||||
struct bus_type *bus;
|
||||
|
||||
struct list_head link; /* for global list of mem_ctl_info structs */
|
||||
|
||||
@@ -742,4 +742,9 @@ struct mem_ctl_info {
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
* Maximum number of memory controllers in the coherent fabric.
|
||||
*/
|
||||
#define EDAC_MAX_MCS 16
|
||||
|
||||
#endif
|
||||
|
||||
@@ -79,9 +79,8 @@ static inline int is_vlan_dev(struct net_device *dev)
|
||||
}
|
||||
|
||||
#define vlan_tx_tag_present(__skb) ((__skb)->vlan_tci & VLAN_TAG_PRESENT)
|
||||
#define vlan_tx_nonzero_tag_present(__skb) \
|
||||
(vlan_tx_tag_present(__skb) && ((__skb)->vlan_tci & VLAN_VID_MASK))
|
||||
#define vlan_tx_tag_get(__skb) ((__skb)->vlan_tci & ~VLAN_TAG_PRESENT)
|
||||
#define vlan_tx_tag_get_id(__skb) ((__skb)->vlan_tci & VLAN_VID_MASK)
|
||||
|
||||
#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
|
||||
|
||||
|
||||
@@ -70,6 +70,10 @@ void virtqueue_disable_cb(struct virtqueue *vq);
|
||||
|
||||
bool virtqueue_enable_cb(struct virtqueue *vq);
|
||||
|
||||
unsigned virtqueue_enable_cb_prepare(struct virtqueue *vq);
|
||||
|
||||
bool virtqueue_poll(struct virtqueue *vq, unsigned);
|
||||
|
||||
bool virtqueue_enable_cb_delayed(struct virtqueue *vq);
|
||||
|
||||
void *virtqueue_detach_unused_buf(struct virtqueue *vq);
|
||||
|
||||
@@ -86,6 +86,9 @@ extern int ipv6_dev_get_saddr(struct net *net,
|
||||
const struct in6_addr *daddr,
|
||||
unsigned int srcprefs,
|
||||
struct in6_addr *saddr);
|
||||
extern int __ipv6_get_lladdr(struct inet6_dev *idev,
|
||||
struct in6_addr *addr,
|
||||
unsigned char banned_flags);
|
||||
extern int ipv6_get_lladdr(struct net_device *dev,
|
||||
struct in6_addr *addr,
|
||||
unsigned char banned_flags);
|
||||
|
||||
@@ -181,6 +181,7 @@ extern int udp_get_port(struct sock *sk, unsigned short snum,
|
||||
extern void udp_err(struct sk_buff *, u32);
|
||||
extern int udp_sendmsg(struct kiocb *iocb, struct sock *sk,
|
||||
struct msghdr *msg, size_t len);
|
||||
extern int udp_push_pending_frames(struct sock *sk);
|
||||
extern void udp_flush_pending_frames(struct sock *sk);
|
||||
extern int udp_rcv(struct sk_buff *skb);
|
||||
extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
|
||||
|
||||
@@ -139,11 +139,11 @@ struct pppoe_tag {
|
||||
|
||||
struct pppoe_hdr {
|
||||
#if defined(__LITTLE_ENDIAN_BITFIELD)
|
||||
__u8 ver : 4;
|
||||
__u8 type : 4;
|
||||
__u8 ver : 4;
|
||||
#elif defined(__BIG_ENDIAN_BITFIELD)
|
||||
__u8 type : 4;
|
||||
__u8 ver : 4;
|
||||
__u8 type : 4;
|
||||
#else
|
||||
#error "Please fix <asm/byteorder.h>"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user