mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 22:12:16 +00:00
[SPARC64]: Import OBP device tree into kernel data structures.
The basic framework is based on the PowerPC OF code. This code even tries to get the device addressing components correct in the full path names. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8fae097deb
commit
372b07bb5a
4 changed files with 626 additions and 1 deletions
|
@ -42,6 +42,7 @@
|
|||
#include <asm/sections.h>
|
||||
#include <asm/tsb.h>
|
||||
#include <asm/hypervisor.h>
|
||||
#include <asm/prom.h>
|
||||
|
||||
extern void device_scan(void);
|
||||
|
||||
|
@ -1339,6 +1340,8 @@ void __init paging_init(void)
|
|||
|
||||
kernel_physical_mapping_init();
|
||||
|
||||
prom_build_devicetree();
|
||||
|
||||
{
|
||||
unsigned long zones_size[MAX_NR_ZONES];
|
||||
unsigned long zholes_size[MAX_NR_ZONES];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue