sal.c (976e3645923bdd2fe7893aae33fd7a21098bfb28) sal.c (b3545192e2b4647234254c5122f8cbfddbcbdaa0)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * System Abstraction Layer (SAL) interface routines.
4 *
5 * Copyright (C) 1998, 1999, 2001, 2003 Hewlett-Packard Co
6 * David Mosberger-Tang <davidm@hpl.hp.com>
7 * Copyright (C) 1999 VA Linux Systems
8 * Copyright (C) 1999 Walt Drummond <drummond@valinux.com>

--- 4 unchanged lines hidden (view full) ---

13#include <linux/module.h>
14#include <linux/spinlock.h>
15#include <linux/string.h>
16
17#include <asm/delay.h>
18#include <asm/page.h>
19#include <asm/sal.h>
20#include <asm/pal.h>
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * System Abstraction Layer (SAL) interface routines.
4 *
5 * Copyright (C) 1998, 1999, 2001, 2003 Hewlett-Packard Co
6 * David Mosberger-Tang <davidm@hpl.hp.com>
7 * Copyright (C) 1999 VA Linux Systems
8 * Copyright (C) 1999 Walt Drummond <drummond@valinux.com>

--- 4 unchanged lines hidden (view full) ---

13#include <linux/module.h>
14#include <linux/spinlock.h>
15#include <linux/string.h>
16
17#include <asm/delay.h>
18#include <asm/page.h>
19#include <asm/sal.h>
20#include <asm/pal.h>
21#include <asm/xtp.h>
21
22 __cacheline_aligned DEFINE_SPINLOCK(sal_lock);
23unsigned long sal_platform_features;
24
25unsigned short sal_revision;
26unsigned short sal_version;
27
28#define SAL_MAJOR(x) ((x) >> 8)

--- 371 unchanged lines hidden ---
22
23 __cacheline_aligned DEFINE_SPINLOCK(sal_lock);
24unsigned long sal_platform_features;
25
26unsigned short sal_revision;
27unsigned short sal_version;
28
29#define SAL_MAJOR(x) ((x) >> 8)

--- 371 unchanged lines hidden ---