Re: [PATCH] x86: sysfs - kill owner field from attribute

From: Parag Warudkar
Date: Tue Sep 09 2008 - 19:35:43 EST


On Tue, Sep 9, 2008 at 7:26 PM, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> The patch was wordwrapped - please fix that up before sending any more
> patches.

Yep, sorry. Fighting with git-send-email right now - once I win
hopefully there will be no more trouble.

> This is simpler, no?

Yes, of course. Thanks.

>
> --- a/include/linux/sysfs.h~x86-sysfs-kill-owner-field-from-attribute-fix
> +++ a/include/linux/sysfs.h
> @@ -27,7 +27,7 @@ struct module;
> */
> struct attribute {
> const char *name;
> -#if !defined(CONFIG_X86_64) && !defined(CONFIG_X86_32)
> +#ifndef CONFIG_X86
> struct module *owner;
> #endif
> mode_t mode;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/