lkml.org 
[lkml]   [2002]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: swsusp: fix compilation for other architectures
Hi!

> > Currently, on machine where suspend is not yet supported, compilation
> > fails even in case user did not actually requested suspend. This
> > "fixes" it -- compilation only fails when suspend is needed and not
> > supported. Please apply,
> > Pavel
> >
> > --- clean/include/asm-i386/suspend.h Sun May 26 19:32:03 2002
> > +++ linux-swsusp/include/asm-i386/suspend.h Mon May 27 19:11:25 2002
> > @@ -1,13 +1,8 @@
> > -#ifndef __ASM_I386_SUSPEND_H
> > -#define __ASM_I386_SUSPEND_H
> > -#endif
>
> You probably want to move the #endif to the end of the file instead of
> removing it; having #ifndef/#define/#endif-traps for all header-files is
> good practice.

Actually, I do not want to. This header file is somehow special, and
suspend.c needs special "private" part of it, too. I'll clean that up
later.

Pavel
--
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
-
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 13:26    [W:0.042 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site