17 Mar, 2007
1 commit
-
trace_hardirqs_off -> atomic_inc -> local_irq_restore -> trace_hardirqs_off
Signed-off-by: Ralf Baechle
07 Mar, 2007
1 commit
-
Signed-off-by: Ralf Baechle
19 Feb, 2007
1 commit
-
Add R2 optimized variants of clear_bit, set_bit and test_and_clear_bit.
With gcc 4.1.1 this saves 1592 bytes on a defconfig (minus IPv6) kernel.
Turns out that R2 bitop instructions are no gain for the other bitop
functions.Signed-off-by: Ralf Baechle
14 Feb, 2007
1 commit
-
Now that finally all supported versions of binutils have functioning
support for .subsection use .subsection to tweak the branch predictionI did not modify the R10000 errata variants because it seems unclear if
this will invalidate the workaround which actually relies on the cheesy
prediction of branch likely to cause a misspredict if the sc was
successful.Signed-off-by: Ralf Baechle
05 Dec, 2006
1 commit
-
Also the R4000 / R4600 LL/SC instructions imply a sync so no explicit sync
needed.Signed-off-by: Ralf Baechle
30 Nov, 2006
2 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
14 Jul, 2006
1 commit
-
Signed-off-by: Ralf Baechle
29 Apr, 2006
1 commit
27 Apr, 2006
1 commit
-
With recent rewrite for generic bitops, fls() for 32bit kernel with
MIPS64_CPU is broken. Also, ffs(), fls() should be defined the same
way as the libc and compiler built-in routines (returns int instead of
unsigned long).Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle
26 Apr, 2006
1 commit
-
Signed-off-by: David Woodhouse
27 Mar, 2006
2 commits
-
- remove __{,test_and_}{set,clear,change}_bit() and test_bit()
- unless defined(CONFIG_CPU_MIPS32) or defined(CONFIG_CPU_MIPS64)
- remove __ffs()
- remove ffs()
- remove ffz()
- remove fls()- remove fls64()
- remove find_{next,first}{,_zero}_bit()
- remove sched_find_first_bit()
- remove generic_hweight64()
- remove generic_hweight{32,16,8}()
- remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit()
- remove ext2_{set,clear}_bit_atomic()
- remove minix_{test,set,test_and_clear,test,find_first_zero}_bit()Signed-off-by: Akinobu Mita
Cc: Ralf Baechle
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Bitmap functions for the minix filesystem and the ext2 filesystem except
ext2_set_bit_atomic() and ext2_clear_bit_atomic() do not require the atomic
guarantees.But these are defined by using atomic bit operations on several architectures.
(cris, frv, h8300, ia64, m32r, m68k, m68knommu, mips, s390, sh, sh64, sparc,
sparc64, v850, and xtensa)This patch switches to non atomic bit operation.
Signed-off-by: Akinobu Mita
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
07 Feb, 2006
1 commit
-
fls was the only called of flz, so fold flz into fls, same for the
__ilog2 call. Delete the now unused flz function.Signed-off-by: Ralf Baechle
04 Jan, 2006
1 commit
-
Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller
30 Oct, 2005
4 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
for assembling ll/sc sequences to avoid problems with 64-bit
configurations.Signed-off-by: Ralf Baechle
-
builds even for processors that don't support the instructions.
Plus minor formatting fixes.Signed-off-by: Ralf Baechle
05 Sep, 2005
2 commits
-
Signed-off-by: Ralf Baechle
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
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!