| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: SGI XFS on ppc |
| From: | Thomas Graichen <news-innominate.list.sgi.xfs@xxxxxxxxxxxxx> |
| Date: | 3 Aug 2000 14:37:54 GMT |
| Distribution: | local |
| Organization: | innominate AG, Berlin, Germany |
| References: | <news-innominate.list.sgi.xfs@innominate.de> <200008031342.IAA31394@jen.americas.sgi.com> <news2mail-8mbv8l$21d$1@mate.bln.innominate.de> |
| Reply-to: | Thomas Graichen <graichen@xxxxxxxxxxxxx> |
| Reply-to: | thomas.graichen@xxxxxxxxxxxxx |
| Sender: | owner-linux-xfs-announce@xxxxxxxxxxx |
| User-agent: | tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-local (i586)) |
Thomas Graichen <news-innominate.list.sgi.xfs@xxxxxxxxxxxxx> wrote:
>> unsigned int i;
>>
>> for (i = 0; i < 64; i++) {
>> printf("Mask %d is 0x%llx", ~(1LL << i));
>> }
i think the last one was wrong - i assume you were thinking of
printf("Mask %d is 0x%llx", i, ~(1LL << i));
instead of the above - then it works fine in userland - with or
without the (long long) before the i
...
Mask 31 is 0xffffffff7fffffff
Mask 32 is 0xfffffffeffffffff
Mask 33 is 0xfffffffdffffffff
Mask 34 is 0xfffffffbffffffff
...
also adding the (long long) before f in the kernel does not change
anything ... the MIPS_SIM thing will follow ...
t
--
thomas.graichen@xxxxxxxxxxxxx
Technical Director innominate AG
Clustering & Security networking people
tel: +49.30.308806-13 fax: -77 web: http://innominate.de
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: SGI XFS on ppc, Thomas Graichen |
|---|---|
| Next by Date: | Re: SGI XFS on ppc, Thomas Graichen |
| Previous by Thread: | Re: SGI XFS on ppc, Thomas Graichen |
| Next by Thread: | Re: SGI XFS on ppc, Thomas Graichen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |