Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync up with Linus #32

Merged
merged 83 commits into from
Feb 9, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
b0c34f6
MIPS: Do not fiddle with FRE unless FRE is actually available.
ralfbaechle Dec 17, 2014
d33e6fe
MIPS: FRE: Use set/clear_c0_config5 instead of open coded sequences.
ralfbaechle Dec 17, 2014
b8e7d19
MIPS: Update malta_defconfig to something that works out of the box.
ralfbaechle Dec 17, 2014
389cdc5
MIPS: Wire up execveat(2).
ralfbaechle Dec 17, 2014
942e22d
MIPS: JZ4740: Fixup #include's (sparse)
computersforpeace Dec 18, 2014
78aaf95
MIPS: Compat: Fix build error if CONFIG_MIPS32_COMPAT but no compat ABI.
ralfbaechle Dec 19, 2014
c22eacf
MIPS: Kconfig: Fix recursive dependency.
ralfbaechle Jan 3, 2015
5008392
MIPS: mips-cm: Fix sparse warnings
Jan 5, 2015
fd75a33
MIPS: ELF: fix loading o32 binaries on 64-bit kernels
jcowgill Jan 14, 2015
e967ef0
MIPS: Fix restart of indirect syscalls
Jan 13, 2015
c3f134f
MIPS: smp-mt,smp-cmp: Enable all HW IRQs on secondary CPUs
Jan 16, 2015
a3e6c1e
MIPS: IRQ: Fix disable_irq on CPU IRQs
Jan 15, 2015
9300071
MIPS: ARC: Fix build error.
ralfbaechle Jan 19, 2015
4bee968
smpboot: Add missing get_online_cpus() in smpboot_register_percpu_thr…
Jul 31, 2014
47e0394
ASoC: Add support for allocating AC'97 device before registering it
larsclausen Jan 23, 2015
f8d71be
ASoC: wm97xx: Reset AC'97 device before registering it
larsclausen Jan 23, 2015
3463667
ASoC: rt5640: Add RT5642 ACPI ID for Intel Baytrail
jhnikula Jan 23, 2015
a43bd7e
ASoC: atmel_ssc_dai: fix start event for I2S mode
Jan 20, 2015
8a6cf30
ASoC: wm8731: init mutex in i2c init path
mlauss2 Jan 19, 2015
09a34aa
ASoC: Intel: Used lock version to update shim registers
keyonjie Jan 20, 2015
da63865
x86, microcode: Return error from driver init code when loader is dis…
Jan 28, 2015
8190747
sched/fair: Avoid using uninitialized variable in preferred_group_nid()
jbeulich Jan 23, 2015
bb2bc55
sched: Fix crash if cpuset_cpumask_can_shrink() is passed an empty cp…
umgwanakikbuti Jan 28, 2015
4161b45
ALSA: ak411x: Fix stall in work callback
tiwai Jan 13, 2015
6d84d1d
Merge tag 'microcode_fix_for_3.19' of git://git.kernel.org/pub/scm/li…
Jan 29, 2015
63a87fe
MIPS: OCTEON: fix kernel crash when offlining a CPU
aakoskin Jan 15, 2015
c7754e7
MIPS: Fix kernel lockup or crash after CPU offline/online
trhd Jan 15, 2015
7728b35
tools/liblockdep: ignore generated .so file
baruchsiach Jan 25, 2015
8baeccd
tools/liblockdep: don't include host headers
baruchsiach Jan 25, 2015
0b65ba9
ASoC: tlv320aic3x: Fix data delay configuration
Jan 30, 2015
9ee802e
ASoC: sgtl5000: Use shift mask when setting codec mode
fbrozovic Jan 30, 2015
20cf260
ASoC: atmel_ssc_dai: fix the setting for DSP mode
Jan 30, 2015
5e32033
MIPS: mipsregs.h: Add write_32bit_cp1_register()
Jan 30, 2015
d76e9b9
MIPS: traps: Fix inline asm ctc1 missing .set hardfloat
Jan 30, 2015
9ead863
MIPS: Fix C0_Pagegrain[IEC] support.
daviddaney Jan 6, 2015
39148e9
MIPS: fork: Fix MSA/FPU/DSP context duplication race
Jan 19, 2015
97fa99a
MAINTAINERS: ASoC: add maintainer for Intel BDW/HSW ASoC driver
keyonjie Feb 2, 2015
3e87523
sched/wait: Remove might_sleep() from wait_event_cmd()
Feb 2, 2015
58cc9c9
ASoC: sgtl5000: add delay before first I2C access
Jan 30, 2015
9c9ce76
aio: annotate aio_read_event_ring for sleep patterns
Feb 4, 2015
135818b
Merge branch 'liblockdep-fixes-3.19' of git://git.kernel.org/pub/scm/…
Feb 4, 2015
40767b0
sched/deadline: Fix deadline parameter modification handling
Jan 28, 2015
06a40ed
MIPS: elf2ecoff: Rewrite main processing loop to switch.
ralfbaechle Feb 2, 2015
26f7c4b
MIPS: elf2ecoff: Ignore PT_MIPS_ABIFLAGS program headers.
ralfbaechle Feb 4, 2015
c2d9f17
MIPS: Fix syscall_get_nr for the syscall exit tracing.
larperaxis Feb 3, 2015
3da5ab5
Btrfs: add missing blk_finish_plug in btrfs_sync_log()
forrest1209 Jan 30, 2015
2d926c1
hrtimer: Fix incorrect tai offset calculation for non high-res timer …
johnstultz-work Feb 5, 2015
1b6af71
IRQCHIP: mips-gic: Avoid rerouting timer IRQs for smp-cmp
Jan 19, 2015
8c61779
Merge remote-tracking branch 'asoc/fix/atmel' into asoc-linus
broonie Feb 5, 2015
57e6ef3
Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
broonie Feb 5, 2015
542af23
Merge remote-tracking branch 'asoc/fix/rt5640' into asoc-linus
broonie Feb 5, 2015
4b871df
Merge remote-tracking branch 'asoc/fix/sgtl5000' into asoc-linus
broonie Feb 5, 2015
125e7f1
Merge remote-tracking branch 'asoc/fix/tlv320aic3x' into asoc-linus
broonie Feb 5, 2015
b2dde2f
Merge remote-tracking branch 'asoc/fix/wm8731' into asoc-linus
broonie Feb 5, 2015
fddcd30
ARM: dts: Fix I2S1, I2S2 compatible for exynos4 SoCs
Feb 3, 2015
c503ca5
Merge remote-tracking branch 'asoc/fix/samsung' into asoc-linus
broonie Feb 5, 2015
5c2b063
ASoC: Intel: fix sst firmware path for cht-bsw-rt5672
strassek Feb 5, 2015
08c191d
Merge tag 'asoc-fix-v3.19-rc7' of git://git.kernel.org/pub/scm/linux/…
tiwai Feb 5, 2015
deb0873
Merge tag 'asoc-fix-intel-v3.19-rc7' of git://git.kernel.org/pub/scm/…
tiwai Feb 5, 2015
d2255c0
Merge tag 'asoc-fix-ac97-v3.19-rc7' of git://git.kernel.org/pub/scm/l…
tiwai Feb 5, 2015
23aaed6
mm: pagewalk: call pte_hole() for VM_PFNMAP during walk_page_range
Feb 5, 2015
21d543f
.mailmap: update Konstantin Khlebnikov's email address
kimphill Feb 5, 2015
944b687
mm: export "high_memory" symbol on !MMU
arndb Feb 5, 2015
f5e03a4
memcg, shmem: fix shmem migration to use lrucare
Feb 5, 2015
81cca6f
MAINTAINERS: remove SUPERH website
sudipm-mukherjee Feb 5, 2015
7ef3ff2
nilfs2: fix deadlock of segment constructor over I_SYNC flag
konis Feb 5, 2015
7b02190
mm/debug_pagealloc: fix build failure on ppc and some other archs
JoonsooKim Feb 5, 2015
43c6116
Revert "IB/core: Add support for extended query device caps"
ydroneaud Feb 5, 2015
dbf3b7d
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upst…
torvalds Feb 6, 2015
48beb12
Merge branch 'akpm' (patches from Andrew Morton)
torvalds Feb 6, 2015
2af613d
Merge tag 'sound-3.19' of git://git.kernel.org/pub/scm/linux/kernel/g…
torvalds Feb 6, 2015
29f12c4
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/…
torvalds Feb 6, 2015
396e909
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm…
torvalds Feb 6, 2015
26cdd1f
Merge branches 'timers-urgent-for-linus' and 'x86-urgent-for-linus' o…
torvalds Feb 6, 2015
bdfeb5a
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Feb 7, 2015
0b1ce1a
Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Feb 7, 2015
a05d59a
tracing: Add condition check to RCU lockdep checks
rostedt Feb 6, 2015
6c8465a
x86/tlb/trace: Do not trace on CPU that is offline
rostedt Feb 6, 2015
a3248d6
nios2: fix unhandled signals
Feb 9, 2015
4e02370
Merge tag 'trace-fixes-v3.19-rc7' of git://git.kernel.org/pub/scm/lin…
torvalds Feb 9, 2015
cdecbb3
Merge git://git.kvack.org/~bcrl/aio-fixes
torvalds Feb 9, 2015
da2d96d
Merge tag 'nios2-fixes-v3.19-final' of git://git.rocketboards.org/lin…
torvalds Feb 9, 2015
bfa76d4
Linux 3.19
torvalds Feb 9, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ Juha Yrjola <juha.yrjola@nokia.com>
Juha Yrjola <juha.yrjola@solidboot.com>
Kay Sievers <kay.sievers@vrfy.org>
Kenneth W Chen <kenneth.w.chen@intel.com>
Konstantin Khlebnikov <koct9i@gmail.com> <k.khlebnikov@samsung.com>
Koushik <raghavendra.koushik@neterion.com>
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Leonid I Ananiev <leonid.i.ananiev@intel.com>
Expand Down
11 changes: 10 additions & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -4953,6 +4953,16 @@ F: Documentation/input/multi-touch-protocol.txt
F: drivers/input/input-mt.c
K: \b(ABS|SYN)_MT_

INTEL ASoC BDW/HSW DRIVERS
M: Jie Yang <yang.jie@linux.intel.com>
L: alsa-devel@alsa-project.org
S: Supported
F: sound/soc/intel/sst-haswell*
F: sound/soc/intel/sst-dsp*
F: sound/soc/intel/sst-firmware.c
F: sound/soc/intel/broadwell.c
F: sound/soc/intel/haswell.c

INTEL C600 SERIES SAS CONTROLLER DRIVER
M: Intel SCU Linux support <intel-linux-scu@intel.com>
M: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Expand Down Expand Up @@ -9241,7 +9251,6 @@ F: drivers/net/ethernet/dlink/sundance.c

SUPERH
L: linux-sh@vger.kernel.org
W: http://www.linux-sh.org
Q: http://patchwork.kernel.org/project/linux-sh/list/
S: Orphan
F: Documentation/sh/
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION = 3
PATCHLEVEL = 19
SUBLEVEL = 0
EXTRAVERSION = -rc7
EXTRAVERSION =
NAME = Diseased Newt

# *DOCUMENTATION*
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/exynos4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@
};

i2s1: i2s@13960000 {
compatible = "samsung,s5pv210-i2s";
compatible = "samsung,s3c6410-i2s";
reg = <0x13960000 0x100>;
clocks = <&clock CLK_I2S1>;
clock-names = "iis";
Expand All @@ -378,7 +378,7 @@
};

i2s2: i2s@13970000 {
compatible = "samsung,s5pv210-i2s";
compatible = "samsung,s3c6410-i2s";
reg = <0x13970000 0x100>;
clocks = <&clock CLK_I2S2>;
clock-names = "iis";
Expand Down
23 changes: 10 additions & 13 deletions arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2656,27 +2656,21 @@ config TRAD_SIGNALS
bool

config MIPS32_COMPAT
bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
depends on 64BIT
help
Select this option if you want Linux/MIPS 32-bit binary
compatibility. Since all software available for Linux/MIPS is
currently 32-bit you should say Y here.
bool

config COMPAT
bool
depends on MIPS32_COMPAT
select ARCH_WANT_OLD_COMPAT_IPC
default y

config SYSVIPC_COMPAT
bool
depends on COMPAT && SYSVIPC
default y

config MIPS32_O32
bool "Kernel support for o32 binaries"
depends on MIPS32_COMPAT
depends on 64BIT
select ARCH_WANT_OLD_COMPAT_IPC
select COMPAT
select MIPS32_COMPAT
select SYSVIPC_COMPAT if SYSVIPC
help
Select this option if you want to run o32 binaries. These are pure
32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
Expand All @@ -2686,7 +2680,10 @@ config MIPS32_O32

config MIPS32_N32
bool "Kernel support for n32 binaries"
depends on MIPS32_COMPAT
depends on 64BIT
select COMPAT
select MIPS32_COMPAT
select SYSVIPC_COMPAT if SYSVIPC
help
Select this option if you want to run n32 binaries. These are
64-bit binaries using 32-bit quantities for addressing and certain
Expand Down
64 changes: 36 additions & 28 deletions arch/mips/boot/elf2ecoff.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
/*
* Some extra ELF definitions
*/
#define PT_MIPS_REGINFO 0x70000000 /* Register usage information */
#define PT_MIPS_REGINFO 0x70000000 /* Register usage information */
#define PT_MIPS_ABIFLAGS 0x70000003 /* Records ABI related flags */

/* -------------------------------------------------------------------- */

Expand Down Expand Up @@ -349,39 +350,46 @@ int main(int argc, char *argv[])

for (i = 0; i < ex.e_phnum; i++) {
/* Section types we can ignore... */
if (ph[i].p_type == PT_NULL || ph[i].p_type == PT_NOTE ||
ph[i].p_type == PT_PHDR
|| ph[i].p_type == PT_MIPS_REGINFO)
switch (ph[i].p_type) {
case PT_NULL:
case PT_NOTE:
case PT_PHDR:
case PT_MIPS_REGINFO:
case PT_MIPS_ABIFLAGS:
continue;
/* Section types we can't handle... */
else if (ph[i].p_type != PT_LOAD) {
fprintf(stderr,
"Program header %d type %d can't be converted.\n",
ex.e_phnum, ph[i].p_type);
exit(1);
}
/* Writable (data) segment? */
if (ph[i].p_flags & PF_W) {
struct sect ndata, nbss;

ndata.vaddr = ph[i].p_vaddr;
ndata.len = ph[i].p_filesz;
nbss.vaddr = ph[i].p_vaddr + ph[i].p_filesz;
nbss.len = ph[i].p_memsz - ph[i].p_filesz;
case PT_LOAD:
/* Writable (data) segment? */
if (ph[i].p_flags & PF_W) {
struct sect ndata, nbss;

ndata.vaddr = ph[i].p_vaddr;
ndata.len = ph[i].p_filesz;
nbss.vaddr = ph[i].p_vaddr + ph[i].p_filesz;
nbss.len = ph[i].p_memsz - ph[i].p_filesz;

combine(&data, &ndata, 0);
combine(&bss, &nbss, 1);
} else {
struct sect ntxt;
combine(&data, &ndata, 0);
combine(&bss, &nbss, 1);
} else {
struct sect ntxt;

ntxt.vaddr = ph[i].p_vaddr;
ntxt.len = ph[i].p_filesz;
ntxt.vaddr = ph[i].p_vaddr;
ntxt.len = ph[i].p_filesz;

combine(&text, &ntxt, 0);
combine(&text, &ntxt, 0);
}
/* Remember the lowest segment start address. */
if (ph[i].p_vaddr < cur_vma)
cur_vma = ph[i].p_vaddr;
break;

default:
/* Section types we can't handle... */
fprintf(stderr,
"Program header %d type %d can't be converted.\n",
ex.e_phnum, ph[i].p_type);
exit(1);
}
/* Remember the lowest segment start address. */
if (ph[i].p_vaddr < cur_vma)
cur_vma = ph[i].p_vaddr;
}

/* Sections must be in order to be converted... */
Expand Down
2 changes: 0 additions & 2 deletions arch/mips/cavium-octeon/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,7 @@ static int octeon_cpu_disable(void)

set_cpu_online(cpu, false);
cpu_clear(cpu, cpu_callin_map);
local_irq_disable();
octeon_fixup_irqs();
local_irq_enable();

flush_cache_all();
local_flush_tlb_all();
Expand Down
16 changes: 4 additions & 12 deletions arch/mips/configs/malta_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_CLUSTERIP=m
CONFIG_IP_NF_TARGET_ECN=m
Expand Down Expand Up @@ -175,7 +174,6 @@ CONFIG_BRIDGE_EBT_MARK_T=m
CONFIG_BRIDGE_EBT_REDIRECT=m
CONFIG_BRIDGE_EBT_SNAT=m
CONFIG_BRIDGE_EBT_LOG=m
CONFIG_BRIDGE_EBT_ULOG=m
CONFIG_BRIDGE_EBT_NFLOG=m
CONFIG_IP_SCTP=m
CONFIG_BRIDGE=m
Expand Down Expand Up @@ -220,8 +218,6 @@ CONFIG_NET_ACT_SKBEDIT=m
CONFIG_NET_CLS_IND=y
CONFIG_CFG80211=m
CONFIG_MAC80211=m
CONFIG_MAC80211_RC_PID=y
CONFIG_MAC80211_RC_DEFAULT_PID=y
CONFIG_MAC80211_MESH=y
CONFIG_RFKILL=m
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
Expand All @@ -248,19 +244,13 @@ CONFIG_ATA_OVER_ETH=m
CONFIG_IDE=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_BLK_DEV_IT8213=m
CONFIG_BLK_DEV_TC86C001=m
CONFIG_RAID_ATTRS=m
CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SCAN_ASYNC=y
Expand All @@ -273,6 +263,8 @@ CONFIG_SCSI_AACRAID=m
CONFIG_SCSI_AIC7XXX=m
CONFIG_AIC7XXX_RESET_DELAY_MS=15000
# CONFIG_AIC7XXX_DEBUG_ENABLE is not set
CONFIG_ATA=y
CONFIG_ATA_PIIX=y
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
Expand Down Expand Up @@ -340,6 +332,7 @@ CONFIG_UIO=m
CONFIG_UIO_CIF=m
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS=y
CONFIG_REISERFS_FS=m
CONFIG_REISERFS_PROC_INFO=y
CONFIG_REISERFS_FS_XATTR=y
Expand Down Expand Up @@ -441,4 +434,3 @@ CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_TEA=m
CONFIG_CRYPTO_TWOFISH=m
# CONFIG_CRYPTO_ANSI_CPRNG is not set
CONFIG_CRC16=m
43 changes: 26 additions & 17 deletions arch/mips/include/asm/fpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static inline int __enable_fpu(enum fpu_mode mode)
return SIGFPE;

/* set FRE */
write_c0_config5(read_c0_config5() | MIPS_CONF5_FRE);
set_c0_config5(MIPS_CONF5_FRE);
goto fr_common;

case FPU_64BIT:
Expand All @@ -74,8 +74,10 @@ static inline int __enable_fpu(enum fpu_mode mode)
#endif
/* fall through */
case FPU_32BIT:
/* clear FRE */
write_c0_config5(read_c0_config5() & ~MIPS_CONF5_FRE);
if (cpu_has_fre) {
/* clear FRE */
clear_c0_config5(MIPS_CONF5_FRE);
}
fr_common:
/* set CU1 & change FR appropriately */
fr = (int)mode & FPU_FR_MASK;
Expand Down Expand Up @@ -182,25 +184,32 @@ static inline int init_fpu(void)
int ret = 0;

if (cpu_has_fpu) {
unsigned int config5;

ret = __own_fpu();
if (!ret) {
unsigned int config5 = read_c0_config5();

/*
* Ensure FRE is clear whilst running _init_fpu, since
* single precision FP instructions are used. If FRE
* was set then we'll just end up initialising all 32
* 64b registers.
*/
write_c0_config5(config5 & ~MIPS_CONF5_FRE);
enable_fpu_hazard();
if (ret)
return ret;

if (!cpu_has_fre) {
_init_fpu();

/* Restore FRE */
write_c0_config5(config5);
enable_fpu_hazard();
return 0;
}

/*
* Ensure FRE is clear whilst running _init_fpu, since
* single precision FP instructions are used. If FRE
* was set then we'll just end up initialising all 32
* 64b registers.
*/
config5 = clear_c0_config5(MIPS_CONF5_FRE);
enable_fpu_hazard();

_init_fpu();

/* Restore FRE */
write_c0_config5(config5);
enable_fpu_hazard();
} else
fpu_emulator_init_fpu();

Expand Down
6 changes: 3 additions & 3 deletions arch/mips/include/asm/fw/arc/hinv.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ union key_u {
#define SGI_ARCS_REV 10 /* rev .10, 3/04/92 */
#endif

typedef struct component {
typedef struct {
CONFIGCLASS Class;
CONFIGTYPE Type;
IDENTIFIERFLAG Flags;
Expand All @@ -140,7 +140,7 @@ struct cfgdata {
};

/* System ID */
typedef struct systemid {
typedef struct {
CHAR VendorId[8];
CHAR ProductId[8];
} SYSTEMID;
Expand All @@ -166,7 +166,7 @@ typedef enum memorytype {
#endif /* _NT_PROM */
} MEMORYTYPE;

typedef struct memorydescriptor {
typedef struct {
MEMORYTYPE Type;
LONG BasePage;
LONG PageCount;
Expand Down
4 changes: 2 additions & 2 deletions arch/mips/include/asm/mips-cm.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ static inline bool mips_cm_has_l2sync(void)

/* Macros to ease the creation of register access functions */
#define BUILD_CM_R_(name, off) \
static inline u32 *addr_gcr_##name(void) \
static inline u32 __iomem *addr_gcr_##name(void) \
{ \
return (u32 *)(mips_cm_base + (off)); \
return (u32 __iomem *)(mips_cm_base + (off)); \
} \
\
static inline u32 read_gcr_##name(void) \
Expand Down
Loading