diff options
author | laroche <laroche> | 2001-07-20 08:15:58 +0000 |
---|---|---|
committer | laroche <laroche> | 2001-07-20 08:15:58 +0000 |
commit | 86ca65a820766e87817a9045143e3d1b7ad3c917 (patch) | |
tree | 0831835438448c188fa667d47a183a7ee5997b04 /isys | |
parent | 28a046bd21960576b3c1628b75e6f19a4e039046 (diff) | |
download | anaconda-86ca65a820766e87817a9045143e3d1b7ad3c917.tar.gz anaconda-86ca65a820766e87817a9045143e3d1b7ad3c917.tar.xz anaconda-86ca65a820766e87817a9045143e3d1b7ad3c917.zip |
remove some bloat for non-s390 machines
Diffstat (limited to 'isys')
-rw-r--r-- | isys/isys.c | 3 | ||||
-rw-r--r-- | isys/probe.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/isys/isys.c b/isys/isys.c index 17b48c72b..b787f2b92 100644 --- a/isys/isys.c +++ b/isys/isys.c @@ -862,7 +862,10 @@ static PyObject * probedListScsi(probedListObject * o, PyObject * args) { static PyObject * probedListDasd(probedListObject * o, PyObject * args) { if (!PyArg_ParseTuple(args, "")) return NULL; + +#if defined (__s390__) || defined (__s390x__) kdFindDasdList(&o->list, 0); +#endif Py_INCREF(Py_None); return Py_None; diff --git a/isys/probe.c b/isys/probe.c index 149a73a3b..39438a1e8 100644 --- a/isys/probe.c +++ b/isys/probe.c @@ -403,6 +403,7 @@ bye: return val; } +#if defined (__s390__) || defined (__s390x__) int kdFindDasdList(struct knownDevices * devices, int code) { /* patch for s390 by Oliver Paukstadt <oliver.paukstadt@millenux.com> */ /* based upon code by Erik Tews <erik.tews@gmx.net> */ @@ -439,6 +440,7 @@ int kdFindDasdList(struct knownDevices * devices, int code) { sortDevices); return 0; } +#endif struct knownDevices kdInit(void) { struct knownDevices kd; |