mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
powerpc: remove PReP platform
PPC_PREP is marked as BROKEN since v2.6.15. Remove all PReP specific code now. Signed-off-by: Paul Bolle <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
This commit is contained in:
parent
9850baed30
commit
933ee7119f
12 changed files with 19 additions and 242 deletions
|
|
@ -513,10 +513,6 @@ static int __init pnpbios_init(void)
|
|||
{
|
||||
int ret;
|
||||
|
||||
#if defined(CONFIG_PPC)
|
||||
if (check_legacy_ioport(PNPBIOS_BASE))
|
||||
return -ENODEV;
|
||||
#endif
|
||||
if (pnpbios_disabled || dmi_check_system(pnpbios_dmi_table) ||
|
||||
paravirt_enabled()) {
|
||||
printk(KERN_INFO "PnPBIOS: Disabled\n");
|
||||
|
|
@ -570,10 +566,7 @@ fs_initcall(pnpbios_init);
|
|||
static int __init pnpbios_thread_init(void)
|
||||
{
|
||||
struct task_struct *task;
|
||||
#if defined(CONFIG_PPC)
|
||||
if (check_legacy_ioport(PNPBIOS_BASE))
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
if (pnpbios_disabled)
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue