public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sid Boyce <sboyce@blueyonder.co.uk>
To: "K.R. Foley" <kr@cybsft.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm2-V0.7.7
Date: Thu, 04 Nov 2004 00:00:25 +0000	[thread overview]
Message-ID: <41897119.6030607@blueyonder.co.uk> (raw)
In-Reply-To: <41892899.6080400@cybsft.com>

K.R. Foley wrote:
> Sid Boyce wrote:
> 
>>   CHK     include/linux/version.h
>>   UPD     include/linux/version.h
>>   SYMLINK include/asm -> include/asm-x86_64
>> scripts/kconfig/conf -s arch/x86_64/Kconfig
>> #
>> # using defaults found in .config
>> #
>>   SPLIT   include/linux/autoconf.h -> include/config/*
>>   CC      /usr/src/linux-2.6.10-rc1-mm2-RT-V0.7.7/include/asm/offsets.s
>> In file included from include/asm/timex.h:12,
>>                  from include/linux/timex.h:61,
>>                  from include/linux/sched.h:11,
>>                  from 
>> /usr/src/linux-2.6.10-rc1-mm2-RT-V0.7.7/include/asm/offsets.c:7:
>> include/asm/vsyscall.h:55: error: conflicting types for `xtime_lock'
>> include/linux/time.h:83: error: previous declaration of `xtime_lock'
>> make[1]: *** 
>> [/usr/src/linux-2.6.10-rc1-mm2-RT-V0.7.7/include/asm/offsets.s] Error 1
>> make: *** [prepare0] Error 2
>>
>> Regards
>> Sid.
> 
> 
> You could try this untested patch that seems to follow Ingo's thinking 
> for similar changes.
> 
> kr
> 
> --- linux-2.6.10-rc1-mm2/include/asm-x86_64/vsyscall.h.orig 2004-11-03 
> 12:43:03.966625798 -0600
> +++ linux-2.6.10-rc1-mm2/include/asm-x86_64/vsyscall.h  2004-11-03 
> 12:44:19.430558964 -0600
> @@ -45,14 +45,14 @@
>  extern volatile unsigned long __jiffies;
>  extern unsigned long __wall_jiffies;
>  extern struct timezone __sys_tz;
> -extern seqlock_t __xtime_lock;
> +extern raw_seqlock_t __xtime_lock;
> 
>  /* kernel space (writeable) */
>  extern struct vxtime_data vxtime;
>  extern unsigned long wall_jiffies;
>  extern struct timezone sys_tz;
>  extern int sysctl_vsyscall;
> -extern seqlock_t xtime_lock;
> +extern raw_seqlock_t xtime_lock;
> 
>  #define ARCH_HAVE_XTIME_LOCK 1
> 
> 
> 
Applied patch and getting the following error.

arch/x86_64/kernel/time.c:808: warning: passing arg 2 of `__writel' 
makes pointer from integer without a cast
arch/x86_64/kernel/time.c: In function `hpet_init':
arch/x86_64/kernel/time.c:826: warning: passing arg 1 of `__readl' makes 
pointer from integer without a cast
arch/x86_64/kernel/time.c:832: warning: passing arg 1 of `__readl' makes 
pointer from integer without a cast
arch/x86_64/kernel/time.c: In function `time_init_smp':
arch/x86_64/kernel/time.c:941: warning: passing arg 1 of `__readl' makes 
pointer from integer without a cast
arch/x86_64/kernel/time.c: In function `hpet_rtc_timer_init':
arch/x86_64/kernel/time.c:1072: warning: passing arg 1 of `__readl' 
makes pointer from integer without a cast
arch/x86_64/kernel/time.c:1074: warning: passing arg 2 of `__writel' 
makes pointer from integer without a cast
arch/x86_64/kernel/time.c:1077: warning: passing arg 1 of `__readl' 
makes pointer from integer without a cast
arch/x86_64/kernel/time.c:1079: warning: passing arg 2 of `__writel' 
makes pointer from integer without a cast
arch/x86_64/kernel/time.c: In function `hpet_rtc_timer_reinit':
arch/x86_64/kernel/time.c:1097: warning: passing arg 1 of `__readl' 
makes pointer from integer without a cast
arch/x86_64/kernel/time.c:1099: warning: passing arg 2 of `__writel' 
makes pointer from integer without a cast
arch/x86_64/kernel/time.c:1101: warning: passing arg 1 of `__readl' 
makes pointer from integer without a cast
arch/x86_64/kernel/time.c:1103: warning: passing arg 2 of `__writel' 
makes pointer from integer without a cast
   CC      arch/x86_64/kernel/ioport.o
   CC      arch/x86_64/kernel/ldt.o
   CC      arch/x86_64/kernel/setup.o
   CC      arch/x86_64/kernel/i8259.o
   CC      arch/x86_64/kernel/sys_x86_64.o
   CC      arch/x86_64/kernel/x8664_ksyms.o
   CC      arch/x86_64/kernel/i387.o
   CC      arch/x86_64/kernel/syscall.o
   CC      arch/x86_64/kernel/vsyscall.o
In file included from arch/x86_64/kernel/vsyscall.c:50:
include/asm/io.h: In function `memset_io':
include/asm/io.h:265: warning: implicit declaration of function `memset'
arch/x86_64/kernel/vsyscall.c: At top level:
arch/x86_64/kernel/vsyscall.c:56: error: conflicting types for 
`__xtime_lock'
include/asm/vsyscall.h:48: error: previous declaration of `__xtime_lock'
arch/x86_64/kernel/vsyscall.c: In function `do_vgettimeofday':
arch/x86_64/kernel/vsyscall.c:92: warning: passing arg 1 of `__readl' 
makes pointer from integer without a cast
make[1]: *** [arch/x86_64/kernel/vsyscall.o] Error 1
make: *** [arch/x86_64/kernel] Error 2
Regards
id.

-- 
Sid Boyce .... Hamradio G3VBV and keen Flyer
=====LINUX ONLY USED HERE=====

  reply	other threads:[~2004-11-04  0:07 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03 17:08 [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm2-V0.7.7 Sid Boyce
2004-11-03 18:51 ` K.R. Foley
2004-11-04  0:00   ` Sid Boyce [this message]
2004-11-04  1:40     ` K.R. Foley
2004-11-04  9:59       ` Michael J. Cohen
2004-11-04 10:06       ` Ingo Molnar
2004-11-04 10:23         ` Michael J. Cohen
2004-11-04 11:17           ` Ingo Molnar
2004-11-04 11:17           ` Michael J. Cohen
2004-11-04 11:45             ` Ingo Molnar
2004-11-04 12:59               ` Michael J. Cohen
2004-11-04 13:34                 ` Michael J. Cohen
2004-11-04 14:05                   ` Ingo Molnar
2004-11-04 14:13                     ` Michael J. Cohen
2004-11-04 14:23                       ` Ingo Molnar
2004-11-04 18:31                         ` Michael J. Cohen
2004-11-04 19:38                           ` Ingo Molnar
2004-11-05 12:16                             ` Sid Boyce
2004-11-05 19:53                             ` Michael J. Cohen
2004-11-06  7:36                               ` Ingo Molnar
2004-11-04 12:53         ` Sid Boyce
  -- strict thread matches above, loose matches on Subject: below --
2004-11-03 20:40 [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm2-V0.7.1 Mark_H_Johnson
2004-11-04  0:17 ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm2-V0.7.7 Rui Nuno Capela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41897119.6030607@blueyonder.co.uk \
    --to=sboyce@blueyonder.co.uk \
    --cc=kr@cybsft.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox