LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 1/2] MN10300: Define HZ as a config option
@ 2008-02-15 13:27 David Howells
  2008-02-15 13:27 ` [PATCH 2/2] MN10300: Define SO_MARK David Howells
  0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2008-02-15 13:27 UTC (permalink / raw)
  To: torvalds, akpm; +Cc: linux-am33-list, linux-kernel, dhowells

Define HZ as a config option.

Signed-off-by: David Howells <dhowells@redhat.com>
---

 arch/mn10300/Kconfig        |    4 ++++
 include/asm-mn10300/param.h |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)


diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig
index eedc3a5..6a6409a 100644
--- a/arch/mn10300/Kconfig
+++ b/arch/mn10300/Kconfig
@@ -63,6 +63,10 @@ config GENERIC_HARDIRQS
 config HOTPLUG_CPU
 	def_bool n
 
+config HZ
+	int
+	default 1000
+
 mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
 
 source "init/Kconfig"
diff --git a/include/asm-mn10300/param.h b/include/asm-mn10300/param.h
index 54b883e..789b1df 100644
--- a/include/asm-mn10300/param.h
+++ b/include/asm-mn10300/param.h
@@ -12,7 +12,7 @@
 #define _ASM_PARAM_H
 
 #ifdef __KERNEL__
-#define HZ		1000		/* Internal kernel timer frequency */
+#define HZ		CONFIG_HZ	/* Internal kernel timer frequency */
 #define USER_HZ		100		/* .. some user interfaces are in
 					 * "ticks" */
 #define CLOCKS_PER_SEC	(USER_HZ)	/* like times() */


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

* [PATCH 2/2] MN10300: Define SO_MARK
  2008-02-15 13:27 [PATCH 1/2] MN10300: Define HZ as a config option David Howells
@ 2008-02-15 13:27 ` David Howells
  0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2008-02-15 13:27 UTC (permalink / raw)
  To: torvalds, akpm; +Cc: linux-am33-list, linux-kernel, dhowells

Define SO_MARK for MN10300.

Signed-off-by: David Howells <dhowells@redhat.com>
---

 include/asm-mn10300/socket.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/include/asm-mn10300/socket.h b/include/asm-mn10300/socket.h
index 99ca648..80af9c4 100644
--- a/include/asm-mn10300/socket.h
+++ b/include/asm-mn10300/socket.h
@@ -52,4 +52,6 @@
 #define SO_TIMESTAMPNS		35
 #define SCM_TIMESTAMPNS		SO_TIMESTAMPNS
 
+#define SO_MARK			36
+
 #endif /* _ASM_SOCKET_H */


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

end of thread, other threads:[~2008-02-15 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-15 13:27 [PATCH 1/2] MN10300: Define HZ as a config option David Howells
2008-02-15 13:27 ` [PATCH 2/2] MN10300: Define SO_MARK David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).