mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
63dc02bde6
Everything is using sparseirq these days, so we have no need to arbitrarily size nr_irqs ahead of time. The legacy IRQ pre-allocation likewise has no meaning for us, so that's killed off too. We now depend on nr_irqs expansion by the generic hardirq layer instead. It's also worth noting that the majority of boards had completely bogus values for their nr_irqs relative to their CPU and configurations, so this ends up correcting behaviour for quite a few platforms. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
27 lines
453 B
C
27 lines
453 B
C
/*
|
|
* arch/sh/boards/se/7619/setup.c
|
|
*
|
|
* Copyright (C) 2006 Yoshinori Sato
|
|
*
|
|
* Hitachi SH7619 SolutionEngine Support.
|
|
*/
|
|
|
|
#include <linux/init.h>
|
|
#include <linux/platform_device.h>
|
|
#include <asm/io.h>
|
|
#include <asm/machvec.h>
|
|
|
|
static int se7619_mode_pins(void)
|
|
{
|
|
return MODE_PIN2 | MODE_PIN0;
|
|
}
|
|
|
|
/*
|
|
* The Machine Vector
|
|
*/
|
|
|
|
static struct sh_machine_vector mv_se __initmv = {
|
|
.mv_name = "SolutionEngine",
|
|
.mv_mode_pins = se7619_mode_pins,
|
|
};
|