提交 4f8de274 编写于 作者: T Tony Luck

[IA64] Clean away some code inside some non-existent CONFIG ifdefs

Robert P.J. Day has a script that finds places in the code that
use non-existent CONFIG variables.  It complained of two uses in
ia64 specific code: CONFIG_IA64_SDV and CONFIG_KDB (both used in
the hp/sim code).
Signed-off-by: NTony Luck <tony.luck@intel.com>
上级 829a9996
...@@ -329,11 +329,6 @@ sys_fw_init (const char *args, int arglen) ...@@ -329,11 +329,6 @@ sys_fw_init (const char *args, int arglen)
strcpy(sal_systab->product_id, "HP-simulator"); strcpy(sal_systab->product_id, "HP-simulator");
#endif #endif
#ifdef CONFIG_IA64_SDV
strcpy(sal_systab->oem_id, "Intel");
strcpy(sal_systab->product_id, "SDV");
#endif
/* fill in an entry point: */ /* fill in an entry point: */
sal_ed->type = SAL_DESC_ENTRY_POINT; sal_ed->type = SAL_DESC_ENTRY_POINT;
sal_ed->pal_proc = __pa(pal_desc[0]); sal_ed->pal_proc = __pa(pal_desc[0]);
......
...@@ -36,10 +36,6 @@ ...@@ -36,10 +36,6 @@
#include <asm/hw_irq.h> #include <asm/hw_irq.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#ifdef CONFIG_KDB
# include <linux/kdb.h>
#endif
#undef SIMSERIAL_DEBUG /* define this to get some debug information */ #undef SIMSERIAL_DEBUG /* define this to get some debug information */
#define KEYBOARD_INTR 3 /* must match with simulator! */ #define KEYBOARD_INTR 3 /* must match with simulator! */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册