forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upst…
…ream-linus Pull MIPS fixes from Ralf Baechle: "MIPS fixes across the field. The only area that's standing out is the exception handling which received it's dose of breakage as part of the microMIPS patchset" * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: MIPS: ralink: add missing SZ_1M multiplier MIPS: Compat: Fix cputime_to_timeval() arguments in compat binfmt_elf. MIPS: OCTEON: Improve _machine_halt implementation. MIPS: rtlx: Fix implicit declaration of function set_vi_handler() MIPS: Trap exception handling fixes MIPS: Quit exposing Kconfig symbols in uapi headers. MIPS: Remove duplicate definition of check_for_high_segbits.
- Loading branch information
Showing
9 changed files
with
82 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,4 +119,15 @@ MODULE_AUTHOR("Ralf Baechle ([email protected])"); | |
#undef TASK_SIZE | ||
#define TASK_SIZE TASK_SIZE32 | ||
|
||
#undef cputime_to_timeval | ||
#define cputime_to_timeval cputime_to_compat_timeval | ||
static __inline__ void | ||
cputime_to_compat_timeval(const cputime_t cputime, struct compat_timeval *value) | ||
{ | ||
unsigned long jiffies = cputime_to_jiffies(cputime); | ||
|
||
value->tv_usec = (jiffies % HZ) * (1000000L / HZ); | ||
value->tv_sec = jiffies / HZ; | ||
} | ||
|
||
#include "../../../fs/binfmt_elf.c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,4 +162,15 @@ MODULE_AUTHOR("Ralf Baechle ([email protected])"); | |
#undef TASK_SIZE | ||
#define TASK_SIZE TASK_SIZE32 | ||
|
||
#undef cputime_to_timeval | ||
#define cputime_to_timeval cputime_to_compat_timeval | ||
static __inline__ void | ||
cputime_to_compat_timeval(const cputime_t cputime, struct compat_timeval *value) | ||
{ | ||
unsigned long jiffies = cputime_to_jiffies(cputime); | ||
|
||
value->tv_usec = (jiffies % HZ) * (1000000L / HZ); | ||
value->tv_sec = jiffies / HZ; | ||
} | ||
|
||
#include "../../../fs/binfmt_elf.c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters