diff options
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/drivers/net_kern.c | 4 | ||||
-rw-r--r-- | arch/um/include/asm/common.lds.S | 5 | ||||
-rw-r--r-- | arch/um/include/asm/pci.h | 1 | ||||
-rw-r--r-- | arch/um/kernel/dyn.lds.S | 2 | ||||
-rw-r--r-- | arch/um/kernel/uml.lds.S | 2 |
5 files changed, 6 insertions, 8 deletions
diff --git a/arch/um/drivers/net_kern.c b/arch/um/drivers/net_kern.c index 3b44b47c7e1d..f114813ae258 100644 --- a/arch/um/drivers/net_kern.c +++ b/arch/um/drivers/net_kern.c | |||
@@ -245,7 +245,7 @@ static int uml_net_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
245 | 245 | ||
246 | dev_kfree_skb(skb); | 246 | dev_kfree_skb(skb); |
247 | 247 | ||
248 | return 0; | 248 | return NETDEV_TX_OK; |
249 | } | 249 | } |
250 | 250 | ||
251 | static void uml_net_set_multicast_list(struct net_device *dev) | 251 | static void uml_net_set_multicast_list(struct net_device *dev) |
@@ -285,7 +285,7 @@ static void uml_net_get_drvinfo(struct net_device *dev, | |||
285 | strcpy(info->version, "42"); | 285 | strcpy(info->version, "42"); |
286 | } | 286 | } |
287 | 287 | ||
288 | static struct ethtool_ops uml_net_ethtool_ops = { | 288 | static const struct ethtool_ops uml_net_ethtool_ops = { |
289 | .get_drvinfo = uml_net_get_drvinfo, | 289 | .get_drvinfo = uml_net_get_drvinfo, |
290 | .get_link = ethtool_op_get_link, | 290 | .get_link = ethtool_op_get_link, |
291 | }; | 291 | }; |
diff --git a/arch/um/include/asm/common.lds.S b/arch/um/include/asm/common.lds.S index cb0248616d49..37ecc5577a9a 100644 --- a/arch/um/include/asm/common.lds.S +++ b/arch/um/include/asm/common.lds.S | |||
@@ -123,8 +123,3 @@ | |||
123 | __initramfs_end = .; | 123 | __initramfs_end = .; |
124 | } | 124 | } |
125 | 125 | ||
126 | /* Sections to be discarded */ | ||
127 | /DISCARD/ : { | ||
128 | *(.exitcall.exit) | ||
129 | } | ||
130 | |||
diff --git a/arch/um/include/asm/pci.h b/arch/um/include/asm/pci.h index 59923199cdc3..b44cf59ede1e 100644 --- a/arch/um/include/asm/pci.h +++ b/arch/um/include/asm/pci.h | |||
@@ -2,6 +2,5 @@ | |||
2 | #define __UM_PCI_H | 2 | #define __UM_PCI_H |
3 | 3 | ||
4 | #define PCI_DMA_BUS_IS_PHYS (1) | 4 | #define PCI_DMA_BUS_IS_PHYS (1) |
5 | #define pcibios_scan_all_fns(a, b) 0 | ||
6 | 5 | ||
7 | #endif | 6 | #endif |
diff --git a/arch/um/kernel/dyn.lds.S b/arch/um/kernel/dyn.lds.S index 9975e1ab44fb..715a188c0472 100644 --- a/arch/um/kernel/dyn.lds.S +++ b/arch/um/kernel/dyn.lds.S | |||
@@ -156,4 +156,6 @@ SECTIONS | |||
156 | STABS_DEBUG | 156 | STABS_DEBUG |
157 | 157 | ||
158 | DWARF_DEBUG | 158 | DWARF_DEBUG |
159 | |||
160 | DISCARDS | ||
159 | } | 161 | } |
diff --git a/arch/um/kernel/uml.lds.S b/arch/um/kernel/uml.lds.S index 11b835248b86..2ebd39765db8 100644 --- a/arch/um/kernel/uml.lds.S +++ b/arch/um/kernel/uml.lds.S | |||
@@ -100,4 +100,6 @@ SECTIONS | |||
100 | STABS_DEBUG | 100 | STABS_DEBUG |
101 | 101 | ||
102 | DWARF_DEBUG | 102 | DWARF_DEBUG |
103 | |||
104 | DISCARDS | ||
103 | } | 105 | } |