Commit cdfef17d authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus

* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
  [MIPS] Fix CONFIG_BUILD_ELF64 kernels with symbols in CKSEG0.
  [MIPS] IP32: Fix initialization of UART base addresses.
parents e4a7b1d1 7d809ba3
...@@ -41,8 +41,8 @@ static struct platform_device uart8250_device = { ...@@ -41,8 +41,8 @@ static struct platform_device uart8250_device = {
static int __init uart8250_init(void) static int __init uart8250_init(void)
{ {
uart8250_data[0].iobase = (unsigned long) &mace->isa.serial1; uart8250_data[0].membase = (void __iomem *) &mace->isa.serial1;
uart8250_data[1].iobase = (unsigned long) &mace->isa.serial1; uart8250_data[1].membase = (void __iomem *) &mace->isa.serial1;
return platform_device_register(&uart8250_device); return platform_device_register(&uart8250_device);
} }
......
...@@ -142,7 +142,7 @@ typedef struct { unsigned long pgprot; } pgprot_t; ...@@ -142,7 +142,7 @@ typedef struct { unsigned long pgprot; } pgprot_t;
/* /*
* __pa()/__va() should be used only during mem init. * __pa()/__va() should be used only during mem init.
*/ */
#if defined(CONFIG_64BIT) && !defined(CONFIG_BUILD_ELF64) #ifdef CONFIG_64BIT
#define __pa(x) \ #define __pa(x) \
({ \ ({ \
unsigned long __x = (unsigned long)(x); \ unsigned long __x = (unsigned long)(x); \
......
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