init_32.c (6206aa8b2b9a45b4cf3ee31b7209b014be349fd9) init_32.c (6943f3da3e64edd95ee2d33abc0a642357746ba6)
1/*
2 * init.c: Initialize internal variables used by the PROM
3 * library functions.
4 *
5 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
6 * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
7 */
8
9#include <linux/kernel.h>
10#include <linux/init.h>
1/*
2 * init.c: Initialize internal variables used by the PROM
3 * library functions.
4 *
5 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
6 * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
7 */
8
9#include <linux/kernel.h>
10#include <linux/init.h>
11#include <linux/module.h>
11
12#include <asm/openprom.h>
13#include <asm/oplib.h>
14
15struct linux_romvec *romvec;
12
13#include <asm/openprom.h>
14#include <asm/oplib.h>
15
16struct linux_romvec *romvec;
17EXPORT_SYMBOL(romvec);
18
16enum prom_major_version prom_vers;
17unsigned int prom_rev, prom_prev;
18
19/* The root node of the prom device tree. */
20int prom_root_node;
19enum prom_major_version prom_vers;
20unsigned int prom_rev, prom_prev;
21
22/* The root node of the prom device tree. */
23int prom_root_node;
24EXPORT_SYMBOL(prom_root_node);
21
22/* Pointer to the device tree operations structure. */
23struct linux_nodeops *prom_nodeops;
24
25/* You must call prom_init() before you attempt to use any of the
26 * routines in the prom library. It returns 0 on success, 1 on
27 * failure. It gets passed the pointer to the PROM vector.
28 */

--- 47 unchanged lines hidden ---
25
26/* Pointer to the device tree operations structure. */
27struct linux_nodeops *prom_nodeops;
28
29/* You must call prom_init() before you attempt to use any of the
30 * routines in the prom library. It returns 0 on success, 1 on
31 * failure. It gets passed the pointer to the PROM vector.
32 */

--- 47 unchanged lines hidden ---