lkml.org 
[lkml]   [2010]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/10] x86/iommu: Add IOMMU_INIT macros, .iommu_table section, and iommu_table_entry structure.
> diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
> index d0bb522..b92e040 100644
> --- a/arch/x86/kernel/vmlinux.lds.S
> +++ b/arch/x86/kernel/vmlinux.lds.S
> @@ -260,6 +260,13 @@ SECTIONS
> *(.altinstr_replacement)
> }
>
> + .iommu_table : AT(ADDR(.iommu_table) - LOAD_OFFSET) {
> + __iommu_table = .;
> + *(.iommu_table)
> + . = ALIGN(8);
> + __iommu_table_end = .;
> + }
> +

So we have yet another magic section in vmlinux.lds.S
A nice comemnt that expalins what this is used for and why
it is discardable etc. would be nice.

Lots of magic sections in same file miss this,
but thats not an example to follwow.

Sam


\
 
 \ /
  Last update: 2010-08-26 20:21    [W:0.298 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site