android_kernel_xiaomi_sm8350/arch/sh/kernel
Tejun Heo 405d967dc7 linker script: throw away .discard section
x86 throws away .discard section but no other archs do.  Also,
.discard is not thrown away while linking modules.  Make every arch
and module linking throw it away.  This will be used to define dummy
variables for percpu declarations and definitions.

This patch is based on Ivan Kokshaysky's alpha percpu patch.

[ Impact: always throw away everything in .discard ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Bryan Wu <cooloney@kernel.org>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@elte.hu>
2009-06-24 15:13:38 +09:00
..
cpu Merge branches 'sh/pci-express-integration', 'sh/rsk-updates', 'sh/platform-updates' and 'sh/perf_counter' 2009-06-17 16:37:26 +09:00
vsyscall
.gitignore
asm-offsets.c
cpufreq.c
crash_dump.c
debugtraps.S
disassemble.c
early_printk.c
entry-common.S
ftrace.c sh: Fix dynamic ftrace's NOP action. 2009-06-11 19:00:58 +01:00
gpio.c
head_32.S
head_64.S
idle.c
init_task.c mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
io_generic.c
io_trapped.c
io.c
irq.c sh: irq: Provide an arch_probe_nr_irqs() that wraps the machvec def. 2009-05-22 01:36:13 +09:00
kgdb.c
kprobes.c
localtimer.c
machine_kexec.c
machvec.c sh: boot word / mode pin support V2 2009-06-01 15:44:49 +09:00
Makefile
Makefile_32
Makefile_64
module.c module: cleanup FIXME comments about trimming exception table entries. 2009-06-12 21:47:05 +09:30
process_32.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 2009-06-18 14:07:35 -07:00
process_64.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 2009-06-18 14:07:35 -07:00
ptrace_32.c
ptrace_64.c
relocate_kernel.S
setup.c sh: rework mode pin code 2009-06-11 09:08:53 +03:00
sh_bios.c
sh_ksyms_32.c sh: irq: Convert from irq_desc[] to irq_to_desc(). 2009-05-22 01:26:16 +09:00
sh_ksyms_64.c sh: Convert sh64 to use the generic checksum code. 2009-06-15 00:00:42 +09:00
signal_32.c sh: Fix declaration of __kernel_sigreturn and __kernel_rt_sigreturn 2009-06-18 18:25:21 +09:00
signal_64.c
smp.c cpumask: Use accessors for cpu_*_mask: sh 2009-06-14 18:24:16 +09:00
stacktrace.c
swsusp.c
sys_sh32.c
sys_sh64.c
sys_sh.c sh: remove stray markers. 2009-06-18 13:38:26 +09:00
syscalls_32.S sh: Wire up sys_perf_counter_open. 2009-06-12 01:33:22 +03:00
syscalls_64.S sh: Wire up sys_perf_counter_open. 2009-06-12 01:33:22 +03:00
time.c sh: Bump the earlytimer probe devices up. 2009-06-14 20:02:30 +09:00
topology.c
traps_32.c
traps_64.c
traps.c sh: unbreak WARN_ON() 2009-06-17 15:39:52 +09:00
vmlinux.lds.S linker script: throw away .discard section 2009-06-24 15:13:38 +09:00