kernel_optimize_test/arch/mips
Sergei Shtylyov e64a3cfcd9 [MIPS] Make KGDB compile on UP
Building UP kernel with KGDB enabled produces the following errors and warning
(fatal due to -Werror in arch/mips/kernel/Makefile):

In file included from arch/mips/kernel/gdb-stub.c:142:
include/asm/smp.h:25:1: "raw_smp_processor_id" redefined
In file included from include/linux/sched.h:69,
                 from arch/mips/kernel/gdb-stub.c:126:
include/linux/smp.h:88:1: this is the location of the previous definition
In file included from arch/mips/kernel/gdb-stub.c:142:
include/asm/smp.h:62: error: redefinition of 'smp_send_reschedule'
include/linux/smp.h:102: error: previous definition of 'smp_send_reschedule' was here
include/asm/smp.h: In function `smp_send_reschedule':
include/asm/smp.h:65: error: dereferencing pointer to incomplete type
arch/mips/kernel/gdb-stub.c: At top level:
arch/mips/kernel/gdb-stub.c:660: warning: 'kgdb_wait' defined but not used

Fix the errors by not directly including <asm/smp.h> (which is already included
by <linux/smp.h>) and the warning by enclosing kgdb_wait() in #ifdef CONFIG_SMP.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2008-04-04 22:43:47 +01:00
..
au1000 [MIPS] Alchemy: Fix ids in Alchemy db dma device table 2008-03-12 14:14:40 +00:00
basler/excite [MIPS]: constify function pointer tables 2008-01-29 10:15:03 +00:00
bcm47xx [MIPS] BCM47XX: Use new SSB SPROM data structure 2008-02-19 17:01:34 +00:00
boot [MIPS] checkfiles: Fix "need space after that ','" errors. 2007-10-11 23:46:15 +01:00
cobalt [MIPS] add cpu_wait() to machine_halt() 2008-01-29 10:15:00 +00:00
configs [MIPS] BCM47xx: Add defconfig file. 2008-02-19 17:01:34 +00:00
dec [MIPS] time: remove unused mips_timer_state() 2008-01-29 10:15:00 +00:00
emma2rh [MIPS] Kill duplicated setup_irq() for cp0 timer 2007-10-19 18:15:58 +01:00
fw [MIPS] RM: Collected changes 2008-01-29 10:14:59 +00:00
gt64120/wrppmc [MIPS] remove unused mips_machtype 2008-01-29 10:14:55 +00:00
jazz [MIPS] Cleanup pcspeaker platform device registration. 2008-01-29 10:14:57 +00:00
jmr3927 [MIPS] TXx9 watchdog support for rbhma3100,rbhma4200,rbhma4500 2008-01-29 10:14:58 +00:00
kernel [MIPS] Make KGDB compile on UP 2008-04-04 22:43:47 +01:00
lasat [MIPS] Lasat: Convert pvc_sem semaphore to mutex 2008-01-29 10:15:01 +00:00
lemote/lm2e [MIPS] Fulong: don't reinitialize pci_probe_only to it's default value. 2008-01-29 10:14:59 +00:00
lib [MIPS] Fix loads of section missmatches 2008-03-12 14:14:41 +00:00
math-emu [MIPS] Compliment va_start() with va_end(). 2007-11-26 17:26:15 +00:00
mips-boards [MIPS] Fix loads of section missmatches 2008-03-12 14:14:41 +00:00
mipssim [MIPS] Fix loads of section missmatches 2008-03-12 14:14:41 +00:00
mm [MIPS] Fix loads of section missmatches 2008-03-12 14:14:41 +00:00
oprofile [MIPS] Extend performance counter event field. 2008-01-29 10:14:59 +00:00
pci [MIPS] BCM1480: Init pci controller io_map_base 2008-03-12 14:14:42 +00:00
philips/pnx8550 [MIPS] pnx8xxx: clocksource cleanups 2008-01-29 10:15:01 +00:00
pmc-sierra [MIPS] Yosemite: Fix a few more section reference bugs. 2008-03-12 14:14:42 +00:00
sgi-ip22 [MIPS] IP28 support 2008-01-29 10:14:58 +00:00
sgi-ip27 [MIPS] Fix loads of section missmatches 2008-03-12 14:14:41 +00:00
sgi-ip32 [MIPS] Fix IP32 breakage 2008-01-07 15:32:03 +00:00
sibyte [MIPS] BCM1480: Remove stray function call resulting in infinite recursion 2008-02-19 17:01:31 +00:00
sni [MIPS] RM: Collected changes 2008-01-29 10:14:59 +00:00
tx4927 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2008-01-29 22:48:03 +11:00
tx4938 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2008-01-29 22:48:03 +11:00
vr41xx [MIPS] move vr41xx_calculate_clock_frequency() to plat_time_init() 2008-01-29 10:15:00 +00:00
Kconfig [MIPS] Allow 48Hz to be selected if CONFIG_SYS_SUPPORTS_ARBIT_HZ is set. 2008-03-12 14:14:40 +00:00
Kconfig.debug [MIPS] Kbuild: Use the new cc-cross-prefix feature. 2007-10-22 22:09:01 +01:00
Makefile [MIPS] Use KBUILD_DEFCONFIG 2008-03-12 14:14:41 +00:00