All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] xchg/cmpxchg defined in wrong place?
@ 2000-12-30  5:12 Grant Grundler
  2000-12-30  6:41 ` Grant Grundler
  2000-12-30 16:46 ` Alan Cox
  0 siblings, 2 replies; 15+ messages in thread
From: Grant Grundler @ 2000-12-30  5:12 UTC (permalink / raw)
  To: parisc-linux

Hello Linux Kernel Guru's,

After surveying all the arches that define __HAVE_ARCH_CMPXCHG:

./include/asm-alpha/system.h:#define __HAVE_ARCH_CMPXCHG 1
./include/asm-i386/system.h:#define __HAVE_ARCH_CMPXCHG 1
./include/asm-ia64/system.h:#define __HAVE_ARCH_CMPXCHG 1
./include/asm-ppc/system.h:#define __HAVE_ARCH_CMPXCHG  1
./include/asm-sparc64/system.h:#define __HAVE_ARCH_CMPXCHG 1

I've come to the conclusion xchg/cmpxchg definitions do NOT
belong in system.h.  AFAICT, all the above use Load Linked semantics
(or in the i386 case, operation is atomic). In other words, xchg/cmpxchg
are atomic operations.  Shouldn't xchg/cmpxchg definitions live
with other atomic operations - asm/atomic.h?

Currently, parisc __xchg lives in arch/parisc/kernel/setup.c. There is no
way to inline xchg or cmpxchg for parisc at the moment. And given the
dependendencies between asm/system.h, asm/spinlock.h, and asm/atomic.h,
I'm not trying to inline them. Perhaps when the definitions formally move
to atomic.h (or other more appropriate place).

And to add insult to injury, drivers/char/drm/drmP.h (the only visible
consumer of __HAVE_ARCH_CMPXCHG) doesn't even explicitly include
asm/system.h!

thanks,
grant

^ permalink raw reply	[flat|nested] 15+ messages in thread
* dual boot
@ 2003-07-17 15:34 Anna G. Zapata
  2003-07-17 15:54 ` James Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Anna G. Zapata @ 2003-07-17 15:34 UTC (permalink / raw)
  To: Linux-Newbie

Hello all,

I would like to install RH 8.0 on my W2K laptop (a dual boot).  I entered
the installation program without a problem and finally came upon the
partioning section of the setup.  I clicked to use an automatic partition
and clicked next.  I was told that there wasn't enough disk space, but I
know that I have a little over 2G on the drive.  Does anyone have any
suggestions as to what I'm doing wrong?

Thanks.

Anna G. Zapata - GSEC, MCIS
University of Denver
University Technology Services - Network Security
(303) 871-2009 (phone)
(303) 871-4135 (fax)
azapata@du.edu (email)


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Dual Boot
@ 1999-04-01 18:12 William Bradley
  1999-04-01 18:20 ` Matthew Jacob
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: William Bradley @ 1999-04-01 18:12 UTC (permalink / raw)
  To: ultralinux

Is it possible to setup dual boot for Solaris and Linux with two
drives?  The Sun page gives instructions but only mentions partitioning
one drive.
Has anyone messed with this?

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2003-07-17 18:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-30  5:12 [parisc-linux] xchg/cmpxchg defined in wrong place? Grant Grundler
2000-12-30  6:41 ` Grant Grundler
2000-12-30 16:46 ` Alan Cox
2000-12-30 17:52   ` Grant Grundler
2000-12-31  1:55     ` Grant Grundler
2000-12-31  4:16       ` R P Herrold
2001-01-02  0:09         ` Dual Boot Grant Grundler
  -- strict thread matches above, loose matches on Subject: below --
2003-07-17 15:34 dual boot Anna G. Zapata
2003-07-17 15:54 ` James Miller
2003-07-17 18:30 ` Frank Roberts - SOTL
2003-07-17 18:57 ` Ray Olszewski
1999-04-01 18:12 Dual Boot William Bradley
1999-04-01 18:20 ` Matthew Jacob
1999-04-01 19:10 ` David Andrew - Sun MDE
1999-04-03 15:15 ` G.M.Sigut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.