20 Jun, 2006
1 commit
-
This ugly hack was long overdue to die.
It was a way to print out Sparc interrupts in a more freindly format,
since IRQ numbers were arbitrary opaque 32-bit integers which vectored
into PIL levels. These 32-bit integers were not necessarily in the
0-->NR_IRQS range, but the PILs they vectored to were.The idea now is that we will increase NR_IRQS a little bit and use a
virtualreal IRQ number mapping scheme similar to PowerPC.That makes this IRQ printing hack irrelevant, and furthermore only a
handful of drivers actually used __irq_itoa() making it even less
useful.Signed-off-by: David S. Miller
13 May, 2006
1 commit
-
Signed-off-by: Martin Habets
Signed-off-by: David S. Miller
22 Mar, 2006
1 commit
-
Make sure the callers do a pgprot_noncached() on
vma->vm_page_prot.Pointed out by Hugh Dickens.
Signed-off-by: David S. Miller
20 Mar, 2006
1 commit
-
Should allow cheetah_plus cpu types and don't taint
the kernel.Signed-off-by: David S. Miller
15 Jan, 2006
1 commit
-
tmp_buf_sem sems to be a common name for something completely unused...
Signed-off-by: Adrian Bunk
Acked-by: Greg Kroah-Hartman ("usb portion")
Signed-off-by: Linus Torvalds
16 Dec, 2005
3 commits
-
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
23 Nov, 2005
1 commit
-
"extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk
Signed-off-by: David S. Miller
13 Nov, 2005
1 commit
-
On Fri, Nov 11, 2005 at 12:58:40PM -0800, David S. Miller wrote:
>
> This change:
>
> diff-tree 8ca2bdc7a98b9584ac5f640761501405154171c7 (from feee207e44d3643d19e648aAuthor: Christoph Hellwig
> Date: Wed Nov 9 12:07:18 2005 -0800
>
> [SPARC] sbus rtc: implement ->compat_ioctl
>
> Signed-off-by: Christoph Hellwig
> Signed-off-by: David S. Miller
>
> results in the console now getting spewed on sparc64 systems
> with messages like:
>
> [ 11.968298] ioctl32(hwclock:464): Unknown cmd fd(3) cmd(401c7014){00} arg(efc
> What's happening is hwclock tries first the SBUS rtc device ioctls
> then the normal rtc driver ones.
>
> So things actually worked better when we had the SBUS rtc compat ioctl
> directly handled via the generic compat ioctl code.
>
> There are _so_ many rtc drivers in the kernel implementing the
> generic rtc ioctls that I don't think putting a ->compat_ioctl
> into all of them to fix this problem is feasible. Unless we
> write a single rtc_compat_ioctl(), export it to modules, and hook
> it into all of those somehow.
>
> But even that doesn't appear to have any pretty implementation.
>
> Any better ideas?We had similar problems with other ioctls where userspace did things
like that. What we did there was to put the compat handler to generic
code. The patch below does that, adding a big comment about what's
going on and removing the COMPAT_IOCTL entires for these on powerpc
that not only weren't ever useful but are duplicated now aswell.Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller
11 Nov, 2005
1 commit
-
Signed-off-by: Andrew Morton
Signed-off-by: David S. Miller
10 Nov, 2005
2 commits
-
Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller -
Noticed by Eric Brower.
Signed-off-by: David S. Miller
09 Nov, 2005
1 commit
-
Signed-off-by: David S. Miller
08 Nov, 2005
4 commits
-
Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller -
all ioctls are 32bit compat clean, so the driver can use ->compat_ioctl
and ->unlocked_ioctl easily.Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller -
implement a compat_ioctl handle in the driver instead of having table
entries in sparc64 ioctl32.c (I plan to get rid of the arch ioctl32.c
file eventually)Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller -
all the ioctls in the driver are 32bit compat clean and don't need BKL,
so we can switch it to ->unlocked_ioctl and ->compat_ioctl trivially.Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller
07 Nov, 2005
1 commit
-
This is the remaining misc drivers/ part of the big kfree cleanup patch.
Remove pointless checks for NULL prior to calling kfree() in misc files in
drivers/.Signed-off-by: Jesper Juhl
Acked-by: Aristeu Sergio Rozanski Filho
Acked-by: Roland Dreier
Acked-by: Pierre Ossman
Acked-by: Jean Delvare
Acked-by: Greg Kroah-Hartman
Acked-by: Len Brown
Acked-by: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
13 Sep, 2005
2 commits
-
Remove check_region references from comments and printk statements so that
searching for real users of this deprecated function gets easier.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Use schedule_timeout_uninterruptible() instead of
set_current_state()/schedule_timeout() to reduce kernel size.Signed-off-by: Nishanth Aravamudan
Signed-off-by: Andrew Morton
Signed-off-by: David S. Miller
11 Sep, 2005
1 commit
-
envctrl doesn't need unistd.h; moreover, since it declares errno static
gcc4 gets very unhappy about including unistd.h.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
10 Sep, 2005
1 commit
-
Clean up timer initialization by introducing DEFINE_TIMER a'la
DEFINE_SPINLOCK. Build and boot-tested on x86. A similar patch has been
been in the -RT tree for some time.Signed-off-by: Ingo Molnar
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
31 Aug, 2005
1 commit
-
And move some other stuff into drivers/sbus/char/Kconfig.
Signed-off-by: David S. Miller
10 Aug, 2005
4 commits
-
Fix thinko in Christoph's changes.
Signed-off-by: David S. Miller
-
The driver already depends on CONFIG_PCI in Kconfig.
Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller -
Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller -
envctrl currently uses very odd ways to stop a thread, using various
things that should be exposed to drivers at all.This patch (which is untested as I don't have sparc hardware) switches
it to use the proper kthread infrastructure.Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller
04 Aug, 2005
1 commit
-
Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller
25 Jul, 2005
5 commits
-
It needs to happen before any header includes because nowadays
some things implicitly include asm/unistd.h which ends up being
before the __KERNEL_SYSCALLS__ define gets done.Signed-off-by: David S. Miller
-
Use wait-queue directly instead of the deprecated sleep_on()
function. This required adding a local wait-queue. Also use new (added in
separate patch to K-J) usecs to jiffies function to convert value.Signed-off-by: Nishanth Aravamudan
Signed-off-by: Domen Puncer
Signed-off-by: David S. Miller -
Use msleep_interruptible() instead of schedule_timeout() to guarantee
the task delays as expected. Change the units of poll_interval to
msecs as it is only used in this delay.Signed-off-by: Nishanth Aravamudan
Signed-off-by: Domen Puncer
Signed-off-by: David S. Miller -
Use msleep_interruptible() instead of
schedule_timeout() to guarantee the task delays as expected.Signed-off-by: Nishanth Aravamudan
Signed-off-by: Maximilian Attems
Signed-off-by: Domen Puncer -
I can't see any effect of this option outside the i386-specific APM code.
Signed-off-by: Adrian Bunk
Signed-off-by: Andrew Morton
Signed-off-by: David S. Miller
05 Jul, 2005
1 commit
-
Use schedule_timeout() instead of sleep_on + timer. Totally untested
due to lack of hardware, but the changes are rather trivial.Signed-off-by: David S. Miller
16 May, 2005
1 commit
-
From: Christophe Lucas
min/max macros from kernel.h are safe, a lot of handcrafted MIN/MAX are
not.Signed-off-by: Christophe Lucas
Signed-off-by: Domen Puncer
25 Apr, 2005
1 commit
-
void * __iomem foo is not a pointer to iomem - it's an iomem variable
containing void *. A pile of such guys in arch/sparc64/kernel/time.c,
drivers/sbus/char/rtc.c and include/asm-sparc64/mostek.h turned into
intended void __iomem *.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
22 Apr, 2005
1 commit
-
Provide support for drivers/char/rtc.c ioctls in the
Mostek rtc driver as well as the Sparc specific RTCGET
and RTCSET.This allows userspace to be much less messy. Currently
util-linux and other spots jump through hoops trying
various ioctl variants until it hits the right one whatever
driver actually being used supports.Eventually all of this should move over to the genrtc.c
driver, but not today...While we are here, fix up the register types for sparse.
Thanks to Frans Pop for helping point out this issue.
Signed-off-by: David S. Miller
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!