android_kernel_xiaomi_sm8350/arch/mips/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
..
.gitignore
8250-platform.c
asm-offsets.c MIPS: Add hibernation support 2009-06-17 11:06:31 +01:00
binfmt_elfn32.c
binfmt_elfo32.c
branch.c MIPS: Compute branch returns for Cavium OCTEON specific branch instructions. 2009-01-11 09:57:24 +00:00
cevt-bcm1480.c cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
cevt-ds1287.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
cevt-gt641xx.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
cevt-r4k.c MIPS: make cp0 counter clocksource/event usable as fallback. 2009-01-11 09:57:26 +00:00
cevt-sb1250.c cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
cevt-smtc.c MIPS: SMTC: Fix xxx_clockevent_init() naming conflict for SMTC 2009-05-14 13:50:24 +01:00
cevt-txx9.c MIPS: TXx9: micro optimization for clocksource and clock_event 2009-06-17 11:06:25 +01:00
cpu-bugs64.c
cpu-probe.c MIPS: Alchemy: unify CPU model constants. 2009-03-30 14:49:45 +02:00
csrc-bcm1480.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
csrc-ioasic.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
csrc-r4k.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
csrc-sb1250.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
early_printk.c
entry.S
genex.S MIPS: Read watch registers with interrupts disabled. 2009-01-30 21:32:58 +00:00
gpio_txx9.c
head.S
i8253.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
i8259.c cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
init_task.c mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
irq_cpu.c MIPS: Enable GENERIC_HARDIRQS_NO__DO_IRQ for all platforms 2009-03-30 14:49:44 +02:00
irq_txx9.c
irq-gic.c irq: change ->set_affinity() to return status 2009-04-28 12:21:16 +02:00
irq-gt641xx.c
irq-msc01.c MIPS: Enable GENERIC_HARDIRQS_NO__DO_IRQ for all platforms 2009-03-30 14:49:44 +02:00
irq-rm7000.c
irq-rm9000.c
irq.c Merge branches 'irq/genirq' and 'linus' into irq/core 2009-03-16 09:20:13 +01:00
kgdb.c
kspd.c CRED: Separate task security context from task_struct 2008-11-14 10:39:16 +11:00
linux32.c MIPS: Compat: Zero upper 32-bit of offset_high and offset_low. 2009-03-30 14:49:40 +02:00
machine_kexec.c
Makefile MIPS: make cp0 counter clocksource/event usable as fallback. 2009-01-11 09:57:26 +00:00
mips_ksyms.c
mips-mt-fpaff.c MIPS: SMTC: Fix build after recent creditial changes. 2009-01-30 21:32:56 +00:00
mips-mt.c
module.c module: cleanup FIXME comments about trimming exception table entries. 2009-06-12 21:47:05 +09:30
octeon_switch.S MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon. 2009-01-11 09:57:21 +00:00
proc.c MIPS: Outline udelay and fix a few issues. 2009-06-08 16:57:51 +01:00
process.c Simplify copy_thread() 2009-04-02 19:04:51 -07:00
ptrace32.c MIPS: 64-bit: Use generic 32-bit ptrace compat code. 2009-01-11 09:57:19 +00:00
ptrace.c
r4k_fpu.S
r4k_switch.S
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
relocate_kernel.S
reset.c
rtlx.c
scall32-o32.S preadv/pwritev: MIPS: Add preadv(2) and pwritev(2) syscalls. 2009-04-02 19:05:08 -07:00
scall64-64.S preadv/pwritev: MIPS: Add preadv(2) and pwritev(2) syscalls. 2009-04-02 19:05:08 -07:00
scall64-n32.S MIPS: Compat: Use generic 32-bit wrapers for sys_timerfd_{g,s}ettime 2009-05-14 13:50:25 +01:00
scall64-o32.S MIPS: Compat: Use generic 32-bit wrapers for sys_timerfd_{g,s}ettime 2009-05-14 13:50:25 +01:00
setup.c MIPS: Stop using <asm-generic/int-l64.h>. 2009-03-30 14:49:41 +02:00
signal32.c MIPS: CVE-2009-0029: Enable syscall wrappers. 2009-02-27 17:56:35 +00:00
signal_n32.c
signal-common.h
signal.c MIPS: CVE-2009-0029: Enable syscall wrappers. 2009-02-27 17:56:35 +00:00
smp-cmp.c cpumask: change cpumask_scnprintf, cpumask_parse_user, cpulist_parse, and cpulist_scnprintf to take pointers. 2008-12-13 21:20:25 +10:30
smp-mt.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
smp-up.c MIPS: Fix global namespace pollution in arch/mips/kernel/smp-up.c 2009-03-30 14:49:45 +02:00
smp.c MIPS: Make a needlessly global symbol static in arch/mips/kernel/smp.c 2009-03-30 14:49:45 +02:00
smtc-asm.S
smtc-proc.c
smtc.c MIPS: SMTC: Fix formatting difference to linux-mips.org code 2009-06-17 11:06:24 +01:00
spram.c
stacktrace.c proc: add /proc/*/stack 2009-01-05 12:27:44 +03:00
sync-r4k.c
syscall.c MIPS: CVE-2009-0029: Enable syscall wrappers. 2009-02-27 17:56:35 +00:00
time.c
topology.c
traps.c MIPS: Move Cavium CP0 hwrena impl bits to cpu-feature-overrides.h 2009-06-17 11:06:31 +01:00
unaligned.c MIPS: Use force_sig when handling address errors. 2009-05-14 13:50:29 +01:00
vmlinux.lds.S linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
vpe.c mips: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:38 -08:00
watch.c