lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <924EFEDD5F540B4284297C4DC59F3DEE4FBEEE@orsmsx423.amr.corp.intel.com>
Date:	Fri, 28 Dec 2007 11:57:54 -0800
From:	"Pallipadi, Venkatesh" <venkatesh.pallipadi@...el.com>
To:	Miguel Botón <mboton.lkml@...il.com>,
	"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Cc:	"Ingo Molnar" <mingo@...e.hu>,
	"Thomas Gleixner" <tglx@...utronix.de>
Subject: RE: [PATCH] x86: export 'leave_mm' symbol


Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@...el.com>

 

>-----Original Message-----
>From: Miguel Botón [mailto:mboton.lkml@...il.com] 
>Sent: Friday, December 28, 2007 7:58 AM
>To: Linux Kernel Mailing List
>Cc: Ingo Molnar; Thomas Gleixner; Pallipadi, Venkatesh
>Subject: [PATCH] x86: export 'leave_mm' symbol
>
>This patch fixes a linking error if CONFIG_ACPI_PROCESSOR=m
>(this error occurs in the 'mm' branch of linux-2.6-x86.git).
>
>We need to export the 'leave_mm' symbol so it can be accessible
>for the ACPI processor module.
>
>Signed-off-by: Miguel Botón <mboton@...il.com>
>
>diff --git a/arch/x86/kernel/smp_32.c b/arch/x86/kernel/smp_32.c
>index 596d002..dc0cde9 100644
>--- a/arch/x86/kernel/smp_32.c
>+++ b/arch/x86/kernel/smp_32.c
>@@ -263,6 +263,7 @@ void leave_mm(int cpu)
> 	cpu_clear(cpu, per_cpu(cpu_tlbstate, 
>cpu).active_mm->cpu_vm_mask);
> 	load_cr3(swapper_pg_dir);
> }
>+EXPORT_SYMBOL(leave_mm);
> 
> /*
>  *
>diff --git a/arch/x86/kernel/smp_64.c b/arch/x86/kernel/smp_64.c
>index 1334afe..2fd74b0 100644
>--- a/arch/x86/kernel/smp_64.c
>+++ b/arch/x86/kernel/smp_64.c
>@@ -76,6 +76,7 @@ void leave_mm(int cpu)
> 	cpu_clear(cpu, read_pda(active_mm)->cpu_vm_mask);
> 	load_cr3(swapper_pg_dir);
> }
>+EXPORT_SYMBOL(leave_mm);
> 
> /*
>  *
>
>-- 
>	Miguel Botón
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ