Al Viro
ee1e17c69e
blackfin: convert kernel_thread() and kernel_execve() to generic ones
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2012-10-14 23:06:52 -04: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 <oleg@redhat.com >
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org >
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com >
Link: http://lkml.kernel.org/r/1336692811-30576-1-git-send-email-suresh.b.siddha@intel.com
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org >
Cc: David Howells <dhowells@redhat.com >
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com >
Cc: Paul Mackerras <paulus@samba.org >
Cc: Paul Mundt <lethal@linux-sh.org >
Cc: Chris Zankel <chris@zankel.net >
Cc: Richard Henderson <rth@twiddle.net >
Cc: Russell King <linux@arm.linux.org.uk >
Cc: Haavard Skinnemoen <hskinnemoen@gmail.com >
Cc: Mike Frysinger <vapier@gentoo.org >
Cc: Mark Salter <msalter@redhat.com >
Cc: Aurelien Jacquiot <a-jacquiot@ti.com >
Cc: Mikael Starvik <starvik@axis.com >
Cc: Yoshinori Sato <ysato@users.sourceforge.jp >
Cc: Richard Kuo <rkuo@codeaurora.org >
Cc: Tony Luck <tony.luck@intel.com >
Cc: Michal Simek <monstr@monstr.eu >
Cc: Ralf Baechle <ralf@linux-mips.org >
Cc: Jonas Bonn <jonas@southpole.se >
Cc: James E.J. Bottomley <jejb@parisc-linux.org >
Cc: Helge Deller <deller@gmx.de >
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com >
Cc: Heiko Carstens <heiko.carstens@de.ibm.com >
Cc: Chen Liqin <liqin.chen@sunplusct.com >
Cc: Lennox Wu <lennox.wu@gmail.com >
Cc: David S. Miller <davem@davemloft.net >
Cc: Chris Metcalf <cmetcalf@tilera.com >
Cc: Jeff Dike <jdike@addtoit.com >
Cc: Richard Weinberger <richard@nod.at >
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn >
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com >
2012-05-16 15:16:26 -07:00
Graf Yang
2c1657c29f
Blackfin: SMP: relocate blackfin_core_id() definition
...
Since we're breaking apart some inter-header dependencies to avoid more
circular loops, move the blackfin_core_id() definition to the func that
it is based upon.
Signed-off-by: Graf Yang <graf.yang@analog.com >
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2011-01-10 07:18:15 -05:00
Robin Getz
96f1050d3d
Blackfin: mass clean up of copyright/licensing info
...
Bill Gatliff & David Brownell pointed out we were missing some
copyrights, and licensing terms in some of the files in
./arch/blackfin, so this fixes things, and cleans them up.
It also removes:
- verbose GPL text(refer to the top level ./COPYING file)
- file names (you are looking at the file)
- bug url (it's in the ./MAINTAINERS file)
- "or later" on GPL-2, when we did not have that right
It also allows some Blackfin-specific assembly files to be under a BSD
like license (for people to use them outside of Linux).
Signed-off-by: Robin Getz <robin.getz@analog.com >
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-10-07 04:36:26 -04:00
Graf Yang
10a5ecd03f
Blackfin: update handling of anomaly 364 (wrong rev id in BF527-0.1)
...
This anomaly only applies to the BF527-0.1, not the BF526-0.1, and not any
other revision of the BF527. So make sure we don't go returning 0xffff
for other cases.
Signed-off-by: Graf Yang <graf.yang@analog.com >
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-07-16 01:52:28 -04:00
Mike Frysinger
d5ce528c8e
Blackfin: convert irq/process to asm-generic
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-06-18 21:41:56 -04:00
Robin Getz
bc4d6f36db
Blackfin: document anomaly 05000234 workaround
...
Note the reason for using CHIPD over DSPID.
Signed-off-by: Robin Getz <robin.getz@analog.com >
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-06-12 06:11:28 -04:00
Sonic Zhang
cc92b870a7
Blackfin arch: disable pthread stack check for SMP at runtime
...
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com >
Signed-off-by: Bryan Wu <cooloney@kernel.org >
2009-01-07 23:14:38 +08:00
Robin Getz
a45d575f53
Blackfin arch: Add basic irq stack checking for Blackfin
...
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org >
Signed-off-by: Bryan Wu <cooloney@kernel.org >
2009-01-07 23:14:38 +08:00
Bryan Wu
2e8ca59147
Blackfin arch: Use GPIO_BANKSIZE macro to replace const number 16 for GPIO_BANK_NUM macro caculating
...
Signed-off-by: Bryan Wu <cooloney@kernel.org >
2008-11-18 17:48:22 +08:00
Graf Yang
6b3087c64a
Blackfin arch: SMP supporting patchset: Blackfin header files and machine common code
...
Blackfin dual core BF561 processor can support SMP like features.
https://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:smp-like
In this patch, we provide SMP extend to Blackfin header files
and machine common code
Signed-off-by: Graf Yang <graf.yang@analog.com >
Signed-off-by: Bryan Wu <cooloney@kernel.org >
2009-01-07 23:14:39 +08:00
Robin Getz
e482cad241
Blackfin arch: print out error/warning if you are running on the incorrect CPU type
...
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org >
Signed-off-by: Bryan Wu <cooloney@kernel.org >
2008-10-10 18:21:45 +08:00
Bryan Wu
639f657145
Blackfin arch: move include/asm-blackfin header files to arch/blackfin
...
Signed-off-by: Bryan Wu <cooloney@kernel.org >
2008-08-27 10:51:02 +08:00