Commit 53822940 authored by Richard Henderson's avatar Richard Henderson

Misc alpha compilation fixes.

parent 115aaea2
...@@ -304,7 +304,7 @@ pcibios_update_resource(struct pci_dev *dev, struct resource *root, ...@@ -304,7 +304,7 @@ pcibios_update_resource(struct pci_dev *dev, struct resource *root,
== (PCI_BASE_ADDRESS_SPACE_MEMORY == (PCI_BASE_ADDRESS_SPACE_MEMORY
| PCI_BASE_ADDRESS_MEM_TYPE_64)) { | PCI_BASE_ADDRESS_MEM_TYPE_64)) {
pci_write_config_dword(dev, where+4, 0); pci_write_config_dword(dev, where+4, 0);
printk(KERN_WARNING "PCI: dev %s type 64-bit\n", dev->name); printk(KERN_WARNING "PCI: dev %s type 64-bit\n", dev->dev.name);
} }
/* ??? FIXME -- record old value for shutdown. */ /* ??? FIXME -- record old value for shutdown. */
......
...@@ -162,8 +162,8 @@ srm_env_write(struct file *file, const char *buffer, unsigned long count, ...@@ -162,8 +162,8 @@ srm_env_write(struct file *file, const char *buffer, unsigned long count,
res = (int) ret1; res = (int) ret1;
} }
out:
free_page((unsigned long)buf); free_page((unsigned long)buf);
return res; return res;
} }
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
#include <linux/config.h> #include <linux/config.h>
#include <linux/threads.h> #include <linux/threads.h>
#include <linux/cache.h>
/* entry.S is sensitive to the offsets of these fields */ /* entry.S is sensitive to the offsets of these fields */
typedef struct { typedef struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment