Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
5c427819
Commit
5c427819
authored
Jan 15, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pp64: move BUG into asm/bug.h
parent
1b46b7b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
16 deletions
+22
-16
include/asm-ppc64/bug.h
include/asm-ppc64/bug.h
+22
-0
include/asm-ppc64/page.h
include/asm-ppc64/page.h
+0
-16
No files found.
include/asm-ppc64/bug.h
0 → 100644
View file @
5c427819
#ifndef _PPC64_BUG_H
#define _PPC64_BUG_H
#include <linux/config.h>
#ifdef CONFIG_XMON
struct
pt_regs
;
extern
void
xmon
(
struct
pt_regs
*
excp
);
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
xmon(0); \
} while (0)
#else
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
__asm__ __volatile__(".long " BUG_ILLEGAL_INSTR); \
} while (0)
#endif
#define PAGE_BUG(page) do { BUG(); } while (0)
#endif
include/asm-ppc64/page.h
View file @
5c427819
...
...
@@ -103,22 +103,6 @@ typedef unsigned long pgprot_t;
#endif
#ifdef CONFIG_XMON
#include <asm/ptrace.h>
extern
void
xmon
(
struct
pt_regs
*
excp
);
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
xmon(0); \
} while (0)
#else
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
__asm__ __volatile__(".long " BUG_ILLEGAL_INSTR); \
} while (0)
#endif
#define PAGE_BUG(page) do { BUG(); } while (0)
/* Pure 2^n version of get_order */
static
inline
int
get_order
(
unsigned
long
size
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment