lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1259175422-4628-1-git-send-email-graeme.smecher@mail.mcgill.ca>
Date:	Wed, 25 Nov 2009 10:57:02 -0800
From:	graeme.smecher@...l.mcgill.ca
To:	monstr@...str.eu
Cc:	linux-kernel@...r.kernel.org, microblaze-uclinux@...e.uq.edu.au,
	Graeme Smecher <graeme.smecher@...l.mcgill.ca>
Subject: [PATCH] microblaze: Add dev_archdata node accessors

From: Graeme Smecher <graeme.smecher@...l.mcgill.ca>

This syncs microblaze with powerpc and sparc architectures, which gained the
same accessors in Commit 3f3b1632022fcc8317fa3b3c1236471415b3a6b8.

Signed-off-by: Graeme Smecher <graeme.smecher@...l.mcgill.ca>
---
 arch/microblaze/include/asm/device.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/arch/microblaze/include/asm/device.h b/arch/microblaze/include/asm/device.h
index 30286db..b8f654d 100644
--- a/arch/microblaze/include/asm/device.h
+++ b/arch/microblaze/include/asm/device.h
@@ -16,6 +16,18 @@ struct dev_archdata {
 	struct device_node	*of_node;
 };
 
+static inline void dev_archdata_set_node(struct dev_archdata *ad,
+					 struct device_node *np)
+{
+	ad->of_node = np;
+}
+
+static inline struct device_node *
+dev_archdata_get_node(const struct dev_archdata *ad)
+{
+	return ad->of_node;
+}
+
 struct pdev_archdata {
 };
 
-- 
1.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ