grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix grub_cpu_idle() declaration


From: Robert Millan
Subject: Re: [PATCH] Fix grub_cpu_idle() declaration
Date: Thu, 6 Dec 2007 12:50:57 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

My mistake.  Please check that in..

On Fri, Nov 23, 2007 at 09:53:06PM -0500, Pavel Roskin wrote:
> ChangeLog:
> 
>       * include/grub/i386/time.h: use "void" in the argument list
>       of grub_cpu_idle().
>       * include/grub/powerpc/time.h: Likewise.
>       * include/grub/sparc64/time.h: Likewise.
> 
> Index: include/grub/i386/time.h
> ===================================================================
> RCS file: /cvsroot/grub/grub2/include/grub/i386/time.h,v
> retrieving revision 1.2
> diff -u -p -r1.2 time.h
> --- include/grub/i386/time.h  5 Nov 2007 14:54:00 -0000       1.2
> +++ include/grub/i386/time.h  24 Nov 2007 02:34:37 -0000
> @@ -20,7 +20,7 @@
>  #define KERNEL_CPU_TIME_HEADER       1
>  
>  static __inline void
> -grub_cpu_idle ()
> +grub_cpu_idle (void)
>  {
>    /* FIXME: this can't work untill we handle interrupts.  */
>  /*  __asm__ __volatile__ ("hlt"); */
> Index: include/grub/powerpc/time.h
> ===================================================================
> RCS file: /cvsroot/grub/grub2/include/grub/powerpc/time.h,v
> retrieving revision 1.1
> diff -u -p -r1.1 time.h
> --- include/grub/powerpc/time.h       22 Oct 2007 20:02:16 -0000      1.1
> +++ include/grub/powerpc/time.h       24 Nov 2007 02:34:37 -0000
> @@ -20,7 +20,7 @@
>  #define KERNEL_CPU_TIME_HEADER       1
>  
>  static __inline void
> -grub_cpu_idle ()
> +grub_cpu_idle (void)
>  {
>    /* FIXME: not implemented */
>  }
> Index: include/grub/sparc64/time.h
> ===================================================================
> RCS file: /cvsroot/grub/grub2/include/grub/sparc64/time.h,v
> retrieving revision 1.1
> diff -u -p -r1.1 time.h
> --- include/grub/sparc64/time.h       22 Oct 2007 20:02:16 -0000      1.1
> +++ include/grub/sparc64/time.h       24 Nov 2007 02:34:37 -0000
> @@ -20,7 +20,7 @@
>  #define KERNEL_CPU_TIME_HEADER       1
>  
>  static __inline void
> -grub_cpu_idle ()
> +grub_cpu_idle (void)
>  {
>    /* FIXME: not implemented */
>  }
> 
> 
> -- 
> Regards,
> Pavel Roskin
> 
> 
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
> 

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]