mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC32]: Fix sparc32 modpost warnings. [SPARC32]: Fix sparc32 modpost warnings with sunzilog [SPARC32]: Mark srmmu_nocache_init as __init. [SPARC32]: pcic.c needs asm/irq_regs.h
This commit is contained in:
commit
83d3d3c524
6 changed files with 7 additions and 26 deletions
|
|
@ -34,6 +34,7 @@
|
|||
#include <asm/pcic.h>
|
||||
#include <asm/timer.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/irq_regs.h>
|
||||
|
||||
|
||||
unsigned int pcic_pin_to_irq(unsigned int pin, char *name);
|
||||
|
|
|
|||
|
|
@ -121,16 +121,6 @@ static struct console prom_debug_console = {
|
|||
.index = -1,
|
||||
};
|
||||
|
||||
int obp_system_intr(void)
|
||||
{
|
||||
if (boot_flags & BOOTME_DEBUG) {
|
||||
printk("OBP: system interrupted\n");
|
||||
prom_halt();
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Process kernel command line switches that are specific to the
|
||||
* SPARC or that require special low-level processing.
|
||||
|
|
|
|||
|
|
@ -36,11 +36,11 @@ SECTIONS
|
|||
|
||||
. = ALIGN(4096);
|
||||
__init_begin = .;
|
||||
_sinittext = .;
|
||||
.init.text : {
|
||||
_sinittext = .;
|
||||
*(.init.text)
|
||||
_einittext = .;
|
||||
}
|
||||
_einittext = .;
|
||||
__init_text_end = .;
|
||||
.init.data : { *(.init.data) }
|
||||
. = ALIGN(16);
|
||||
|
|
|
|||
|
|
@ -402,7 +402,7 @@ void srmmu_nocache_calcsize(void)
|
|||
srmmu_nocache_end = SRMMU_NOCACHE_VADDR + srmmu_nocache_size;
|
||||
}
|
||||
|
||||
void srmmu_nocache_init(void)
|
||||
void __init srmmu_nocache_init(void)
|
||||
{
|
||||
unsigned int bitmap_bits;
|
||||
pgd_t *pgd;
|
||||
|
|
|
|||
|
|
@ -91,16 +91,6 @@ void kernel_enter_debugger(void)
|
|||
{
|
||||
}
|
||||
|
||||
int obp_system_intr(void)
|
||||
{
|
||||
if (boot_flags & BOOTME_DEBUG) {
|
||||
printk("OBP: system interrupted\n");
|
||||
prom_halt();
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Process kernel command line switches that are specific to the
|
||||
* SPARC or that require special low-level processing.
|
||||
|
|
|
|||
Loading…
Reference in a new issue