time.c (ce0091a0e06045e70c526c8735f8b866a85e0a45) | time.c (e6f6390ab7b9d649c13de2c8a591bce61a10ec3b) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 1991, 1992, 1995 Linus Torvalds 4 * 5 * Adapted for PowerPC (PReP) by Gary Thomas 6 * Modified by Cort Dougan (cort@cs.nmt.edu). 7 * Copied and modified from arch/i386/kernel/time.c 8 * --- 7 unchanged lines hidden (view full) --- 16#include <linux/interrupt.h> 17#include <linux/time.h> 18#include <linux/timex.h> 19#include <linux/kernel_stat.h> 20#include <linux/mc146818rtc.h> 21#include <linux/init.h> 22#include <linux/bcd.h> 23#include <linux/ioport.h> | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 1991, 1992, 1995 Linus Torvalds 4 * 5 * Adapted for PowerPC (PReP) by Gary Thomas 6 * Modified by Cort Dougan (cort@cs.nmt.edu). 7 * Copied and modified from arch/i386/kernel/time.c 8 * --- 7 unchanged lines hidden (view full) --- 16#include <linux/interrupt.h> 17#include <linux/time.h> 18#include <linux/timex.h> 19#include <linux/kernel_stat.h> 20#include <linux/mc146818rtc.h> 21#include <linux/init.h> 22#include <linux/bcd.h> 23#include <linux/ioport.h> |
24#include <linux/of_address.h> |
|
24 25#include <asm/io.h> 26#include <asm/nvram.h> | 25 26#include <asm/io.h> 27#include <asm/nvram.h> |
27#include <asm/prom.h> | |
28#include <asm/sections.h> 29#include <asm/time.h> 30 31#include <platforms/chrp/chrp.h> 32 33#define NVRAM_AS0 0x74 34#define NVRAM_AS1 0x75 35#define NVRAM_DATA 0x77 --- 124 unchanged lines hidden --- | 28#include <asm/sections.h> 29#include <asm/time.h> 30 31#include <platforms/chrp/chrp.h> 32 33#define NVRAM_AS0 0x74 34#define NVRAM_AS1 0x75 35#define NVRAM_DATA 0x77 --- 124 unchanged lines hidden --- |