linux/arch/um/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
..
skas uml: fix mm_context memory leak 2008-02-08 09:22:43 -08:00
asm-offsets.c [PATCH] uml: fix missing KBUILD_BASENAME 2006-01-11 18:42:09 -08:00
config.c.in uml: remove useless comments 2009-04-01 08:59:17 -07:00
dyn.lds.S linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
exec.c x86, um: get rid of uml unistd.h 2008-10-22 22:55:21 -07:00
exitcode.c proc: remove proc_root from drivers 2008-04-29 08:06:18 -07:00
gmon_syms.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
gprof_syms.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
init_task.c mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
initrd.c uml: fix initrd printk 2008-02-23 17:12:13 -08:00
internal.h x86, um: get rid of uml unistd.h 2008-10-22 22:55:21 -07:00
irq.c um: remove obsolete hw_interrupt_type 2009-06-16 19:47:47 -07:00
ksyms.c arch/um/kernel/mem.c: remove arch_validate() 2008-07-24 10:47:24 -07:00
Makefile uml: don't use a too long string literal 2009-04-01 08:59:16 -07:00
mem.c um: use generic show_mem() 2008-07-26 12:00:10 -07:00
physmem.c UML: make several more things static 2008-07-24 10:47:24 -07:00
process.c Simplify copy_thread() 2009-04-02 19:04:51 -07:00
ptrace.c UML on UML fixed: it did not start 2009-03-12 16:20:23 -07:00
reboot.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
sigio.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
signal.c x86, um: sanitize uml sigcontext.h uses 2008-10-22 22:55:20 -07:00
smp.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
syscall.c uml: fix warnings in kernel_execve 2009-04-02 19:04:50 -07:00
sysrq.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
time.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
tlb.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
trap.c Move FAULT_FLAG_xyz into handle_mm_fault() callers 2009-06-21 13:08:22 -07:00
uaccess.c UML: make several more things static 2008-07-24 10:47:24 -07:00
um_arch.c uml: deal with inaccessible address space start 2008-06-06 11:29:10 -07:00
umid.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
uml.lds.S linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
vmlinux.lds.S [PATCH] uml: tidy biarch gcc support 2006-07-14 21:53:52 -07:00