iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] AMD IOMMU: iommu_set_device_table() must not be __init
@ 2012-03-08  8:58 Jan Beulich
       [not found] ` <4F5882B502000078000770CE-ce6RLXgGx+vWGUEhTRrCg1aTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2012-03-08  8:58 UTC (permalink / raw)
  To: Joerg Roedel; +Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

This function is called from enable_iommus(), which in turn is used
from amd_iommu_resume().

Signed-off-by: Jan Beulich <jbeulich-IBi9RG/b67k@public.gmane.org>

---
 drivers/iommu/amd_iommu_init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 3.3-rc6/drivers/iommu/amd_iommu_init.c
+++ 3.3-rc6-amd-iommu-sections/drivers/iommu/amd_iommu_init.c
@@ -275,7 +275,7 @@ static void iommu_set_exclusion_range(st
 }
 
 /* Programs the physical address of the device table into the IOMMU hardware */
-static void __init iommu_set_device_table(struct amd_iommu *iommu)
+static void iommu_set_device_table(struct amd_iommu *iommu)
 {
 	u64 entry;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] AMD IOMMU: iommu_set_device_table() must not be __init
       [not found] ` <4F5882B502000078000770CE-ce6RLXgGx+vWGUEhTRrCg1aTQe2KTcn/@public.gmane.org>
@ 2012-03-08 10:38   ` Joerg Roedel
  0 siblings, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2012-03-08 10:38 UTC (permalink / raw)
  To: Jan Beulich; +Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

On Thu, Mar 08, 2012 at 08:58:13AM +0000, Jan Beulich wrote:
> This function is called from enable_iommus(), which in turn is used
> from amd_iommu_resume().
> 
> Signed-off-by: Jan Beulich <jbeulich-IBi9RG/b67k@public.gmane.org>
> 
> ---
>  drivers/iommu/amd_iommu_init.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- 3.3-rc6/drivers/iommu/amd_iommu_init.c
> +++ 3.3-rc6-amd-iommu-sections/drivers/iommu/amd_iommu_init.c
> @@ -275,7 +275,7 @@ static void iommu_set_exclusion_range(st
>  }
>  
>  /* Programs the physical address of the device table into the IOMMU hardware */
> -static void __init iommu_set_device_table(struct amd_iommu *iommu)
> +static void iommu_set_device_table(struct amd_iommu *iommu)
>  {
>  	u64 entry;

Applied to iommu/fixes, thanks Jan.

-- 
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-08 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08  8:58 [PATCH] AMD IOMMU: iommu_set_device_table() must not be __init Jan Beulich
     [not found] ` <4F5882B502000078000770CE-ce6RLXgGx+vWGUEhTRrCg1aTQe2KTcn/@public.gmane.org>
2012-03-08 10:38   ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).