linux/include/asm-sh
FUJITA Tomonori b69c49b784 clean up duplicated alloc/free_thread_info
We duplicate alloc/free_thread_info defines on many platforms (the
majority uses __get_free_pages/free_pages).  This patch defines common
defines and removes these duplicated defines.
__HAVE_ARCH_THREAD_INFO_ALLOCATOR is introduced for platforms that do
something different.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-25 10:53:28 -07:00
..
cpu-sh2
cpu-sh2a
cpu-sh3 sh: Fix DMAC base address for SH7709S 2008-05-09 19:04:12 +09:00
cpu-sh4 sh: Add support for SH7723 CPU subtype. 2008-04-18 09:50:07 -07:00
cpu-sh5
dreamcast
hd64465
landisk
sh03
.gitignore
a.out.h
adc.h
addrspace.h
atomic-grb.h
atomic-irq.h
atomic-llsc.h
atomic.h
auxvec.h
bitops-grb.h
bitops-irq.h
bitops.h generic: implement __fls on all 64-bit archs 2008-04-26 19:21:16 +02:00
bug.h
bugs.h sh: Initial support for the MX-G CPU. 2008-04-18 09:50:01 -07:00
byteorder.h sh: Fix more user header breakage from sh64 integration. 2008-03-14 17:21:09 +09:00
cache.h
cacheflush.h
checksum.h
checksum_32.h sh: fix miscompilation of ip_fast_csum with gcc >= 4.3 2008-06-02 12:40:14 +09:00
checksum_64.h
clock.h
cmpxchg-grb.h
cmpxchg-irq.h
cpu-features.h
cputime.h
current.h
delay.h sh: Fix up the sh64 build. 2008-03-06 17:23:15 +09:00
device.h
div64.h
dma-mapping.h
dma.h
dmabrg.h
edosk7705.h
elf.h
emergency-restart.h
entry-macros.S
errno.h
fb.h
fcntl.h
fixmap.h
flat.h
fpu.h sh: Fix TIF_USEDFPU clearing under FPU emulation. 2008-03-26 19:09:21 +09:00
freq.h
futex-irq.h
futex.h asm-*/futex.h should include linux/uaccess.h 2008-04-30 08:29:52 -07:00
gpio.h
hardirq.h
hd64461.h
heartbeat.h
hp6xx.h
hugetlb.h hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
hw_irq.h sh: add interrupt ack code to sh3 2008-05-08 19:52:03 +09:00
i2c-sh7760.h i2c: Renesas SH7760 I2C master driver 2008-04-22 22:16:47 +02:00
ilsel.h
io.h sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
io_generic.h
io_trapped.h
ioctl.h
ioctls.h
ipcbuf.h
irq.h
irq_regs.h
irqflags.h
irqflags_32.h
irqflags_64.h
Kbuild
kdebug.h
kexec.h
kgdb.h sh: use the common ascii hex helpers 2008-05-16 15:09:08 +09:00
kmap_types.h
kvm.h kvm: provide kvm.h for all architecture: fixes headers_install 2008-04-02 15:28:18 -07:00
lboxre2.h
linkage.h
local.h
machvec.h
magicpanelr2.h
mc146818rtc.h
microdev.h
migor.h sh: Add MigoR header file 2008-04-18 09:50:03 -07:00
mman.h
mmu.h
mmu_context.h sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
mmu_context_32.h
mmu_context_64.h
mmzone.h sh: add memory resources to /proc/iomem 2008-05-08 19:51:51 +09:00
module.h
msgbuf.h
mutex.h
namei.h
page.h PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
param.h
parport.h
pci.h
percpu.h
pgalloc.h
pgtable.h
pgtable_32.h mm: introduce pte_special pte bit 2008-04-28 08:58:23 -07:00
pgtable_64.h mm: introduce pte_special pte bit 2008-04-28 08:58:23 -07:00
pm.h
poll.h
posix_types.h sh: Fix more user header breakage from sh64 integration. 2008-03-14 17:21:09 +09:00
posix_types_32.h
posix_types_64.h
processor.h sh: Add support for SH7723 CPU subtype. 2008-04-18 09:50:07 -07:00
processor_32.h sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
processor_64.h sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
ptrace.h
push-switch.h
r7780rp.h sh: r7780rp: Kill off unneded ifdefs for irq setup. 2008-05-08 19:51:44 +09:00
resource.h
rtc.h
rts7751r2d.h
rwsem.h
scatterlist.h
sdk7780.h
se.h
se7206.h
se7343.h
se7721.h sh: Add support for Solution Engine SH7721 board 2008-04-18 09:50:02 -07:00
se7722.h sh: SuperH KEYSC keypad data for Solution Engine 7722 2008-04-18 09:50:01 -07:00
se7751.h
se7780.h
sections.h
segment.h
sembuf.h
serial.h
setup.h
sfp-machine.h
sh7760fb.h video: sh7760fb: SH7760/SH7763 LCDC framebuffer driver 2008-07-24 10:47:41 -07:00
sh_bios.h
sh_keysc.h sh: SuperH KEYSC platform driver 2008-04-18 09:50:00 -07:00
sh_mobile_lcdc.h fbdev: SuperH Mobile LCDC Driver 2008-07-24 10:47:38 -07:00
shmbuf.h
shmin.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smc37c93x.h
smp.h sh: convert to generic helpers for IPI function calls 2008-06-26 11:22:58 +02:00
snapgear.h
socket.h
sockios.h
sparsemem.h
spi.h
spinlock.h
spinlock_types.h
stat.h
statfs.h
string.h
string_32.h
string_64.h
system.h sh: Create an sh debugfs root. 2008-04-18 09:50:01 -07:00
system_32.h
system_64.h
systemh7751.h
termbits.h
termios.h
thread_info.h clean up duplicated alloc/free_thread_info 2008-07-25 10:53:28 -07:00
timer.h
timex.h
titan.h
tlb.h
tlb_64.h sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
tlbflush.h
topology.h sh: Stub in cpu_to_node() and friends for NUMA build. 2008-05-08 13:40:17 +09:00
types.h sh: types: use <asm-generic/int-*.h> for the sh architecture 2008-05-02 16:18:40 -07:00
uaccess.h
uaccess_32.h sh: Fix up __access_ok() check for nommu. 2008-04-18 09:50:02 -07:00
uaccess_64.h sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
ubc.h
ucontext.h
unaligned.h kernel: Move arches to use common unaligned access 2008-04-29 08:06:27 -07:00
unistd.h
unistd_32.h
unistd_64.h
user.h
vga.h
watchdog.h
xor.h