Commit a852ca3d authored by David S. Miller's avatar David S. Miller

Merge

parents e92f75e7 1ffdb4f5
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
*/ */
#include <linux/config.h> #include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/sched.h> #include <linux/sched.h>
...@@ -799,6 +800,7 @@ int pci_domain_nr(struct pci_bus *pbus) ...@@ -799,6 +800,7 @@ int pci_domain_nr(struct pci_bus *pbus)
return ret; return ret;
} }
EXPORT_SYMBOL(pci_domain_nr);
int pci_name_bus(char *name, struct pci_bus *bus) int pci_name_bus(char *name, struct pci_bus *bus)
{ {
......
...@@ -175,7 +175,7 @@ static unsigned long compute_effective_address(struct pt_regs *regs, ...@@ -175,7 +175,7 @@ static unsigned long compute_effective_address(struct pt_regs *regs,
} }
/* This is just to make gcc think die_if_kernel does return... */ /* This is just to make gcc think die_if_kernel does return... */
static void unaligned_panic(char *str, struct pt_regs *regs) static void __attribute_used__ unaligned_panic(char *str, struct pt_regs *regs)
{ {
die_if_kernel(str, regs); die_if_kernel(str, regs);
} }
......
...@@ -267,6 +267,7 @@ parse_elf(struct elf_info *info, const char *filename) ...@@ -267,6 +267,7 @@ parse_elf(struct elf_info *info, const char *filename)
hdr->e_shoff = TO_NATIVE(hdr->e_shoff); hdr->e_shoff = TO_NATIVE(hdr->e_shoff);
hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx); hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx);
hdr->e_shnum = TO_NATIVE(hdr->e_shnum); hdr->e_shnum = TO_NATIVE(hdr->e_shnum);
hdr->e_machine = TO_NATIVE(hdr->e_machine);
sechdrs = (void *)hdr + hdr->e_shoff; sechdrs = (void *)hdr + hdr->e_shoff;
info->sechdrs = sechdrs; info->sechdrs = sechdrs;
......
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