Skip to contentSkip to conversation

sysdev: fix missing s390 conversion

PATCH New Heiko Carstens 1 participant 1 message Feb 12, 2010 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sysdev: fix missing s390 conversion

From: Heiko Carstens <[email protected]>

In linux-next "sysdev: Pass attribute in sysdev_class attributes show/store" forgot to convert one place in s390 code. Here is the missing part.

Cc Andi Kleen <[email protected]>
Cc Martin Schwidefsky <[email protected]>
---
 arch/s390/kernel/smp.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/s390/kernel/smp.c +3 -1
@@ -1033,7 +1033,9 @@ static ssize_t __ref rescan_store(struct
 static SYSDEV_CLASS_ATTR(rescan, 0200, NULL, rescan_store);
 #endif /* CONFIG_HOTPLUG_CPU */
 
-static ssize_t dispatching_show(struct sysdev_class *class, char *buf)
+static ssize_t dispatching_show(struct sysdev_class *class,
+				struct sysdev_class_attribute *attr,
+				char *buf)
 {
 	ssize_t count;