Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS updates from Ralf Baechle: "MIPS updates: - All the things that didn't make 3.10. - Removes the Windriver PPMC platform. Nobody will miss it. - Remove a workaround from kernel/irq/irqdomain.c which was there exclusivly for MIPS. Patch by Grant Likely. - More small improvments for the SEAD 3 platform - Improvments on the BMIPS / SMP support for the BCM63xx series. - Various cleanups of dead leftovers. - Platform support for the Cavium Octeon-based EdgeRouter Lite. Two large KVM patchsets didn't make it for this pull request because their respective authors are vacationing" * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (124 commits) MIPS: Kconfig: Add missing MODULES dependency to VPE_LOADER MIPS: BCM63xx: CLK: Add dummy clk_{set,round}_rate() functions MIPS: SEAD3: Disable L2 cache on SEAD-3. MIPS: BCM63xx: Enable second core SMP on BCM6328 if available MIPS: BCM63xx: Add SMP support to prom.c MIPS: define write{b,w,l,q}_relaxed MIPS: Expose missing pci_io{map,unmap} declarations MIPS: Malta: Update GCMP detection. Revert "MIPS: make CAC_ADDR and UNCAC_ADDR account for PHYS_OFFSET" MIPS: APSP: Remove <asm/kspd.h> SSB: Kconfig: Amend SSB_EMBEDDED dependencies MIPS: microMIPS: Fix improper definition of ISA exception bit. MIPS: Don't try to decode microMIPS branch instructions where they cannot exist. MIPS: Declare emulate_load_store_microMIPS as a static function. MIPS: Fix typos and cleanup comment MIPS: Cleanup indentation and whitespace MIPS: BMIPS: support booting from physical CPU other than 0 MIPS: Only set cpu_has_mmips if SYS_SUPPORTS_MICROMIPS MIPS: GIC: Fix gic_set_affinity infinite loop MIPS: Don't save/restore OCTEON wide multiplier state on syscalls. ...
This commit is contained in:
@@ -5,9 +5,10 @@
|
||||
*
|
||||
* Copyright (C) 1995, 96, 97, 98, 99, 2003, 05 Ralf Baechle
|
||||
*/
|
||||
#ifndef _ASM_FCNTL_H
|
||||
#define _ASM_FCNTL_H
|
||||
#ifndef _UAPI_ASM_FCNTL_H
|
||||
#define _UAPI_ASM_FCNTL_H
|
||||
|
||||
#include <asm/sgidefs.h>
|
||||
|
||||
#define O_APPEND 0x0008
|
||||
#define O_DSYNC 0x0010 /* used to be O_SYNC, see below */
|
||||
@@ -55,14 +56,15 @@
|
||||
* contain all the same fields as struct flock.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_32BIT
|
||||
#if _MIPS_SIM != _MIPS_SIM_ABI64
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct flock {
|
||||
short l_type;
|
||||
short l_whence;
|
||||
off_t l_start;
|
||||
off_t l_len;
|
||||
__kernel_off_t l_start;
|
||||
__kernel_off_t l_len;
|
||||
long l_sysid;
|
||||
__kernel_pid_t l_pid;
|
||||
long pad[4];
|
||||
@@ -70,8 +72,8 @@ struct flock {
|
||||
|
||||
#define HAVE_ARCH_STRUCT_FLOCK
|
||||
|
||||
#endif /* CONFIG_32BIT */
|
||||
#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
|
||||
|
||||
#include <asm-generic/fcntl.h>
|
||||
|
||||
#endif /* _ASM_FCNTL_H */
|
||||
#endif /* _UAPI_ASM_FCNTL_H */
|
||||
|
@@ -409,10 +409,11 @@ enum mm_32f_73_minor_op {
|
||||
enum mm_16c_minor_op {
|
||||
mm_lwm16_op = 0x04,
|
||||
mm_swm16_op = 0x05,
|
||||
mm_jr16_op = 0x18,
|
||||
mm_jrc_op = 0x1a,
|
||||
mm_jalr16_op = 0x1c,
|
||||
mm_jalrs16_op = 0x1e,
|
||||
mm_jr16_op = 0x0c,
|
||||
mm_jrc_op = 0x0d,
|
||||
mm_jalr16_op = 0x0e,
|
||||
mm_jalrs16_op = 0x0f,
|
||||
mm_jraddiusp_op = 0x18,
|
||||
};
|
||||
|
||||
/*
|
||||
|
@@ -14,25 +14,25 @@
|
||||
|
||||
struct msqid64_ds {
|
||||
struct ipc64_perm msg_perm;
|
||||
#if defined(CONFIG_32BIT) && !defined(CONFIG_CPU_LITTLE_ENDIAN)
|
||||
#if !defined(__mips64) && defined(__MIPSEB__)
|
||||
unsigned long __unused1;
|
||||
#endif
|
||||
__kernel_time_t msg_stime; /* last msgsnd time */
|
||||
#if defined(CONFIG_32BIT) && defined(CONFIG_CPU_LITTLE_ENDIAN)
|
||||
#if !defined(__mips64) && defined(__MIPSEL__)
|
||||
unsigned long __unused1;
|
||||
#endif
|
||||
#if defined(CONFIG_32BIT) && !defined(CONFIG_CPU_LITTLE_ENDIAN)
|
||||
#if !defined(__mips64) && defined(__MIPSEB__)
|
||||
unsigned long __unused2;
|
||||
#endif
|
||||
__kernel_time_t msg_rtime; /* last msgrcv time */
|
||||
#if defined(CONFIG_32BIT) && defined(CONFIG_CPU_LITTLE_ENDIAN)
|
||||
#if !defined(__mips64) && defined(__MIPSEL__)
|
||||
unsigned long __unused2;
|
||||
#endif
|
||||
#if defined(CONFIG_32BIT) && !defined(CONFIG_CPU_LITTLE_ENDIAN)
|
||||
#if !defined(__mips64) && defined(__MIPSEB__)
|
||||
unsigned long __unused3;
|
||||
#endif
|
||||
__kernel_time_t msg_ctime; /* last change time */
|
||||
#if defined(CONFIG_32BIT) && defined(CONFIG_CPU_LITTLE_ENDIAN)
|
||||
#if !defined(__mips64) && defined(__MIPSEL__)
|
||||
unsigned long __unused3;
|
||||
#endif
|
||||
unsigned long msg_cbytes; /* current number of bytes on queue */
|
||||
|
@@ -26,7 +26,7 @@
|
||||
* but we keep the old value on MIPS32,
|
||||
* for compatibility:
|
||||
*/
|
||||
#ifdef CONFIG_32BIT
|
||||
#ifndef __mips64
|
||||
# define RLIM_INFINITY 0x7fffffffUL
|
||||
#endif
|
||||
|
||||
|
@@ -25,10 +25,10 @@ struct siginfo;
|
||||
/*
|
||||
* Careful to keep union _sifields from shifting ...
|
||||
*/
|
||||
#ifdef CONFIG_32BIT
|
||||
#if __SIZEOF_LONG__ == 4
|
||||
#define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int))
|
||||
#endif
|
||||
#ifdef CONFIG_64BIT
|
||||
#if __SIZEOF_LONG__ == 8
|
||||
#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
|
||||
#endif
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
#define __SWAB_64_THRU_32__
|
||||
|
||||
#ifdef CONFIG_CPU_MIPSR2
|
||||
#if defined(__mips_isa_rev) && (__mips_isa_rev >= 2)
|
||||
|
||||
static inline __attribute_const__ __u16 __arch_swab16(__u16 x)
|
||||
{
|
||||
@@ -39,10 +39,10 @@ static inline __attribute_const__ __u32 __arch_swab32(__u32 x)
|
||||
#define __arch_swab32 __arch_swab32
|
||||
|
||||
/*
|
||||
* Having already checked for CONFIG_CPU_MIPSR2, enable the
|
||||
* optimized version for 64-bit kernel on r2 CPUs.
|
||||
* Having already checked for MIPS R2, enable the optimized version for
|
||||
* 64-bit kernel on r2 CPUs.
|
||||
*/
|
||||
#ifdef CONFIG_64BIT
|
||||
#ifdef __mips64
|
||||
static inline __attribute_const__ __u64 __arch_swab64(__u64 x)
|
||||
{
|
||||
__asm__(
|
||||
@@ -54,6 +54,6 @@ static inline __attribute_const__ __u64 __arch_swab64(__u64 x)
|
||||
return x;
|
||||
}
|
||||
#define __arch_swab64 __arch_swab64
|
||||
#endif /* CONFIG_64BIT */
|
||||
#endif /* CONFIG_CPU_MIPSR2 */
|
||||
#endif /* __mips64 */
|
||||
#endif /* MIPS R2 or newer */
|
||||
#endif /* _ASM_SWAB_H */
|
||||
|
Reference in New Issue
Block a user