public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Matthew Wilcox <willy@debian.org>
Cc: Linus Torvalds <torvalds@transmeta.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [RESEND 6] sysctls for PA-RISC
Date: Tue, 18 Feb 2003 08:29:34 +0100	[thread overview]
Message-ID: <20030218072933.GA149@elf.ucw.cz> (raw)
In-Reply-To: <20030216190930.B6290@parcelfarce.linux.theplanet.co.uk>

Hi!

> Can anyone think why Linus isn't applying this patch?  He won't tell
> me what's wrong with it, and I'm getting frustrated by the silence.
> 
> Add two new sysctls.  The first one handles the soft-power switch
> and the second describes what to do when we get an unaligned trap.

Perhaps that soft-power thingie should be done in a generic way? Any
modern pc has soft-power, too...
								Pavel

> --- linus-2.5/include/linux/sysctl.h	Sun Jan  5 11:03:43 2003
> +++ parisc-2.5/include/linux/sysctl.h	Sun Jan  5 11:23:43 2003
> @@ -129,6 +129,8 @@ enum
>  	KERN_CADPID=54,		/* int: PID of the process to notify on CAD */
>  	KERN_PIDMAX=55,		/* int: PID # limit */
>    	KERN_CORE_PATTERN=56,	/* string: pattern for core-file names */
> +	KERN_HPPA_PWRSW=57,	/* int: hppa soft-power enable */
> +	KERN_HPPA_UNALIGNED=58,	/* int: hppa unaligned-trap enable */
>  };
>  
>  
> --- linus-2.5/kernel/sysctl.c	Sun Jan  5 11:03:50 2003
> +++ parisc-2.5/kernel/sysctl.c	Sun Jan  5 11:23:55 2003
> @@ -84,6 +84,11 @@ extern char reboot_command [];
>  extern int stop_a_enabled;
>  #endif
>  
> +#ifdef __hppa__
> +extern int pwrsw_enabled;
> +extern int unaligned_enabled;
> +#endif
> +
>  #ifdef CONFIG_ARCH_S390
>  #ifdef CONFIG_MATHEMU
>  extern int sysctl_ieee_emulation_warnings;
> @@ -188,6 +193,12 @@ static ctl_table kern_table[] = {
>  	{KERN_SPARC_REBOOT, "reboot-cmd", reboot_command,
>  	 256, 0644, NULL, &proc_dostring, &sysctl_string },
>  	{KERN_SPARC_STOP_A, "stop-a", &stop_a_enabled, sizeof (int),
> +	 0644, NULL, &proc_dointvec},
> +#endif
> +#ifdef __hppa__
> +	{KERN_HPPA_PWRSW, "soft-power", &pwrsw_enabled, sizeof (int),
> +	 0644, NULL, &proc_dointvec},
> +	{KERN_HPPA_UNALIGNED, "unaligned-trap", &unaligned_enabled, sizeof (int),
>  	 0644, NULL, &proc_dointvec},
>  #endif
>  #if defined(CONFIG_PPC32) && defined(CONFIG_6xx)
> 

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

      parent reply	other threads:[~2003-02-21 21:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-16 19:09 [PATCH] [RESEND 6] sysctls for PA-RISC Matthew Wilcox
2003-02-17  1:42 ` Rik van Riel
2003-02-17 11:39   ` Russell King
2003-02-18  7:29 ` Pavel Machek [this message]

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=20030218072933.GA149@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    --cc=willy@debian.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