Thomas Huth
438f7cd417
microblaze: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers
...
While the GCC and Clang compilers already define __ASSEMBLER__
automatically when compiling assembly code, __ASSEMBLY__ is a
macro that only gets defined by the Makefiles in the kernel.
This can be very confusing when switching between userspace
and kernelspace coding, or when dealing with uapi headers that
rather should use __ASSEMBLER__ instead. So let's standardize on
the __ASSEMBLER__ macro that is provided by the compilers now.
This is a completely mechanical patch (done with a simple "sed -i"
statement).
Cc: Michal Simek <[email protected] >
Signed-off-by: Thomas Huth <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected] >
2025-09-12 13:12:42 +02:00
Kefeng Wang
2be9880dc8
kernel: exit: cleanup release_thread()
...
Only x86 has own release_thread(), introduce a new weak release_thread()
function to clean empty definitions in other ARCHs.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kefeng Wang <[email protected] >
Acked-by: Guo Ren <[email protected] > [csky]
Acked-by: Russell King (Oracle) <[email protected] >
Acked-by: Geert Uytterhoeven <[email protected] >
Acked-by: Brian Cain <[email protected] >
Acked-by: Michael Ellerman <[email protected] > [powerpc]
Acked-by: Stafford Horne <[email protected] > [openrisc]
Acked-by: Catalin Marinas <[email protected] > [arm64]
Acked-by: Huacai Chen <[email protected] > [LoongArch]
Cc: Alexander Gordeev <[email protected] >
Cc: Anton Ivanov <[email protected] >
Cc: Borislav Petkov <[email protected] >
Cc: Christian Borntraeger <[email protected] >
Cc: Christophe Leroy <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: Dave Hansen <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Dinh Nguyen <[email protected] >
Cc: Guo Ren <[email protected] > [csky]
Cc: Heiko Carstens <[email protected] >
Cc: Helge Deller <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Ivan Kokshaysky <[email protected] >
Cc: James Bottomley <[email protected] >
Cc: Johannes Berg <[email protected] >
Cc: Jonas Bonn <[email protected] >
Cc: Matt Turner <[email protected] >
Cc: Max Filippov <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Nicholas Piggin <[email protected] >
Cc: Palmer Dabbelt <[email protected] >
Cc: Paul Walmsley <[email protected] >
Cc: Richard Henderson <[email protected] >
Cc: Richard Weinberger <[email protected] >
Cc: Rich Felker <[email protected] >
Cc: Stefan Kristiansson <[email protected] >
Cc: Sven Schnelle <[email protected] >
Cc: Thomas Bogendoerfer <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Vasily Gorbik <[email protected] >
Cc: Vineet Gupta <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Xuerui Wang <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
2022-09-11 21:55:07 -07:00
Kees Cook
42a20f86dc
sched: Add wrapper for get_wchan() to keep task blocked
...
Having a stable wchan means the process must be blocked and for it to
stay that way while performing stack unwinding.
Suggested-by: Peter Zijlstra <[email protected] >
Signed-off-by: Kees Cook <[email protected] >
Signed-off-by: Peter Zijlstra (Intel) <[email protected] >
Acked-by: Geert Uytterhoeven <[email protected] >
Acked-by: Russell King (Oracle) <[email protected] > [arm]
Tested-by: Mark Rutland <[email protected] > [arm64]
Link: https://lkml.kernel.org/r/[email protected]
2021-10-15 11:25:14 +02:00
Linus Torvalds
66fc6a6254
Merge tag 'microblaze-v5.11' of git://git.monstr.eu/linux-2.6-microblaze
...
Pull microblaze updates from Michal Simek:
"The biggest change is to remove support for noMMU configuration.
FPGAs are bigger so people use Microblaze with MMU for a lot of years
and there is likely no user of this code anymore. No one is updating
libraries for this configuration either.
- Remove noMMU support
- Add support for TIF_NOTIFY_SIGNAL
- Small header fix"
* tag 'microblaze-v5.11' of git://git.monstr.eu/linux-2.6-microblaze:
microblaze: Remove noMMU code
microblaze: add support for TIF_NOTIFY_SIGNAL
microblaze: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-12-16 12:04:39 -08:00
Michal Simek
05cdf45747
microblaze: Remove noMMU code
...
This configuration is obsolete and likely none is really using it. That's
why remove it to simplify code.
Note about CONFIG_MMU in hw_exception_handler.S is left intentionally
for better comment understanding.
Cc: Mike Rapoport <[email protected] >
Cc: Arnd Bergmann <[email protected] >
Signed-off-by: Michal Simek <[email protected] >
Acked-by: Mike Rapoport <[email protected] >
Acked-by: Arnd Bergmann <[email protected] >
Link: https://lore.kernel.org/r/43486cab370e0c0a79860120b71e0caac75a7e44.1606397528.git.michal.simek@xilinx.com
2020-11-26 16:39:35 +01:00
Nicholas Piggin
97f130106f
microblaze: use asm-generic/mmu_context.h for no-op implementations
...
Wire asm-generic/mmu_context.h to provide generic empty hooks for arch
code simplification.
Signed-off-by: Nicholas Piggin <[email protected] >
Acked-by: Michal Simek <[email protected] >
Signed-off-by: Arnd Bergmann <[email protected] >
2020-10-27 16:02:36 +01:00
Michal Simek
4726dd6082
microblaze: Convert headers to SPDX license
...
Covert all headers to SPDX.
Signed-off-by: Michal Simek <[email protected] >
Reviewed-by: Stefan Asserhall <[email protected] >
Reviewed-by: Arnd Bergmann <[email protected] >
2020-02-25 12:33:19 +01:00
Nick Desaulniers
de0d22e50c
treewide: remove current_text_addr
...
Prefer _THIS_IP_ defined in linux/kernel.h.
Most definitions of current_text_addr were the same as _THIS_IP_, but
a few archs had inline assembly instead.
This patch removes the final call site of current_text_addr, making all
of the definitions dead code.
[[email protected] : fix arch/csky/include/asm/processor.h]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Nick Desaulniers <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2018-10-31 08:54:12 -07:00
Tobias Klauser
6474924e2b
arch: remove unused macro/function thread_saved_pc()
...
The only user of thread_saved_pc() in non-arch-specific code was removed
in commit 8243d55977 ("sched/core: Remove pointless printout in
sched_show_task()"). Remove the implementations as well.
Some architectures use thread_saved_pc() in their arch-specific code.
Leave their thread_saved_pc() intact.
Signed-off-by: Tobias Klauser <[email protected] >
Acked-by: Geert Uytterhoeven <[email protected] >
Cc: Ingo Molnar <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2017-06-28 16:13:57 -07:00
Christian Borntraeger
6d0d287891
locking/core: Provide common cpu_relax_yield() definition
...
No need to duplicate the same define everywhere. Since
the only user is stop-machine and the only provider is
s390, we can use a default implementation of cpu_relax_yield()
in sched.h.
Suggested-by: Russell King <[email protected] >
Signed-off-by: Christian Borntraeger <[email protected] >
Reviewed-by: David Hildenbrand <[email protected] >
Acked-by: Russell King <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Nicholas Piggin <[email protected] >
Cc: Noam Camus <[email protected] >
Cc: Paul E. McKenney <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: linux-s390 <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2016-11-17 08:17:36 +01:00
Christian Borntraeger
5bd0b85ba8
locking/core, arch: Remove cpu_relax_lowlatency()
...
As there are no users left, we can remove cpu_relax_lowlatency()
implementations from every architecture.
Signed-off-by: Christian Borntraeger <[email protected] >
Signed-off-by: Peter Zijlstra (Intel) <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Nicholas Piggin <[email protected] >
Cc: Noam Camus <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Russell King <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2016-11-16 10:15:11 +01:00
Christian Borntraeger
79ab11cdb9
locking/core: Introduce cpu_relax_yield()
...
For spinning loops people do often use barrier() or cpu_relax().
For most architectures cpu_relax and barrier are the same, but on
some architectures cpu_relax can add some latency.
For example on power,sparc64 and arc, cpu_relax can shift the CPU
towards other hardware threads in an SMT environment.
On s390 cpu_relax does even more, it uses an hypercall to the
hypervisor to give up the timeslice.
In contrast to the SMT yielding this can result in larger latencies.
In some places this latency is unwanted, so another variant
"cpu_relax_lowlatency" was introduced. Before this is used in more
and more places, lets revert the logic and provide a cpu_relax_yield
that can be called in places where yielding is more important than
latency. By default this is the same as cpu_relax on all architectures.
Signed-off-by: Christian Borntraeger <[email protected] >
Signed-off-by: Peter Zijlstra (Intel) <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Nicholas Piggin <[email protected] >
Cc: Noam Camus <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Russell King <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2016-11-16 10:15:09 +01:00
Jiri Slaby
5f56a5dfdb
exit_thread: remove empty bodies
...
Define HAVE_EXIT_THREAD for archs which want to do something in
exit_thread. For others, let's define exit_thread as an empty inline.
This is a cleanup before we change the prototype of exit_thread to
accept a task parameter.
[[email protected] : fix mips]
Signed-off-by: Jiri Slaby <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: "H. Peter Anvin" <[email protected] >
Cc: "James E.J. Bottomley" <[email protected] >
Cc: Aurelien Jacquiot <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Chen Liqin <[email protected] >
Cc: Chris Metcalf <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: David Howells <[email protected] >
Cc: Fenghua Yu <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Guan Xuetao <[email protected] >
Cc: Haavard Skinnemoen <[email protected] >
Cc: Hans-Christian Egtvedt <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Helge Deller <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Ivan Kokshaysky <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Jeff Dike <[email protected] >
Cc: Jesper Nilsson <[email protected] >
Cc: Jiri Slaby <[email protected] >
Cc: Jonas Bonn <[email protected] >
Cc: Koichi Yasutake <[email protected] >
Cc: Lennox Wu <[email protected] >
Cc: Ley Foon Tan <[email protected] >
Cc: Mark Salter <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Matt Turner <[email protected] >
Cc: Max Filippov <[email protected] >
Cc: Michael Ellerman <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Mikael Starvik <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Rich Felker <[email protected] >
Cc: Richard Henderson <[email protected] >
Cc: Richard Kuo <[email protected] >
Cc: Richard Weinberger <[email protected] >
Cc: Russell King <[email protected] >
Cc: Steven Miao <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Tony Luck <[email protected] >
Cc: Vineet Gupta <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2016-05-20 17:58:30 -07:00
Davidlohr Bueso
3a6bfbc91d
arch, locking: Ciao arch_mutex_cpu_relax()
...
The arch_mutex_cpu_relax() function, introduced by 34b133f , is
hacky and ugly. It was added a few years ago to address the fact
that common cpu_relax() calls include yielding on s390, and thus
impact the optimistic spinning functionality of mutexes. Nowadays
we use this function well beyond mutexes: rwsem, qrwlock, mcs and
lockref. Since the macro that defines the call is in the mutex header,
any users must include mutex.h and the naming is misleading as well.
This patch (i) renames the call to cpu_relax_lowlatency ("relax, but
only if you can do it with very low latency") and (ii) defines it in
each arch's asm/processor.h local header, just like for regular cpu_relax
functions. On all archs, except s390, cpu_relax_lowlatency is simply cpu_relax,
and thus we can take it out of mutex.h. While this can seem redundant,
I believe it is a good choice as it allows us to move out arch specific
logic from generic locking primitives and enables future(?) archs to
transparently define it, similarly to System Z.
Signed-off-by: Davidlohr Bueso <[email protected] >
Signed-off-by: Peter Zijlstra <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Anton Blanchard <[email protected] >
Cc: Aurelien Jacquiot <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Bharat Bhushan <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Chen Liqin <[email protected] >
Cc: Chris Metcalf <[email protected] >
Cc: Christian Borntraeger <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: David Howells <[email protected] >
Cc: David S. Miller <[email protected] >
Cc: Deepthi Dharwar <[email protected] >
Cc: Dominik Dingel <[email protected] >
Cc: Fenghua Yu <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Guan Xuetao <[email protected] >
Cc: Haavard Skinnemoen <[email protected] >
Cc: Hans-Christian Egtvedt <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Helge Deller <[email protected] >
Cc: Hirokazu Takata <[email protected] >
Cc: Ivan Kokshaysky <[email protected] >
Cc: James E.J. Bottomley <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Jason Wang <[email protected] >
Cc: Jesper Nilsson <[email protected] >
Cc: Joe Perches <[email protected] >
Cc: Jonas Bonn <[email protected] >
Cc: Joseph Myers <[email protected] >
Cc: Kees Cook <[email protected] >
Cc: Koichi Yasutake <[email protected] >
Cc: Lennox Wu <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Mark Salter <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Matt Turner <[email protected] >
Cc: Max Filippov <[email protected] >
Cc: Michael Neuling <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Mikael Starvik <[email protected] >
Cc: Nicolas Pitre <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: Paul E. McKenney <[email protected] >
Cc: Paul Gortmaker <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Qais Yousef <[email protected] >
Cc: Qiaowei Ren <[email protected] >
Cc: Rafael Wysocki <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Richard Henderson <[email protected] >
Cc: Richard Kuo <[email protected] >
Cc: Russell King <[email protected] >
Cc: Steven Miao <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Stratos Karafotis <[email protected] >
Cc: Tim Chen <[email protected] >
Cc: Tony Luck <[email protected] >
Cc: Vasily Kulikov <[email protected] >
Cc: Vineet Gupta <[email protected] >
Cc: Vineet Gupta <[email protected] >
Cc: Waiman Long <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Wolfram Sang <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2014-07-17 12:32:47 +02:00
Michal Simek
ace526eb24
microblaze: Fix compilation failure because of release_thread
...
Warning log:
In file included from arch/microblaze/include/asm/thread_info.h:21:0,
from include/linux/thread_info.h:54,
from include/asm-generic/preempt.h:4,
from arch/microblaze/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:18,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/sysfs.h:20,
from include/linux/kobject.h:21,
from include/linux/device.h:17,
from include/linux/node.h:17,
from include/linux/cpu.h:16,
from arch/microblaze/kernel/process.c:11:
arch/microblaze/include/asm/processor.h:125:20: warning: no previous prototype
for 'release_thread' [-Wmissing-prototypes]
Signed-off-by: Michal Simek <[email protected] >
2014-04-07 13:45:18 +02:00
Thomas Gleixner
e962bb9e9c
microblaze: Use generic idle loop
...
The microblaze idle loop provides a polling and a non polling version,
which are suprisingly both polling, just with slightly different
instrumentation. Remove them and use the generic poller.
Signed-off-by: Thomas Gleixner <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Rusty Russell <[email protected] >
Cc: Paul McKenney <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Reviewed-by: Cc: Srivatsa S. Bhat <[email protected] >
Cc: Magnus Damm <[email protected] >
Cc: Michal Simek <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected] >
2013-04-08 17:39:26 +02:00
Thomas Gleixner
6546327ad1
arch: Cleanup enable/disable_hlt
...
enable/disable_hlt() does not need to be exported and can be killed on
architectures which do not use it at all.
Signed-off-by: Thomas Gleixner <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Rusty Russell <[email protected] >
Cc: Paul McKenney <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Reviewed-by: Cc: Srivatsa S. Bhat <[email protected] >
Cc: Magnus Damm <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected] >
2013-04-08 17:39:22 +02:00
Al Viro
2319295dd8
microblaze: switch to generic kernel_thread()
...
Signed-off-by: Al Viro <[email protected] >
Signed-off-by: Michal Simek <[email protected] >
2012-11-16 08:44:57 +01:00
Suresh Siddha
55ccf3fe3f
fork: move the real prepare_to_copy() users to arch_dup_task_struct()
...
Historical prepare_to_copy() is mostly a no-op, duplicated for majority of
the architectures and the rest following the x86 model of flushing the extended
register state like fpu there.
Remove it and use the arch_dup_task_struct() instead.
Suggested-by: Oleg Nesterov <[email protected] >
Suggested-by: Linus Torvalds <[email protected] >
Signed-off-by: Suresh Siddha <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Acked-by: Benjamin Herrenschmidt <[email protected] >
Cc: David Howells <[email protected] >
Cc: Koichi Yasutake <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Paul Mundt <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: Richard Henderson <[email protected] >
Cc: Russell King <[email protected] >
Cc: Haavard Skinnemoen <[email protected] >
Cc: Mike Frysinger <[email protected] >
Cc: Mark Salter <[email protected] >
Cc: Aurelien Jacquiot <[email protected] >
Cc: Mikael Starvik <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Cc: Richard Kuo <[email protected] >
Cc: Tony Luck <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Jonas Bonn <[email protected] >
Cc: James E.J. Bottomley <[email protected] >
Cc: Helge Deller <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Chen Liqin <[email protected] >
Cc: Lennox Wu <[email protected] >
Cc: David S. Miller <[email protected] >
Cc: Chris Metcalf <[email protected] >
Cc: Jeff Dike <[email protected] >
Cc: Richard Weinberger <[email protected] >
Cc: Guan Xuetao <[email protected] >
Signed-off-by: H. Peter Anvin <[email protected] >
2012-05-16 15:16:26 -07:00
Michal Simek
0dd90aa9d6
microblaze: Fix ret_from_fork declaration
...
ret_from_fork is used by noMMU system too.
It should be the part of patch
"Disintegrate asm/system.h for Microblaze"
(sha1: c40d04df15 )
Signed-off-by: Michal Simek <[email protected] >
2012-04-02 13:00:26 +02:00
David Howells
c40d04df15
Disintegrate asm/system.h for Microblaze
...
Disintegrate asm/system.h for Microblaze. Not compiled.
Signed-off-by: David Howells <[email protected] >
cc: [email protected]
2012-03-28 18:30:02 +01:00
Mathias Krause
504a84c480
microblaze: Remove duplicated prototype of start_thread()
...
The prototype for start_thread() is already present in the MMU/NOMMU
independent part of the file. Remove the duplicate.
Signed-off-by: Mathias Krause <[email protected] >
Signed-off-by: Michal Simek <[email protected] >
2011-07-25 09:07:45 +02:00
Michal Simek
6e83557c38
microblaze: Remove r0_ram pointer and PTO alignment
...
r0_ram pool was used for saving/restoring register
content if hw exception happen. This poll was replaced by
pt_pool_space with PT_SIZE size.
Based on this change SAVE_STATE_ARG_SPACE was removed which
caused that PTO offset is zero that's why is also removed.
r0_ram space was used as scratchpad by v850. In early
Microblaze Linux developing phase was this part of code
blindly copied.
Signed-off-by: Michal Simek <[email protected] >
2011-03-09 08:09:54 +01:00
Michal Simek
40db083433
microblaze: Remove segment.h
...
I would like to use asm-generic uaccess.h where are segment
macros defined. This is just first step.
Signed-off-by: Michal Simek <[email protected] >
2010-04-01 08:38:19 +02:00
Michal Simek
5233806dfe
microblaze_mmu_v2: Update process creation for MMU
...
Signed-off-by: Michal Simek <[email protected] >
2009-05-26 16:45:18 +02:00
Michal Simek
2921e2bd67
microblaze: Add STATE_SAVE_ARG_SPACE for noMMU kernel too
...
For noMMU kernel this change nothing bring but this change
helps with MMU synchronization.
Signed-off-by: Michal Simek <[email protected] >
2009-04-23 16:27:33 +02:00
Michal Simek
e1c4bd0897
microblaze: Move start_thread to process.c
...
This change is due to upcomming MMU merge
Signed-off-by: Michal Simek <[email protected] >
2009-04-23 16:09:18 +02:00
Michal Simek
2eba318e0d
microblaze: Move task_pt_regs up
...
This change is important for easier merge with Microblaze MMU code.
Signed-off-by: Michal Simek <[email protected] >
2009-04-23 16:09:17 +02:00
Michal Simek
ac3efab506
microblaze: Rename kernel_mode to pt_mode in pt_regs
...
Signed-off-by: Michal Simek <[email protected] >
2009-04-23 16:09:17 +02:00
Michal Simek
4511ec153a
microblaze_v8: system.h processor.h
...
Reviewed-by: Ingo Molnar <[email protected] >
Acked-by: John Linn <[email protected] >
Acked-by: Stephen Neuendorffer <[email protected] >
Acked-by: John Williams <[email protected] >
Signed-off-by: Michal Simek <[email protected] >
2009-03-27 14:25:37 +01:00