Atsushi Nemoto
8ef386092d
[PATCH] kill wall_jiffies
...
With 2.6.18-rc4-mm2, now wall_jiffies will always be the same as jiffies.
So we can kill wall_jiffies completely.
This is just a cleanup and logically should not change any real behavior
except for one thing: RTC updating code in (old) ppc and xtensa use a
condition "jiffies - wall_jiffies == 1". This condition is never met so I
suppose it is just a bug. I just remove that condition only instead of
kill the whole "if" block.
[[email protected] : s390 build fix and cleanup]
Signed-off-by: Atsushi Nemoto <[email protected] >
Cc: Andi Kleen <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Richard Henderson <[email protected] >
Cc: Ivan Kokshaysky <[email protected] >
Cc: Russell King <[email protected] >
Cc: Ian Molton <[email protected] >
Cc: Mikael Starvik <[email protected] >
Cc: David Howells <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Cc: Hirokazu Takata <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Kyle McMartin <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Paul Mundt <[email protected] >
Cc: Kazumoto Kojima <[email protected] >
Cc: Richard Curnow <[email protected] >
Cc: William Lee Irwin III <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Jeff Dike <[email protected] >
Cc: Paolo 'Blaisorblade' Giarrusso <[email protected] >
Cc: Miles Bader <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: "Luck, Tony" <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Roman Zippel <[email protected] >
Signed-off-by: Heiko Carstens <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2006-10-01 00:39:27 -07:00
Atsushi Nemoto
3171a0305d
[PATCH] simplify update_times (avoid jiffies/jiffies_64 aliasing problem)
...
Pass ticks to do_timer() and update_times(), and adjust x86_64 and s390
timer interrupt handler with this change.
Currently update_times() calculates ticks by "jiffies - wall_jiffies", but
callers of do_timer() should know how many ticks to update. Passing ticks
get rid of this redundant calculation. Also there are another redundancy
pointed out by Martin Schwidefsky.
This cleanup make a barrier added by
5aee405c66 needless. So this patch removes
it.
As a bonus, this cleanup make wall_jiffies can be removed easily, since now
wall_jiffies is always synced with jiffies. (This patch does not really
remove wall_jiffies. It would be another cleanup patch)
Signed-off-by: Atsushi Nemoto <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: "Eric W. Biederman" <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: john stultz <[email protected] >
Cc: Andi Kleen <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Richard Henderson <[email protected] >
Cc: Ivan Kokshaysky <[email protected] >
Acked-by: Russell King <[email protected] >
Cc: Ian Molton <[email protected] >
Cc: Mikael Starvik <[email protected] >
Acked-by: David Howells <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Cc: Hirokazu Takata <[email protected] >
Acked-by: Ralf Baechle <[email protected] >
Cc: Kyle McMartin <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Paul Mundt <[email protected] >
Cc: Kazumoto Kojima <[email protected] >
Cc: Richard Curnow <[email protected] >
Cc: William Lee Irwin III <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Jeff Dike <[email protected] >
Cc: Paolo 'Blaisorblade' Giarrusso <[email protected] >
Cc: Miles Bader <[email protected] >
Cc: Chris Zankel <[email protected] >
Acked-by: "Luck, Tony" <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Roman Zippel <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2006-09-29 09:18:15 -07:00
Ralf Baechle
54d0a216f4
[MIPS] Replace board_timer_setup function pointer by plat_timer_setup.
...
Signed-off-by: Ralf Baechle <[email protected] >
---
2006-07-13 21:26:17 +01:00
Thomas Gleixner
f40298fddc
[PATCH] irq-flags: MIPS: Use the new IRQF_ constants
...
Use the new IRQF_ constants and remove the SA_INTERRUPT define
Signed-off-by: Thomas Gleixner <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Ralf Baechle <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2006-07-02 13:58:47 -07:00
Jörn Engel
6ab3d5624e
Remove obsolete #include <linux/config.h>
...
Signed-off-by: Jörn Engel <[email protected] >
Signed-off-by: Adrian Bunk <[email protected] >
2006-06-30 19:25:36 +02:00
Ralf Baechle
41c594ab65
[MIPS] MT: Improved multithreading support.
...
Signed-off-by: Ralf Baechle <[email protected] >
2006-04-19 04:14:28 +02:00
Yoichi Yuasa
d23ee8fe6e
[PATCH] mips: fixed collision of rtc function name
...
Fix the collision of rtc function name.
Signed-off-by: Yoichi Yuasa <[email protected] >
Cc: Alessandro Zummo <[email protected] >
Cc: Ralf Baechle <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2006-03-27 08:44:50 -08:00
Ralf Baechle
d6bd0e6b32
[MIPS] Protect more of timer_interrupt() by xtime_lock.
...
From Dave Johnson <[email protected] >:
* do_timer() expects the arch-specific handler to take the lock as it
modifies jiffies[_64] and xtime.
* writing timerhi/lo in timer_interrupt() will mess up
fixed_rate_gettimeoffset() which reads timerhi/lo.
Signed-off-by: Ralf Baechle <[email protected] >
2006-03-18 16:59:29 +00:00
Atsushi Nemoto
800d11420d
[MIPS] Use USECS_PER_SEC / HZ instead of tick_usec in do_gettimeofday.
...
The 'tick_usec' is USER_HZ period in usec. do_gettimeofday() should
use kernel HZ value.
Here is a patch for MIPS. It seems m32r, m68k and sparc have same
problem though their HZ and USER_HZ are same for now.
Signed-off-by: Atsushi Nemoto <[email protected] >
Signed-off-by: Ralf Baechle <[email protected] >
2006-03-01 19:22:22 +00:00
Ralf Baechle
ba339c03e2
MIPS: Oprofile: Fixup the loose ends in the plumbing.
...
Signed-off-by: Ralf Baechle <[email protected] >
2006-01-10 13:39:07 +00:00
Ralf Baechle
b4672d3729
MIPS: Introduce machinery for testing for MIPSxxR1/2.
...
Signed-off-by: Ralf Baechle <[email protected] >
2006-01-10 13:39:06 +00:00
Ralf Baechle
e7958bb90d
MIPS: Rename MIPS_CPU_ISA_M{32,64} -> MIPS_CPU_ISA_M{32,64}R1.
...
Signed-off-by: Ralf Baechle <[email protected] >
2006-01-10 13:39:06 +00:00
Thomas Gleixner
ecea8d19c9
[PATCH] jiffies_64 cleanup
...
Define jiffies_64 in kernel/timer.c rather than having 24 duplicated
defines in each architecture.
Signed-off-by: Thomas Gleixner <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2005-10-30 17:37:25 -08:00
Pete Popov
bdf21b18b4
Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it.
...
Signed-off-by: Ralf Baechle <[email protected] >
2005-10-29 19:31:54 +01:00
Ralf Baechle
ec74e361f1
Mark a few variables __read_mostly.
...
Signed-off-by: Ralf Baechle <[email protected] >
2005-10-29 19:31:46 +01:00
john stultz
b149ee2233
[PATCH] NTP: ntp-helper functions
...
This patch cleans up a commonly repeated set of changes to the NTP state
variables by adding two helper inline functions:
ntp_clear(): Clears the ntp state variables
ntp_synced(): Returns 1 if the system is synced with a time server.
This was compile tested for alpha, arm, i386, x86-64, ppc64, s390, sparc,
sparc64.
Signed-off-by: John Stultz <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2005-09-07 16:57:34 -07:00
Linus Torvalds
1da177e4c3
Linux-2.6.12-rc2
...
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!
2005-04-16 15:20:36 -07:00