17 Dec, 2009
1 commit
-
Away with the daemons of ifdef; get ready for future COP2 users.
Signed-off-by: Ralf Baechle
Patchwork: http://patchwork.linux-mips.org/patch/708/
14 May, 2009
1 commit
-
When init is started it is SIGNAL_UNKILLABLE. If it were to get an
address error, we would try to send it SIGBUS, but it would be ignored
and the faulting instruction restarted. This results in an endless
loop.We need to use force_sig() instead so it will actually die and give us
some useful information.Reported-by: Florian Fainelli
Signed-off-by: David Daney
Signed-off-by: Ralf Baechle
30 Oct, 2008
1 commit
-
Arguably using the address error handler has always been ugly. But with
processors that handle unaligned loads and stores in hardware the
current mechanism ceases to work so switch it to a BREAK instruction and
allocate break code 514 to the FPU emulator.Yoichi Yuasa provided a build fix for CONFIG_BUG=n.
Signed-off-by: Ralf Baechle
Signed-off-by: Yoichi Yuasa
28 Oct, 2008
1 commit
-
debugfs_create_*() returns NULL on error. Make its callers return -ENODEV
on error.Signed-off-by: Zhao Lei
Acked-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle
12 Oct, 2007
1 commit
-
Signed-off-by: Ralf Baechle
01 Aug, 2007
2 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
11 Jul, 2007
1 commit
-
Currently a number of unaligned instructions is counted but not used.
Add /debug/mips/unaligned_instructions file to show the value.And add /debug/mips/unaligned_action to control behavior upon an
unaligned access. Possible actions are:0: silently fixup the unaligned access.
1: send SIGBUS.
2: dump registers, process name, etc. and fixup.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle
22 May, 2007
1 commit
-
First thing mm.h does is including sched.h solely for can_do_mlock() inline
function which has "current" dereference inside. By dealing with can_do_mlock()
mm.h can be detached from sched.h which is good. See below, why.This patch
a) removes unconditional inclusion of sched.h from mm.h
b) makes can_do_mlock() normal function in mm/mlock.c
c) exports can_do_mlock() to not break compilation
d) adds sched.h inclusions back to files that were getting it indirectly.
e) adds less bloated headers to some files (asm/signal.h, jiffies.h) that were
getting them indirectlyNet result is:
a) mm.h users would get less code to open, read, preprocess, parse, ... if
they don't need sched.h
b) sched.h stops being dependency for significant number of files:
on x86_64 allmodconfig touching sched.h results in recompile of 4083 files,
after patch it's only 3744 (-8.3%).Cross-compile tested on
all arm defconfigs, all mips defconfigs, all powerpc defconfigs,
alpha alpha-up
arm
i386 i386-up i386-defconfig i386-allnoconfig
ia64 ia64-up
m68k
mips
parisc parisc-up
powerpc powerpc-up
s390 s390-up
sparc sparc-up
sparc64 sparc64-up
um-x86_64
x86_64 x86_64-up x86_64-defconfig x86_64-allnoconfigas well as my two usual configs.
Signed-off-by: Alexey Dobriyan
Signed-off-by: Linus Torvalds
09 May, 2007
1 commit
-
Remove includes of where it is not used/needed.
Suggested by Al Viro.Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).Signed-off-by: Randy Dunlap
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
27 Feb, 2007
1 commit
-
Signed-off-by: Ralf Baechle
01 Jul, 2006
1 commit
-
Signed-off-by: Jörn Engel
Signed-off-by: Adrian Bunk
30 Oct, 2005
1 commit
-
Signed-off-by: Ralf Baechle
05 Sep, 2005
1 commit
-
Start cleaning 32-bit vs. 64-bit configuration.
Signed-off-by: Ralf Baechle
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!