lkml.org 
[lkml]   [2004]   [Sep]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 12 Sep 2004 20:26:38 -0400
FromJeff Garzik <>
SubjectRe: Add sparse "__iomem" infrastructure to check PCI address usage
Linux Kernel Mailing List wrote:
> --- a/include/linux/compiler.h	2004-09-11 00:26:40 -07:00
> +++ b/include/linux/compiler.h	2004-09-11 00:26:40 -07:00
> @@ -6,13 +6,17 @@
>  # define __kernel	/* default address space */
>  # define __safe		__attribute__((safe))
>  # define __force	__attribute__((force))
> +# define __iomem	__attribute__((noderef, address_space(2)))

Dumb gcc attribute questions:

1) what does force do? it doesn't appear to be in gcc 3.3.3 docs.

2) is "volatile ... __force" redundant?

3) can we use 'malloc' attribute on kmalloc?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2008