sh: Fix up various compile warnings for SE boards.
- setup-sh7750.c only defines the sh7751_ipr_map when building with SH7751 support. - 7722 Solution Engine was missing a mach-type entry, causing the macro in cf-enabler to be undefined. - arch/sh/mm/init.c needs linux/pagemap.h. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -106,6 +106,7 @@ static struct ipr_data sh7750_ipr_map[] = {
|
|||||||
{ 38, 2, 8, 7 }, /* DMAC DMAE */
|
{ 38, 2, 8, 7 }, /* DMAC DMAE */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef CONFIG_CPU_SUBTYPE_SH7751
|
||||||
static struct ipr_data sh7751_ipr_map[] = {
|
static struct ipr_data sh7751_ipr_map[] = {
|
||||||
{ 44, 2, 8, 7 }, /* DMAC DMTE4 */
|
{ 44, 2, 8, 7 }, /* DMAC DMTE4 */
|
||||||
{ 45, 2, 8, 7 }, /* DMAC DMTE5 */
|
{ 45, 2, 8, 7 }, /* DMAC DMTE5 */
|
||||||
@@ -117,6 +118,7 @@ static struct ipr_data sh7751_ipr_map[] = {
|
|||||||
/*{ 72, INTPRI00, 8, ? },*/ /* TMU3 TUNI */
|
/*{ 72, INTPRI00, 8, ? },*/ /* TMU3 TUNI */
|
||||||
/*{ 76, INTPRI00, 12, ? },*/ /* TMU4 TUNI */
|
/*{ 76, INTPRI00, 12, ? },*/ /* TMU4 TUNI */
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static unsigned long ipr_offsets[] = {
|
static unsigned long ipr_offsets[] = {
|
||||||
0xffd00004UL, /* 0: IPRA */
|
0xffd00004UL, /* 0: IPRA */
|
||||||
|
@@ -12,6 +12,7 @@
|
|||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/bootmem.h>
|
#include <linux/bootmem.h>
|
||||||
#include <linux/proc_fs.h>
|
#include <linux/proc_fs.h>
|
||||||
|
#include <linux/pagemap.h>
|
||||||
#include <linux/percpu.h>
|
#include <linux/percpu.h>
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
#include <asm/mmu_context.h>
|
#include <asm/mmu_context.h>
|
||||||
|
@@ -7,8 +7,11 @@
|
|||||||
#
|
#
|
||||||
SE SH_SOLUTION_ENGINE
|
SE SH_SOLUTION_ENGINE
|
||||||
7751SE SH_7751_SOLUTION_ENGINE
|
7751SE SH_7751_SOLUTION_ENGINE
|
||||||
|
7722SE SH_7722_SOLUTION_ENGINE
|
||||||
7300SE SH_7300_SOLUTION_ENGINE
|
7300SE SH_7300_SOLUTION_ENGINE
|
||||||
7343SE SH_7343_SOLUTION_ENGINE
|
7343SE SH_7343_SOLUTION_ENGINE
|
||||||
|
7206SE SH_7206_SOLUTION_ENGINE
|
||||||
|
7619SE SH_7619_SOLUTION_ENGINE
|
||||||
7780SE SH_7780_SOLUTION_ENGINE
|
7780SE SH_7780_SOLUTION_ENGINE
|
||||||
73180SE SH_73180_SOLUTION_ENGINE
|
73180SE SH_73180_SOLUTION_ENGINE
|
||||||
7751SYSTEMH SH_7751_SYSTEMH
|
7751SYSTEMH SH_7751_SYSTEMH
|
||||||
@@ -31,5 +34,3 @@ R7785RP SH_R7785RP
|
|||||||
TITAN SH_TITAN
|
TITAN SH_TITAN
|
||||||
SHMIN SH_SHMIN
|
SHMIN SH_SHMIN
|
||||||
7710VOIPGW SH_7710VOIPGW
|
7710VOIPGW SH_7710VOIPGW
|
||||||
7206SE SH_7206_SOLUTION_ENGINE
|
|
||||||
7619SE SH_7619_SOLUTION_ENGINE
|
|
||||||
|
Reference in New Issue
Block a user