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
On Mon, May 27, 2002 at 07:21:56PM +0200, Pavel Machek wrote:
> 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.


/David Weinehall
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </
-
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.050 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site